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.006955/0.006955, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001297/0.001297, allocations: 197 kB / 16.68 MB, free: 5.926 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.631/1.631, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.4489/0.4489, allocations: 39.95 MB / 309.8 MB, free: 9.43 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.001777/0.001777, allocations: 68.45 kB / 435.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4229, allocations: 56.87 MB / 492.7 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.004763/0.4277, allocations: 2.874 MB / 495.6 MB, free: 17.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004309/0.4321, allocations: 2.52 MB / 498.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004262/0.4325, allocations: 2.719 kB / 498.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005102/0.4331, allocations: 127.5 kB / 498.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005502/0.4336, allocations: 219.8 kB / 498.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.4354, allocations: 0.5225 MB / 499 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.4366, allocations: 0.9372 MB / 499.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.4368, allocations: 121.1 kB / 0.4883 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004612/0.4373, allocations: 332.2 kB / 0.4886 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005584/0.4379, allocations: 405.6 kB / 0.489 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.17e-05/0.438, allocations: 24.34 kB / 0.489 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.4399, allocations: 0.9436 MB / 0.49 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.4402, allocations: 267.2 kB / 0.4902 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004592/0.4407, allocations: 463.1 kB / 0.4907 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.4428, allocations: 1.358 MB / 0.492 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4428, allocations: 0 / 0.492 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.4429, allocations: 0 / 0.492 GB, free: 13.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.4429, allocations: 1.188 kB / 0.492 GB, free: 13.02 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.002988/0.4459, allocations: 1.452 MB / 0.4934 GB, free: 12.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/0.4459, allocations: 17.36 kB / 0.4934 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.4462, allocations: 130 kB / 0.4935 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009628/0.4472, allocations: 0.505 MB / 0.494 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.518e-05/0.4473, allocations: 71.72 kB / 0.4941 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.4474, allocations: 96.88 kB / 0.4942 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.4498, allocations: 1.42 MB / 0.4956 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.4499, allocations: 4 kB / 0.4956 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-05/0.4499, allocations: 36.38 kB / 0.4956 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.4501, allocations: 74.95 kB / 0.4957 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.4526, allocations: 1.371 MB / 0.497 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005452/0.4581, allocations: 3.066 MB / 0.5 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.4598, allocations: 0.7148 MB / 0.5007 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007103/0.4605, allocations: 293.6 kB / 0.501 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.889e-05/0.4606, allocations: 9.656 kB / 0.501 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.4606, allocations: 45.84 kB / 0.5011 GB, free: 7.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 4.509e-06/0.4606, allocations: 4.812 kB / 0.5011 GB, free: 7.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002888/0.4635, allocations: 0.9321 MB / 0.502 GB, free: 6.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.533e-05/0.4636, allocations: 192.5 kB / 0.5021 GB, free: 6.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.4661, allocations: 1.352 MB / 0.5035 GB, free: 6.023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.4662, allocations: 30.92 kB / 0.5035 GB, free: 5.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005112/0.4667, allocations: 0.5477 MB / 0.504 GB, free: 5.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.4668, allocations: 110.5 kB / 0.5041 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.4671, allocations: 157.1 kB / 0.5043 GB, free: 5.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4672, allocations: 333.6 kB / 0.5046 GB, free: 5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008275/0.468, allocations: 302.4 kB / 0.5049 GB, free: 4.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009722/0.469, allocations: 0.6188 MB / 0.5055 GB, free: 4.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.4714, allocations: 0.9663 MB / 0.5064 GB, free: 3.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.4714, allocations: 6.75 kB / 0.5064 GB, free: 3.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002913/0.4743, allocations: 1.036 MB / 0.5075 GB, free: 3.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.4744, allocations: 10.84 kB / 0.5075 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.295e-05/0.4744, allocations: 19.34 kB / 0.5075 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.882e-05/0.4745, allocations: 15.94 kB / 0.5075 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/0.4751, allocations: 155.4 kB / 0.5077 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.967e-05/0.4752, allocations: 23.14 kB / 0.5077 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.4763, allocations: 172.3 kB / 0.5078 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-05/0.4764, allocations: 48.84 kB / 0.5079 GB, free: 2.922 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.0007048/0.4771, allocations: 373.8 kB / 0.5082 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.4773, allocations: 120 kB / 0.5084 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.4788, allocations: 0.7589 MB / 0.5091 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.4789, allocations: 4.031 kB / 0.5091 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.4789, allocations: 2.688 kB / 0.5091 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4789, allocations: 1 kB / 0.5091 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.4803, allocations: 0.7086 MB / 0.5098 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4803, allocations: 2.281 kB / 0.5098 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.4808, allocations: 115.8 kB / 0.5099 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.4808, allocations: 3.219 kB / 0.5099 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.4808, allocations: 14.25 kB / 0.5099 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.4808, allocations: 2.906 kB / 0.5099 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.4809, allocations: 1.5 kB / 0.5099 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.4824, allocations: 1.165 MB / 0.5111 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.4828, allocations: 203.3 kB / 0.5113 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.4829, allocations: 11.98 kB / 0.5113 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005657/0.4835, allocations: 31.97 kB / 0.5113 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.4836, allocations: 39.89 kB / 0.5113 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.4837, allocations: 23.98 kB / 0.5114 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001066/0.4848, allocations: 0.9311 MB / 0.5123 GB, free: 15.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4848, allocations: 0 / 0.5123 GB, free: 15.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001452/0.4862, allocations: 292 kB / 0.5126 GB, free: 15.35 MB / 398.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.0005756/0.4868, allocations: 258.9 kB / 0.5128 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.4885, allocations: 0.701 MB / 0.5135 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4885, allocations: 0 / 0.5135 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00069/0.4892, allocations: 304.5 kB / 0.5138 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.4907, allocations: 268.8 kB / 0.514 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/0.4939, allocations: 1.933 MB / 0.5159 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000695/0.4946, allocations: 1.153 MB / 0.517 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009193/0.4955, allocations: 398.6 kB / 0.5174 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.4958, allocations: 79.42 kB / 0.5175 GB, free: 10.19 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4958, allocations: 3.938 kB / 0.5175 GB, free: 10.18 MB / 398.1 MB Notification: Performance of Templates: time 0.02913/0.5249, allocations: 16.96 MB / 0.5341 GB, free: 9.242 MB / 414.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)