Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.009143/0.009143, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001827/0.001827, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.596/1.596, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3321/0.3321, allocations: 38 MB / 307.9 MB, free: 10.02 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.1. 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.001725/0.001725, allocations: 71.91 kB / 433.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3261, allocations: 56.46 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.003547/0.3297, allocations: 2.873 MB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002992/0.3327, allocations: 2.521 MB / 494.9 MB, free: 16.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.3329, allocations: 2.656 kB / 494.9 MB, free: 16.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003901/0.3333, allocations: 119.9 kB / 495 MB, free: 16.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.3338, allocations: 236.9 kB / 495.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.3351, allocations: 0.5198 MB / 495.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008898/0.336, allocations: 0.9407 MB / 496.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.3361, allocations: 120.5 kB / 496.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/0.3365, allocations: 332.8 kB / 497.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/0.337, allocations: 409.3 kB / 497.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.16e-05/0.337, allocations: 24.12 kB / 497.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.3386, allocations: 0.9399 MB / 498.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.3389, allocations: 262.7 kB / 498.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.3393, allocations: 463.2 kB / 499.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.3409, allocations: 1.363 MB / 0.4889 GB, free: 13.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3409, allocations: 0 / 0.4889 GB, free: 13.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.341, allocations: 0 / 0.4889 GB, free: 13.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.341, allocations: 1.375 kB / 0.4889 GB, free: 13.62 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.002075/0.3431, allocations: 1.452 MB / 0.4903 GB, free: 12.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3431, allocations: 13.2 kB / 0.4903 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.3433, allocations: 130.3 kB / 0.4904 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.344, allocations: 0.5052 MB / 0.4909 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.3441, allocations: 76.41 kB / 0.491 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.3442, allocations: 88.09 kB / 0.4911 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.3466, allocations: 1.421 MB / 0.4925 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.3466, allocations: 3.938 kB / 0.4925 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.3467, allocations: 36.25 kB / 0.4925 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.3468, allocations: 72.36 kB / 0.4926 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.3494, allocations: 1.365 MB / 0.4939 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004618/0.354, allocations: 3.068 MB / 0.4969 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.3553, allocations: 0.723 MB / 0.4976 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006611/0.356, allocations: 289 kB / 0.4979 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/0.3561, allocations: 13.8 kB / 0.4979 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.3561, allocations: 50.8 kB / 0.4979 GB, free: 8.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 3.136e-06/0.3561, allocations: 0 / 0.4979 GB, free: 8.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002551/0.3587, allocations: 0.9256 MB / 0.4989 GB, free: 8.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.3588, allocations: 199.8 kB / 0.499 GB, free: 8.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.3607, allocations: 1.352 MB / 0.5004 GB, free: 7.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.3608, allocations: 35.02 kB / 0.5004 GB, free: 7.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/0.3612, allocations: 0.5439 MB / 0.5009 GB, free: 6.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.3613, allocations: 114.7 kB / 0.501 GB, free: 6.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.3616, allocations: 151.7 kB / 0.5012 GB, free: 6.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.3617, allocations: 334.8 kB / 0.5015 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/0.3623, allocations: 307.3 kB / 0.5018 GB, free: 6.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007317/0.363, allocations: 0.6087 MB / 0.5024 GB, free: 5.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.3646, allocations: 0.9751 MB / 0.5033 GB, free: 5.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.3646, allocations: 3.375 kB / 0.5033 GB, free: 5.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002321/0.3669, allocations: 1.035 MB / 0.5044 GB, free: 4.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.367, allocations: 14.75 kB / 0.5044 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.367, allocations: 10.44 kB / 0.5044 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.872e-05/0.367, allocations: 16.19 kB / 0.5044 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.3676, allocations: 160.2 kB / 0.5045 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.576e-05/0.3676, allocations: 27.58 kB / 0.5046 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009293/0.3686, allocations: 171.8 kB / 0.5047 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/0.3687, allocations: 47.62 kB / 0.5048 GB, free: 4.387 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.0005714/0.3693, allocations: 375 kB / 0.5051 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.3695, allocations: 119 kB / 0.5053 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.3708, allocations: 0.7599 MB / 0.506 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.3708, allocations: 4.469 kB / 0.506 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.3708, allocations: 1.344 kB / 0.506 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3708, allocations: 1.312 kB / 0.506 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.3719, allocations: 0.7089 MB / 0.5067 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3719, allocations: 1.406 kB / 0.5067 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.3723, allocations: 112.9 kB / 0.5068 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.3723, allocations: 3.938 kB / 0.5068 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/0.3724, allocations: 19.55 kB / 0.5068 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3724, allocations: 0 / 0.5068 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3724, allocations: 2.219 kB / 0.5068 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.3739, allocations: 1.161 MB / 0.508 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.3741, allocations: 209 kB / 0.5082 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.3743, allocations: 7.281 kB / 0.5082 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/0.3748, allocations: 36.08 kB / 0.5082 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.375, allocations: 38.31 kB / 0.5082 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.375, allocations: 23.58 kB / 0.5083 GB, free: 2.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001176/0.3762, allocations: 0.9275 MB / 0.5092 GB, free: 1.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3762, allocations: 1.156 kB / 0.5092 GB, free: 1.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001289/0.3775, allocations: 291 kB / 0.5094 GB, free: 1.598 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.0004873/0.378, allocations: 256.3 kB / 0.5097 GB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.3795, allocations: 0.7037 MB / 0.5104 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3795, allocations: 0 / 0.5104 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006584/0.3802, allocations: 301 kB / 0.5107 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.3816, allocations: 274.2 kB / 0.5109 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.3843, allocations: 1.931 MB / 0.5128 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006908/0.385, allocations: 1.157 MB / 0.5139 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008122/0.3858, allocations: 390.7 kB / 0.5143 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.386, allocations: 87.36 kB / 0.5144 GB, free: 13.37 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.386, allocations: 0 / 0.5144 GB, free: 13.37 MB / 398.1 MB Notification: Performance of Templates: time 0.0359/0.4219, allocations: 16.59 MB / 0.5306 GB, free: 12.8 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1)