Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.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.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001675/0.001675, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.582/1.582, allocations: 194.4 MB / 202.4 MB, free: 12.96 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.0018/0.0018, allocations: 112 kB / 247.4 MB, free: 15.96 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.1913/0.1913, allocations: 39.96 MB / 332.2 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.276e-05/1.279e-05, allocations: 0 / 393.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2738, allocations: 54.87 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.472/7.746, allocations: 2.663 GB / 3.101 GB, free: 101.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/7.747, allocations: 78.83 kB / 3.101 GB, free: 101.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.04/9.787, allocations: 495.8 MB / 3.585 GB, free: 42.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.572e-06/9.787, allocations: 0 / 3.585 GB, free: 42.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001027/9.787, allocations: 49.17 kB / 3.585 GB, free: 42.41 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01082/9.798, allocations: 2.977 MB / 3.588 GB, free: 41.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/9.798, allocations: 6.938 kB / 3.588 GB, free: 41.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00478/9.802, allocations: 0.7117 MB / 3.589 GB, free: 41.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004149/9.807, allocations: 1.576 MB / 3.59 GB, free: 40.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/9.807, allocations: 93.94 kB / 3.59 GB, free: 40.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004342/9.807, allocations: 105.7 kB / 3.59 GB, free: 40.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005052/9.812, allocations: 2.829 MB / 3.593 GB, free: 40.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/9.816, allocations: 2.876 MB / 3.596 GB, free: 40.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/9.816, allocations: 15.19 kB / 3.596 GB, free: 40.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/9.816, allocations: 3.938 kB / 3.596 GB, free: 40.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/9.817, allocations: 169.1 kB / 3.596 GB, free: 40.5 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.26/10.08, allocations: 140.5 MB / 3.733 GB, free: 33.21 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/10.08, allocations: 1.584 MB / 3.735 GB, free: 33.16 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/10.08, allocations: 0.972 MB / 3.736 GB, free: 33.14 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03268/10.11, allocations: 16.72 MB / 3.752 GB, free: 22.34 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002837/10.12, allocations: 1.144 MB / 3.753 GB, free: 22.23 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=139): time 5.781e-06/10.12, allocations: 0 / 3.753 GB, free: 22.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=159): time 0.02191/10.14, allocations: 7.38 MB / 3.761 GB, free: 21.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/10.14, allocations: 232.7 kB / 3.761 GB, free: 20.87 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/10.14, allocations: 0.9214 MB / 3.762 GB, free: 20.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002287/10.14, allocations: 29.64 kB / 3.762 GB, free: 20.66 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00096/10.14, allocations: 0.8864 MB / 3.763 GB, free: 20.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/10.14, allocations: 0.5256 MB / 3.763 GB, free: 19.67 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/10.14, allocations: 0 / 3.763 GB, free: 19.67 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002999/10.14, allocations: 446.2 kB / 3.763 GB, free: 19.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/10.15, allocations: 1.128 MB / 3.765 GB, free: 18.75 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/10.15, allocations: 1.669 MB / 3.766 GB, free: 17.49 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006094/10.15, allocations: 2.005 MB / 3.768 GB, free: 16.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-05/10.15, allocations: 6.297 kB / 3.768 GB, free: 16.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.01007/10.16, allocations: 4.435 MB / 3.772 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.3746/10.54, allocations: 6.263 MB / 3.779 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.453e-05/10.54, allocations: 23.14 kB / 3.779 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/10.55, allocations: 2.743 MB / 3.781 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/10.55, allocations: 338.5 kB / 3.782 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008028/10.56, allocations: 4.234 MB / 3.786 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/10.56, allocations: 252.9 kB / 3.786 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/10.56, allocations: 104.7 kB / 3.786 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/10.56, allocations: 2.781 kB / 3.786 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009667/10.57, allocations: 3.881 MB / 3.79 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/10.57, allocations: 13.09 kB / 3.79 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007175/10.58, allocations: 2.125 MB / 3.792 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/10.58, allocations: 367.4 kB / 3.792 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003868/10.59, allocations: 3.24 MB / 3.796 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/10.59, allocations: 234.5 kB / 3.796 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/10.59, allocations: 104.8 kB / 3.796 GB, free: 117.9 MB / 0.5573 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,source.medium.phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 165 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 91} Notification: Performance of prepare postOptimizeDAE: time 0.0006627/10.59, allocations: 164.9 kB / 3.796 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/10.59, allocations: 140.6 kB / 3.796 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007324/10.6, allocations: 5.644 MB / 3.802 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-05/10.6, allocations: 67.23 kB / 3.802 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/10.6, allocations: 0 / 3.802 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005731/10.6, allocations: 5.133 MB / 3.807 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/10.61, allocations: 8.395 MB / 3.815 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/10.61, allocations: 3.906 kB / 3.815 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/10.61, allocations: 395.7 kB / 3.815 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009721/10.62, allocations: 415.2 kB / 3.816 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/10.62, allocations: 34.88 kB / 3.816 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/10.62, allocations: 3.367 MB / 3.819 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/10.62, allocations: 0 / 3.819 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007553/10.62, allocations: 6.247 MB / 3.825 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/10.63, allocations: 0.5673 MB / 3.826 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/10.63, allocations: 17.61 kB / 3.826 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/10.63, allocations: 172.2 kB / 3.826 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003421/10.63, allocations: 162.4 kB / 3.826 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/10.63, allocations: 64.92 kB / 3.826 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001039/10.63, allocations: 0.657 MB / 3.827 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/10.63, allocations: 3.062 kB / 3.827 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01291/10.64, allocations: 2.173 MB / 3.829 GB, free: 112.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 10 (pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse21.phase,$cse21.region,$cse27.phase,$cse27.region,$cse31.phase,$cse31.region,$whenCondition2,$whenCondition1,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,m_flow_initial) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01074/10.65, allocations: 2.075 MB / 3.831 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008163/10.66, allocations: 4.832 MB / 3.836 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/10.66, allocations: 0.5625 kB / 3.836 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003258/10.66, allocations: 2.083 MB / 3.838 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003476/10.67, allocations: 0.5627 MB / 3.838 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007505/10.68, allocations: 5.07 MB / 3.843 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/10.68, allocations: 1.922 MB / 3.845 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003436/10.68, allocations: 1.687 MB / 3.847 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/10.68, allocations: 133.7 kB / 3.847 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.212e-06/10.68, allocations: 0 / 3.847 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.09615/10.78, allocations: 71.56 MB / 3.917 GB, free: 101.4 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe 2>&1)