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.008342/0.008342, allocations: 102.9 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.001499/0.0015, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.3088/0.3088, 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.001681/0.001681, allocations: 71.91 kB / 433.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3578, allocations: 56.46 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.003878/0.3617, allocations: 2.873 MB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.365, allocations: 2.51 MB / 494.9 MB, free: 16.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.3653, allocations: 3.469 kB / 494.9 MB, free: 16.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004514/0.3658, allocations: 127 kB / 495 MB, free: 16.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004682/0.3662, allocations: 220.7 kB / 495.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.3678, allocations: 0.5307 MB / 495.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009707/0.3688, allocations: 0.9402 MB / 496.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.3689, allocations: 121.3 kB / 496.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.3694, allocations: 332.2 kB / 497.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005643/0.3699, allocations: 409.2 kB / 497.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.302e-05/0.37, allocations: 24.31 kB / 497.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.3716, allocations: 0.941 MB / 498.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.3718, allocations: 260.7 kB / 498.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.3722, allocations: 462.5 kB / 499.2 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.3738, allocations: 1.361 MB / 0.4889 GB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3738, allocations: 4.703 kB / 0.4889 GB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3738, allocations: 3.938 kB / 0.4889 GB, free: 13.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.3738, allocations: 0 / 0.4889 GB, free: 13.59 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.002305/0.3761, allocations: 1.448 MB / 0.4903 GB, free: 12.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3762, allocations: 14.19 kB / 0.4903 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.3764, allocations: 129.2 kB / 0.4904 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/0.3771, allocations: 0.5067 MB / 0.4909 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.3772, allocations: 75.03 kB / 0.491 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.3773, allocations: 92.34 kB / 0.4911 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.3795, allocations: 1.417 MB / 0.4925 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.3796, allocations: 5.312 kB / 0.4925 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/0.3796, allocations: 36.25 kB / 0.4925 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.379e-05/0.3797, allocations: 72.77 kB / 0.4926 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.3818, allocations: 1.368 MB / 0.4939 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004389/0.3862, allocations: 3.065 MB / 0.4969 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.3875, allocations: 0.7157 MB / 0.4976 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006161/0.3881, allocations: 292.9 kB / 0.4979 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.343e-05/0.3882, allocations: 9.75 kB / 0.4979 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3882, allocations: 49.92 kB / 0.4979 GB, free: 8.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.894e-06/0.3882, allocations: 0 / 0.4979 GB, free: 8.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002307/0.3906, allocations: 0.9251 MB / 0.4988 GB, free: 8.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.3906, allocations: 196.9 kB / 0.499 GB, free: 8.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.3921, allocations: 1.351 MB / 0.5003 GB, free: 7.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.3921, allocations: 40.05 kB / 0.5004 GB, free: 7.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.3924, allocations: 0.5432 MB / 0.5009 GB, free: 6.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.733e-05/0.3925, allocations: 114.5 kB / 0.501 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.3928, allocations: 155.8 kB / 0.5012 GB, free: 6.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.3928, allocations: 334.3 kB / 0.5015 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/0.3935, allocations: 303.5 kB / 0.5018 GB, free: 6.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008057/0.3943, allocations: 0.6094 MB / 0.5024 GB, free: 5.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.3958, allocations: 0.9822 MB / 0.5033 GB, free: 5.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.3958, allocations: 3.781 kB / 0.5033 GB, free: 5.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002114/0.3979, allocations: 1.031 MB / 0.5043 GB, free: 4.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.398, allocations: 13.62 kB / 0.5044 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.398, allocations: 19.92 kB / 0.5044 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.398, allocations: 14.53 kB / 0.5044 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.3986, allocations: 159.9 kB / 0.5045 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/0.3987, allocations: 23.42 kB / 0.5046 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009167/0.3996, allocations: 176.5 kB / 0.5047 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/0.3997, allocations: 43.62 kB / 0.5048 GB, free: 4.352 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.0005775/0.4003, allocations: 374.5 kB / 0.5051 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.4005, allocations: 120.4 kB / 0.5052 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.4019, allocations: 0.7469 MB / 0.506 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4019, allocations: 5.656 kB / 0.506 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4019, allocations: 1.344 kB / 0.506 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4019, allocations: 9.281 kB / 0.506 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.4031, allocations: 0.7095 MB / 0.5067 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4031, allocations: 2.344 kB / 0.5067 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.4035, allocations: 106.6 kB / 0.5068 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.4036, allocations: 6.812 kB / 0.5068 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.084e-05/0.4036, allocations: 15.56 kB / 0.5068 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4036, allocations: 1.75 kB / 0.5068 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4036, allocations: 3.656 kB / 0.5068 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.4051, allocations: 1.167 MB / 0.508 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.4055, allocations: 201.4 kB / 0.5081 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.4057, allocations: 7.438 kB / 0.5082 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005971/0.4063, allocations: 35.7 kB / 0.5082 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.4064, allocations: 38.89 kB / 0.5082 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/0.4065, allocations: 22.5 kB / 0.5082 GB, free: 2.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001371/0.4078, allocations: 0.9355 MB / 0.5092 GB, free: 1.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4078, allocations: 1.094 kB / 0.5092 GB, free: 1.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001584/0.4094, allocations: 291.4 kB / 0.5094 GB, free: 1.562 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.0005306/0.41, allocations: 251.8 kB / 0.5097 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.4116, allocations: 0.7031 MB / 0.5104 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4116, allocations: 1.125 kB / 0.5104 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007074/0.4123, allocations: 304.3 kB / 0.5107 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.4139, allocations: 264.6 kB / 0.5109 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.4168, allocations: 1.933 MB / 0.5128 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/0.4176, allocations: 1.157 MB / 0.5139 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009641/0.4186, allocations: 394.7 kB / 0.5143 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.4188, allocations: 83.42 kB / 0.5144 GB, free: 13.38 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4188, allocations: 0 / 0.5144 GB, free: 13.38 MB / 398.1 MB Notification: Performance of Templates: time 0.02951/0.4483, allocations: 16.95 MB / 0.5309 GB, free: 12.45 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)