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.008935/0.008935, allocations: 101.7 kB / 15.73 MB, free: 6.055 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.001821/0.001821, allocations: 191.5 kB / 16.67 MB, free: 5.977 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.615/1.615, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3537/0.3537, allocations: 38 MB / 307.9 MB, free: 10.07 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.002119/0.00212, allocations: 75.89 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3309, allocations: 56.46 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.005729/0.3367, allocations: 2.875 MB / 492.4 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004473/0.3412, allocations: 2.522 MB / 494.9 MB, free: 16.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.3415, allocations: 2.875 kB / 494.9 MB, free: 16.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.3421, allocations: 123.5 kB / 495 MB, free: 16.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005442/0.3427, allocations: 220.2 kB / 495.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.3443, allocations: 0.5228 MB / 495.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.3454, allocations: 0.9448 MB / 496.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.3456, allocations: 117.2 kB / 496.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.346, allocations: 332 kB / 497.2 MB, free: 15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004915/0.3465, allocations: 409.8 kB / 497.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-05/0.3466, allocations: 23.97 kB / 497.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.3483, allocations: 0.9362 MB / 498.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003485/0.3487, allocations: 266.4 kB / 498.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.3491, allocations: 458.6 kB / 499.2 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.351, allocations: 1.372 MB / 0.4889 GB, free: 13.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.351, allocations: 1.062 kB / 0.4889 GB, free: 13.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.351, allocations: 0 / 0.4889 GB, free: 13.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.351, allocations: 0 / 0.4889 GB, free: 13.52 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.002283/0.3533, allocations: 1.489 MB / 0.4903 GB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3534, allocations: 13.52 kB / 0.4903 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.3535, allocations: 138.9 kB / 0.4905 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007216/0.3543, allocations: 0.51 MB / 0.491 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.3543, allocations: 72.34 kB / 0.491 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.3545, allocations: 89.03 kB / 0.4911 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.3566, allocations: 1.419 MB / 0.4925 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.3566, allocations: 5.312 kB / 0.4925 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/0.3567, allocations: 36.03 kB / 0.4926 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.169e-05/0.3568, allocations: 72.97 kB / 0.4926 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.3589, allocations: 1.363 MB / 0.494 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004281/0.3632, allocations: 3.09 MB / 0.497 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.3645, allocations: 0.7235 MB / 0.4977 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/0.3652, allocations: 288.6 kB / 0.498 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.476e-05/0.3653, allocations: 11 kB / 0.498 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.3653, allocations: 50.11 kB / 0.498 GB, free: 8.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.3653, allocations: 3.938 kB / 0.498 GB, free: 8.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.00258/0.3679, allocations: 0.9293 MB / 0.4989 GB, free: 8.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.368, allocations: 192.6 kB / 0.4991 GB, free: 8.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.3698, allocations: 1.359 MB / 0.5004 GB, free: 7.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.3698, allocations: 32.2 kB / 0.5005 GB, free: 7.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.3702, allocations: 0.5521 MB / 0.501 GB, free: 6.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.81e-05/0.3703, allocations: 117.9 kB / 0.5011 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.3706, allocations: 157.1 kB / 0.5013 GB, free: 6.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.3707, allocations: 329.7 kB / 0.5016 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006695/0.3713, allocations: 302.8 kB / 0.5019 GB, free: 6.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000752/0.3721, allocations: 0.6178 MB / 0.5025 GB, free: 5.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.3736, allocations: 0.9708 MB / 0.5034 GB, free: 4.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3737, allocations: 2.656 kB / 0.5034 GB, free: 4.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002/0.3757, allocations: 1.049 MB / 0.5044 GB, free: 4.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.3757, allocations: 9.344 kB / 0.5045 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.3757, allocations: 15.56 kB / 0.5045 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/0.3758, allocations: 15.16 kB / 0.5045 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/0.3764, allocations: 164.6 kB / 0.5046 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-05/0.3764, allocations: 19.88 kB / 0.5047 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/0.3774, allocations: 175.4 kB / 0.5048 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.3774, allocations: 44.52 kB / 0.5049 GB, free: 4.27 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.0004742/0.3779, allocations: 371.5 kB / 0.5052 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.3781, allocations: 127.3 kB / 0.5053 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.3795, allocations: 0.7518 MB / 0.5061 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.3795, allocations: 4.562 kB / 0.5061 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3795, allocations: 5.406 kB / 0.5061 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3795, allocations: 5.391 kB / 0.5061 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.3807, allocations: 0.7105 MB / 0.5068 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3807, allocations: 4 kB / 0.5068 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.3811, allocations: 108 kB / 0.5069 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3811, allocations: 6.906 kB / 0.5069 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.3812, allocations: 23.11 kB / 0.5069 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.3812, allocations: 3.156 kB / 0.5069 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3812, allocations: 1.156 kB / 0.5069 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.3827, allocations: 1.162 MB / 0.5081 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.3829, allocations: 210.2 kB / 0.5083 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.3831, allocations: 10.19 kB / 0.5083 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/0.3837, allocations: 39.7 kB / 0.5083 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.3838, allocations: 39.28 kB / 0.5084 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.3839, allocations: 23.27 kB / 0.5084 GB, free: 1.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001156/0.385, allocations: 0.9283 MB / 0.5093 GB, free: 1.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3851, allocations: 0 / 0.5093 GB, free: 1.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001441/0.3865, allocations: 303.2 kB / 0.5096 GB, free: 1.449 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.0005821/0.3871, allocations: 246.9 kB / 0.5098 GB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.3888, allocations: 0.7002 MB / 0.5105 GB, free: 1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3888, allocations: 0 / 0.5105 GB, free: 1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006955/0.3895, allocations: 305.8 kB / 0.5108 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.3909, allocations: 265.7 kB / 0.511 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.394, allocations: 1.969 MB / 0.513 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008054/0.3948, allocations: 1.161 MB / 0.5141 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008826/0.3957, allocations: 394.6 kB / 0.5145 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.3959, allocations: 83.42 kB / 0.5145 GB, free: 13.24 MB / 398.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3959, allocations: 4 kB / 0.5145 GB, free: 13.23 MB / 398.1 MB Notification: Performance of Templates: time 0.03116/0.4271, allocations: 16.59 MB / 0.5308 GB, free: 12.66 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)