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.001216/0.001216, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 189.5 kB / 16.25 MB, free: 6.625 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.677/1.677, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.3914/0.3914, allocations: 39.93 MB / 309.4 MB, free: 9.316 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.002392/0.002392, allocations: 71.89 kB / 377.1 MB, free: 12.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1589, allocations: 56.88 MB / 434 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.004612/0.1636, allocations: 2.899 MB / 436.9 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003922/0.1675, allocations: 2.517 MB / 439.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.1679, allocations: 4 kB / 439.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.1684, allocations: 107.7 kB / 439.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004813/0.1689, allocations: 206.8 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.1705, allocations: 498 kB / 440.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.1716, allocations: 0.9442 MB / 441.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1718, allocations: 122.2 kB / 441.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.1722, allocations: 329.9 kB / 441.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004499/0.1726, allocations: 445.7 kB / 442.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.77e-05/0.1727, allocations: 24 kB / 442.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.1741, allocations: 0.9397 MB / 443 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003423/0.1745, allocations: 274.6 kB / 443.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004188/0.1749, allocations: 460.6 kB / 443.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.1764, allocations: 1.339 MB / 445.1 MB, free: 8.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1764, allocations: 0 / 445.1 MB, free: 8.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1764, allocations: 3.984 kB / 445.1 MB, free: 8.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1764, allocations: 0 / 445.1 MB, free: 8.887 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.002313/0.1787, allocations: 1.453 MB / 446.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1788, allocations: 19.89 kB / 446.5 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.179, allocations: 127.3 kB / 446.7 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.1796, allocations: 0.5067 MB / 447.2 MB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-05/0.1797, allocations: 78.06 kB / 447.3 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.844e-05/0.1798, allocations: 88 kB / 447.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.1821, allocations: 1.423 MB / 448.8 MB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.1821, allocations: 0 / 448.8 MB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.445e-05/0.1822, allocations: 43.92 kB / 448.8 MB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-05/0.1823, allocations: 70.08 kB / 448.9 MB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.1845, allocations: 1.363 MB / 450.2 MB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004382/0.1889, allocations: 3.082 MB / 453.3 MB, free: 424 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2693/0.4582, allocations: 0.7068 MB / 454 MB, free: 51.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007804/0.4591, allocations: 295.4 kB / 454.3 MB, free: 51.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.974e-05/0.4592, allocations: 14.86 kB / 454.3 MB, free: 51.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.4592, allocations: 43.55 kB / 454.4 MB, free: 51.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 3.407e-06/0.4592, allocations: 0 / 454.4 MB, free: 51.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002231/0.4615, allocations: 0.9334 MB / 455.3 MB, free: 51.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/0.4616, allocations: 185.5 kB / 455.5 MB, free: 51.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.4632, allocations: 1.349 MB / 456.8 MB, free: 51.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.4633, allocations: 32.11 kB / 456.9 MB, free: 51.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.4636, allocations: 0.5449 MB / 457.4 MB, free: 51.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/0.4637, allocations: 112.7 kB / 457.5 MB, free: 50.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.4639, allocations: 158.3 kB / 457.7 MB, free: 50.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.464, allocations: 331.5 kB / 458 MB, free: 50.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.4646, allocations: 302.4 kB / 458.3 MB, free: 50.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007803/0.4654, allocations: 0.6229 MB / 458.9 MB, free: 50.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.4668, allocations: 0.9677 MB / 459.9 MB, free: 49.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.4668, allocations: 6.125 kB / 459.9 MB, free: 49.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001912/0.4687, allocations: 1.04 MB / 460.9 MB, free: 49.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.4688, allocations: 11.56 kB / 460.9 MB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.4688, allocations: 9.594 kB / 461 MB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.849e-05/0.4688, allocations: 17.12 kB / 461 MB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.4695, allocations: 158.7 kB / 461.1 MB, free: 49.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/0.4695, allocations: 22.83 kB / 461.1 MB, free: 49.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/0.4704, allocations: 175 kB / 461.3 MB, free: 49.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/0.4705, allocations: 47.75 kB / 461.4 MB, free: 49.32 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.0006244/0.4712, allocations: 372 kB / 461.7 MB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/0.4715, allocations: 113.4 kB / 461.8 MB, free: 49.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.4729, allocations: 0.7573 MB / 462.6 MB, free: 48.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4729, allocations: 7.219 kB / 462.6 MB, free: 48.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.4729, allocations: 4.719 kB / 462.6 MB, free: 48.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.4729, allocations: 6.844 kB / 462.6 MB, free: 48.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.4743, allocations: 0.7171 MB / 463.3 MB, free: 48.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.4743, allocations: 3.219 kB / 463.3 MB, free: 48.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.4747, allocations: 96.94 kB / 463.4 MB, free: 48.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.4747, allocations: 3.797 kB / 463.4 MB, free: 48.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.853e-05/0.4748, allocations: 17.23 kB / 463.5 MB, free: 48.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.4748, allocations: 9.516 kB / 463.5 MB, free: 48.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4748, allocations: 4 kB / 463.5 MB, free: 48.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.4766, allocations: 1.168 MB / 464.6 MB, free: 47.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.4769, allocations: 199.9 kB / 464.8 MB, free: 47.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.4771, allocations: 7.031 kB / 464.8 MB, free: 47.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/0.4776, allocations: 37.8 kB / 464.9 MB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.4778, allocations: 38.06 kB / 464.9 MB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.4778, allocations: 27.14 kB / 464.9 MB, free: 47.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009648/0.4788, allocations: 0.9316 MB / 465.9 MB, free: 47.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4788, allocations: 0 / 465.9 MB, free: 47.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001399/0.4802, allocations: 293.8 kB / 466.2 MB, free: 47.36 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.0006595/0.4809, allocations: 246.6 kB / 466.4 MB, free: 47.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.4826, allocations: 0.7548 MB / 467.1 MB, free: 47.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4826, allocations: 0 / 467.1 MB, free: 47.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006324/0.4833, allocations: 313.5 kB / 467.5 MB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.4848, allocations: 256.1 kB / 467.7 MB, free: 47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.4878, allocations: 2.239 MB / 469.9 MB, free: 45.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.4885, allocations: 1.155 MB / 471.1 MB, free: 45.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009684/0.4894, allocations: 393.2 kB / 471.5 MB, free: 45.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.4897, allocations: 84.86 kB / 471.6 MB, free: 45.06 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4897, allocations: 7.938 kB / 471.6 MB, free: 45.05 MB / 382.1 MB Notification: Performance of Templates: time 0.03343/0.5231, allocations: 16.19 MB / 487.8 MB, free: 43.12 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)