Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001689, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 192.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3704/0.3704, allocations: 39.94 MB / 309.7 MB, free: 9.289 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 70.73 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1552, allocations: 56.88 MB / 434.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.004704/0.16, allocations: 2.866 MB / 437.4 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003885/0.1639, allocations: 2.52 MB / 439.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.1641, allocations: 7.938 kB / 439.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.1646, allocations: 119.4 kB / 440 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.1651, allocations: 222.6 kB / 440.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.1664, allocations: 0.5331 MB / 440.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008613/0.1673, allocations: 0.9325 MB / 441.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.1675, allocations: 114.2 kB / 441.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/0.1679, allocations: 330 kB / 442.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.1683, allocations: 409.7 kB / 442.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.703e-05/0.1684, allocations: 24 kB / 442.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.1697, allocations: 0.9358 MB / 443.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.17, allocations: 262.7 kB / 443.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.1703, allocations: 464.6 kB / 444.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.1716, allocations: 1.35 MB / 445.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1717, allocations: 0 / 445.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1717, allocations: 0 / 445.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1717, allocations: 0 / 445.6 MB, free: 8.543 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002084/0.1738, allocations: 1.457 MB / 447 MB, free: 7.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1738, allocations: 11.89 kB / 447 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.174, allocations: 127.3 kB / 447.2 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.1746, allocations: 0.5106 MB / 447.7 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/0.1747, allocations: 74.12 kB / 447.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.1748, allocations: 88 kB / 447.8 MB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.1767, allocations: 1.427 MB / 449.2 MB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.1767, allocations: 0 / 449.2 MB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.1768, allocations: 43.98 kB / 449.3 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-05/0.1769, allocations: 66.08 kB / 449.4 MB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.1789, allocations: 1.37 MB / 450.7 MB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.183, allocations: 3.082 MB / 453.8 MB, free: 68 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2601/0.4431, allocations: 0.7087 MB / 454.5 MB, free: 51.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/0.4437, allocations: 288.3 kB / 454.8 MB, free: 51.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.534e-05/0.4438, allocations: 12.31 kB / 454.8 MB, free: 51.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.4439, allocations: 49.45 kB / 454.9 MB, free: 51.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.715e-06/0.4439, allocations: 0 / 454.9 MB, free: 51.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002221/0.4461, allocations: 0.9322 MB / 455.8 MB, free: 51.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.4462, allocations: 189 kB / 456 MB, free: 51.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.4478, allocations: 1.349 MB / 457.3 MB, free: 51.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.4478, allocations: 34.36 kB / 457.4 MB, free: 51.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.4482, allocations: 0.5427 MB / 457.9 MB, free: 50.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.712e-05/0.4483, allocations: 113.6 kB / 458 MB, free: 50.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.4485, allocations: 153.7 kB / 458.2 MB, free: 50.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.4486, allocations: 337 kB / 458.5 MB, free: 50.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.4492, allocations: 300.4 kB / 458.8 MB, free: 50.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/0.4499, allocations: 0.6179 MB / 459.4 MB, free: 50.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.4513, allocations: 0.9678 MB / 460.4 MB, free: 49.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4513, allocations: 3.125 kB / 460.4 MB, free: 49.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001812/0.4531, allocations: 1.047 MB / 461.4 MB, free: 49.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.4531, allocations: 9.781 kB / 461.4 MB, free: 49.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.4532, allocations: 9.844 kB / 461.4 MB, free: 49.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/0.4532, allocations: 16.16 kB / 461.5 MB, free: 49.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.4538, allocations: 164.3 kB / 461.6 MB, free: 49.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/0.4538, allocations: 28.59 kB / 461.6 MB, free: 49.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/0.4545, allocations: 164.4 kB / 461.8 MB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.4546, allocations: 50.31 kB / 461.9 MB, free: 49.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 26 (IN_var_3[6].target,IN_var_3[5].target,IN_var_3[4].target,IN_var_3[3].target,IN_var_3[2].target,IN_var_3[1].target,IN_con_3[6].target,IN_con_3[5].target,IN_con_3[4].target,IN_con_3[3].target,IN_con_3[2].target,IN_con_3[1].target,IN_var_2.target,IN_con_2.target,IN_var_1[6].target,IN_var_1[5].target,IN_var_1[4].target,IN_var_1[3].target,IN_var_1[2].target,IN_var_1[1].target,IN_con_1[6].target,IN_con_1[5].target,IN_con_1[4].target,IN_con_1[3].target,IN_con_1[2].target,IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004533/0.455, allocations: 374.2 kB / 462.2 MB, free: 49.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.4552, allocations: 114.8 kB / 462.3 MB, free: 49.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.4565, allocations: 0.7543 MB / 463.1 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.4565, allocations: 6.375 kB / 463.1 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4565, allocations: 0 / 463.1 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4566, allocations: 6.531 kB / 463.1 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.4576, allocations: 0.7181 MB / 463.8 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4576, allocations: 0 / 463.8 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004106/0.4581, allocations: 102.2 kB / 463.9 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.4581, allocations: 7.125 kB / 463.9 MB, free: 48.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.4581, allocations: 17.28 kB / 463.9 MB, free: 48.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.4581, allocations: 3.25 kB / 463.9 MB, free: 48.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4582, allocations: 10.45 kB / 464 MB, free: 48.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.4597, allocations: 1.155 MB / 465.1 MB, free: 47.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.46, allocations: 198.6 kB / 465.3 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.4601, allocations: 13.2 kB / 465.3 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005568/0.4607, allocations: 35.84 kB / 465.3 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.4608, allocations: 38.09 kB / 465.4 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.4609, allocations: 24.17 kB / 465.4 MB, free: 47.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009793/0.4619, allocations: 0.9299 MB / 466.3 MB, free: 47.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4619, allocations: 4 kB / 466.3 MB, free: 47.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001096/0.463, allocations: 292.3 kB / 466.6 MB, free: 47.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004811/0.4635, allocations: 252.2 kB / 466.9 MB, free: 47.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.465, allocations: 0.753 MB / 467.6 MB, free: 47.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.465, allocations: 8 kB / 467.6 MB, free: 47.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006176/0.4656, allocations: 303.4 kB / 467.9 MB, free: 46.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.467, allocations: 264.8 kB / 468.2 MB, free: 46.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.4698, allocations: 1.95 MB / 470.1 MB, free: 46.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.4703, allocations: 1.162 MB / 471.3 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000806/0.4711, allocations: 393.6 kB / 471.7 MB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.4713, allocations: 81.84 kB / 471.8 MB, free: 45.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4713, allocations: 0 / 471.8 MB, free: 45.24 MB / 382.1 MB Notification: Performance of Templates: time 0.03657/0.5079, allocations: 16.49 MB / 488.3 MB, free: 43.11 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1)