Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.volume.medium.h|pipe.volume.medium.p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.volume.medium.h|pipe.volume.medium.p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002176/0.002175, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 98.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2794/0.2794, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.95e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.128/8.24, allocations: 2.822 GB / 3.295 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/8.24, allocations: 75.28 kB / 3.295 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.025/12.26, allocations: 0.7446 GB / 4.039 GB, free: 44.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.565e-06/12.26, allocations: 0 / 4.039 GB, free: 44.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001895/12.27, allocations: 33.22 kB / 4.039 GB, free: 44.83 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01441/12.28, allocations: 2.755 MB / 4.042 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/12.28, allocations: 6.938 kB / 4.042 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005146/12.28, allocations: 477 kB / 4.042 GB, free: 43.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004455/12.29, allocations: 1.138 MB / 4.043 GB, free: 43.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002671/12.29, allocations: 142.9 kB / 4.044 GB, free: 43.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005276/12.29, allocations: 97.28 kB / 4.044 GB, free: 43.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006528/12.3, allocations: 1.882 MB / 4.046 GB, free: 42.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.94e-05/12.3, allocations: 7.188 kB / 4.046 GB, free: 42.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/12.3, allocations: 44.17 kB / 4.046 GB, free: 42.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/12.3, allocations: 79.34 kB / 4.046 GB, free: 42.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006297/12.3, allocations: 1.712 MB / 4.047 GB, free: 42.65 MB / 0.5261 GB 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.01947/12.32, allocations: 8.556 MB / 4.056 GB, free: 37.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00465/12.33, allocations: 1.373 MB / 4.057 GB, free: 37.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/12.33, allocations: 472.4 kB / 4.057 GB, free: 37.37 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2056/12.53, allocations: 63.49 MB / 4.119 GB, free: 27.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003624/12.54, allocations: 0.8907 MB / 4.12 GB, free: 26.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 6.182e-06/12.54, allocations: 4 kB / 4.12 GB, free: 26.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.01423/12.55, allocations: 3.753 MB / 4.124 GB, free: 23.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000234/12.55, allocations: 403.4 kB / 4.124 GB, free: 22.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/12.56, allocations: 0.9209 MB / 4.125 GB, free: 21.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003788/12.56, allocations: 45.83 kB / 4.125 GB, free: 21.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/12.56, allocations: 0.5642 MB / 4.126 GB, free: 21.21 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005661/12.56, allocations: 296.9 kB / 4.126 GB, free: 20.95 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/12.56, allocations: 28 kB / 4.126 GB, free: 20.92 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001832/12.56, allocations: 357.5 kB / 4.127 GB, free: 20.58 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/12.56, allocations: 473.4 kB / 4.127 GB, free: 20.14 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/12.56, allocations: 0.9547 MB / 4.128 GB, free: 19.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/12.56, allocations: 0.6236 MB / 4.129 GB, free: 18.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/12.56, allocations: 7.938 kB / 4.129 GB, free: 18.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004799/12.57, allocations: 1.705 MB / 4.13 GB, free: 16.94 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002069/12.57, allocations: 5.405 MB / 4.135 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.026e-05/12.57, allocations: 12 kB / 4.135 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/12.58, allocations: 1.084 MB / 4.137 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/12.58, allocations: 248.5 kB / 4.137 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/12.59, allocations: 1.455 MB / 4.138 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/12.59, allocations: 128.5 kB / 4.138 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/12.59, allocations: 67.75 kB / 4.138 GB, free: 8.539 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/12.59, allocations: 4 kB / 4.138 GB, free: 8.535 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004764/12.59, allocations: 1.523 MB / 4.14 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/12.59, allocations: 12 kB / 4.14 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/12.6, allocations: 342.9 kB / 4.14 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/12.6, allocations: 280.8 kB / 4.14 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/12.6, allocations: 1.004 MB / 4.141 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/12.6, allocations: 121.2 kB / 4.142 GB, free: 5.547 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/12.6, allocations: 75.11 kB / 4.142 GB, free: 5.48 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: 62 * Number of states: 0 () * Number of discrete variables: 19 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.inFlow[2],pipe.volume.inFlow[1],pipe.volume.heatTransfer.states[1].phase,sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {3 35} Notification: Performance of prepare postOptimizeDAE: time 0.0006133/12.6, allocations: 197.5 kB / 4.142 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/12.6, allocations: 126.5 kB / 4.142 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008309/12.61, allocations: 3.971 MB / 4.146 GB, free: 1.594 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-05/12.61, allocations: 47.73 kB / 4.146 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/12.61, allocations: 4 kB / 4.146 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.814e-05/12.61, allocations: 4.969 kB / 4.146 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4656/13.08, allocations: 5.554 MB / 4.151 GB, free: 77.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/13.08, allocations: 5.656 kB / 4.151 GB, free: 77.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/13.08, allocations: 175.1 kB / 4.151 GB, free: 77.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01138/13.09, allocations: 1.795 MB / 4.153 GB, free: 77.15 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/13.09, allocations: 24.94 kB / 4.153 GB, free: 77.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/13.09, allocations: 2.09 MB / 4.155 GB, free: 76.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/13.09, allocations: 5.656 kB / 4.155 GB, free: 76.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007493/13.1, allocations: 3.804 MB / 4.159 GB, free: 75.65 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/13.1, allocations: 0.5361 MB / 4.16 GB, free: 75.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006054/13.1, allocations: 22.81 kB / 4.16 GB, free: 75.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/13.11, allocations: 96.55 kB / 4.16 GB, free: 75.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003244/13.11, allocations: 77.44 kB / 4.16 GB, free: 75.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/13.11, allocations: 40.22 kB / 4.16 GB, free: 75.55 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002712/13.11, allocations: 1.035 MB / 4.161 GB, free: 75.44 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.174e-06/13.11, allocations: 0 / 4.161 GB, free: 75.44 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01271/13.12, allocations: 2.061 MB / 4.163 GB, free: 75.44 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 25 ($cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 1 * 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 {1 1,1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.01585/13.14, allocations: 2.349 MB / 4.165 GB, free: 75.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006826/13.14, allocations: 2.267 MB / 4.167 GB, free: 75.28 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/13.14, allocations: 4.656 kB / 4.167 GB, free: 75.28 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002218/13.15, allocations: 0.9871 MB / 4.168 GB, free: 75.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006163/13.15, allocations: 0.6316 MB / 4.169 GB, free: 75.26 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007969/13.16, allocations: 2.905 MB / 4.172 GB, free: 74.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/13.16, allocations: 1.475 MB / 4.173 GB, free: 73.87 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008239/13.16, allocations: 112.5 kB / 4.173 GB, free: 73.86 MB / 0.5573 GB Notification: Performance of SimCode: time 1.623e-06/13.16, allocations: 3.312 kB / 4.173 GB, free: 73.86 MB / 0.5573 GB Notification: Performance of Templates: time 0.1194/13.28, allocations: 58.99 MB / 4.231 GB, free: 71.04 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe 2>&1)