Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009202/0.009202, allocations: 176 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.851/1.851, allocations: 194.5 MB / 210.3 MB, free: 7.621 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001912/0.001913, allocations: 120.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2209/0.2209, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000756/0.0007557, allocations: 13.72 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1423, allocations: 54.88 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.639/9.782, allocations: 3.686 GB / 4.136 GB, free: 113.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/9.782, allocations: 87.31 kB / 4.136 GB, free: 113.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.032/16.81, allocations: 1.459 GB / 5.596 GB, free: 25.87 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.236e-06/16.81, allocations: 0 / 5.596 GB, free: 25.87 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003864/16.81, allocations: 69.09 kB / 5.596 GB, free: 25.86 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.04788/16.86, allocations: 7.531 MB / 5.603 GB, free: 21.64 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/16.86, allocations: 9.969 kB / 5.603 GB, free: 21.64 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/16.87, allocations: 285.2 kB / 5.604 GB, free: 21.52 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006729/16.87, allocations: 1.632 MB / 5.605 GB, free: 21.06 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/16.87, allocations: 152 kB / 5.605 GB, free: 21.05 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009873/16.87, allocations: 183 kB / 5.605 GB, free: 21.05 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007571/16.88, allocations: 3.146 MB / 5.609 GB, free: 20.81 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.642e-05/16.88, allocations: 0 / 5.609 GB, free: 20.81 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003882/16.88, allocations: 83.42 kB / 5.609 GB, free: 20.81 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003154/16.88, allocations: 185.9 kB / 5.609 GB, free: 20.81 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007158/16.89, allocations: 3.515 MB / 5.612 GB, free: 20.79 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0285/16.92, allocations: 11.99 MB / 5.624 GB, free: 16.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004035/16.92, allocations: 1.622 MB / 5.626 GB, free: 16.02 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002388/16.92, allocations: 1.754 MB / 5.627 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.39e-05/16.92, allocations: 50.28 kB / 5.627 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003261/16.93, allocations: 317.4 kB / 5.628 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=157): time 1.181e-05/16.93, allocations: 0 / 5.628 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=169): time 0.03134/16.96, allocations: 8.971 MB / 5.636 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/16.96, allocations: 201 kB / 5.637 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/16.96, allocations: 1.441 MB / 5.638 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003451/16.96, allocations: 61.8 kB / 5.638 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007557/16.96, allocations: 1.016 MB / 5.639 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006888/16.96, allocations: 0.5948 MB / 5.64 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/16.96, allocations: 45.81 kB / 5.64 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001642/16.96, allocations: 397.5 kB / 5.64 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002333/16.97, allocations: 1.19 MB / 5.641 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002677/16.97, allocations: 1.723 MB / 5.643 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/16.97, allocations: 1.474 MB / 5.644 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/16.97, allocations: 3.625 kB / 5.644 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01076/16.98, allocations: 4.041 MB / 5.648 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001586/16.98, allocations: 5.926 MB / 5.654 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.638e-05/16.98, allocations: 15.06 kB / 5.654 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007842/16.99, allocations: 1.33 MB / 5.655 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003489/17, allocations: 0.548 MB / 5.656 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004024/17, allocations: 2.136 MB / 5.658 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004918/17.01, allocations: 200.1 kB / 5.658 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/17.01, allocations: 178 kB / 5.658 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/17.01, allocations: 4.406 kB / 5.658 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0131/17.02, allocations: 3.786 MB / 5.662 GB, free: 316 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/17.02, allocations: 11.78 kB / 5.662 GB, free: 316 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005579/17.03, allocations: 0.9629 MB / 5.663 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/17.03, allocations: 0.5528 MB / 5.664 GB, free: 112 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/17.03, allocations: 1.918 MB / 5.665 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004243/17.04, allocations: 201 kB / 5.666 GB, free: 14.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/17.04, allocations: 186.2 kB / 5.666 GB, free: 14.68 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (271): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.003239/17.04, allocations: 0.6433 MB / 5.666 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/17.04, allocations: 200.8 kB / 5.667 GB, free: 14.16 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/17.05, allocations: 4.012 MB / 5.67 GB, free: 10.95 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/17.05, allocations: 20 kB / 5.671 GB, free: 10.93 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.257e-05/17.05, allocations: 3.953 kB / 5.671 GB, free: 10.93 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.906e-05/17.05, allocations: 11.2 kB / 5.671 GB, free: 10.93 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/17.07, allocations: 5.66 MB / 5.676 GB, free: 6.293 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/17.07, allocations: 4 kB / 5.676 GB, free: 6.289 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/17.07, allocations: 337.1 kB / 5.676 GB, free: 6.012 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006676/17.08, allocations: 1.175 MB / 5.678 GB, free: 5.145 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005417/17.08, allocations: 71.11 kB / 5.678 GB, free: 5.086 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003464/17.08, allocations: 2.067 MB / 5.68 GB, free: 3.137 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/17.08, allocations: 4 kB / 5.68 GB, free: 3.133 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01811/17.1, allocations: 5.162 MB / 5.685 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/17.1, allocations: 320.7 kB / 5.685 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/17.11, allocations: 47.52 kB / 5.685 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003911/17.11, allocations: 153 kB / 5.685 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007125/17.11, allocations: 141.9 kB / 5.685 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007819/17.11, allocations: 123.4 kB / 5.685 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003782/17.12, allocations: 1.102 MB / 5.686 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.2e-07/17.12, allocations: 0 / 5.686 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01977/17.13, allocations: 3.174 MB / 5.69 GB, free: 11.27 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02249/17.16, allocations: 4.231 MB / 5.694 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01801/17.18, allocations: 4.824 MB / 5.698 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-05/17.18, allocations: 4 kB / 5.698 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004703/17.18, allocations: 1.357 MB / 5.7 GB, free: 2.586 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008457/17.19, allocations: 1.038 MB / 5.701 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.691/17.88, allocations: 5.55 MB / 5.706 GB, free: 52.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00212/17.88, allocations: 1.713 MB / 5.708 GB, free: 51.35 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.006915/17.89, allocations: 1.212 MB / 5.709 GB, free: 51.33 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/17.89, allocations: 261.2 kB / 5.709 GB, free: 51.33 MB / 0.5886 GB Notification: Performance of SimCode: time 2.675e-06/17.89, allocations: 2.719 kB / 5.709 GB, free: 51.33 MB / 0.5886 GB Notification: Performance of Templates: time 0.1964/18.09, allocations: 101 MB / 5.808 GB, free: 45.84 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1)