Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation") translateModel(Annex60.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 196.8 kB / 16.64 MB, free: 6.453 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.623/1.623, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4516/0.4516, allocations: 54.96 MB / 324.8 MB, free: 15.91 MB / 270.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: Annex60 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.001512/0.001512, allocations: 71.91 kB / 396.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4459, allocations: 59.58 MB / 455.7 MB, free: 39.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTestImplementation): time 0.01405/0.46, allocations: 13.17 MB / 468.8 MB, free: 32.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.4626, allocations: 1.611 MB / 470.5 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.4628, allocations: 8.75 kB / 470.5 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006303/0.4635, allocations: 185.2 kB / 470.6 MB, free: 31.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005504/0.4641, allocations: 301.1 kB / 470.9 MB, free: 30.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.4646, allocations: 182.8 kB / 471.1 MB, free: 30.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005537/0.4652, allocations: 0.678 MB / 471.8 MB, free: 30.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.4654, allocations: 99.91 kB / 471.9 MB, free: 30.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004834/0.4659, allocations: 354.1 kB / 472.2 MB, free: 30.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.4662, allocations: 242.6 kB / 472.5 MB, free: 30.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.4662, allocations: 24.31 kB / 472.5 MB, free: 30.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.98e-05/0.4663, allocations: 30.44 kB / 472.5 MB, free: 30.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.663e-05/0.4664, allocations: 78.69 kB / 472.6 MB, free: 30.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.4665, allocations: 152 kB / 472.8 MB, free: 30.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.4669, allocations: 371.7 kB / 473.1 MB, free: 30.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4669, allocations: 4 kB / 473.1 MB, free: 30.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4669, allocations: 0 / 473.1 MB, free: 30.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.4669, allocations: 0 / 473.1 MB, free: 30.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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006169/0.4675, allocations: 0.5511 MB / 473.7 MB, free: 29.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4676, allocations: 10 kB / 473.7 MB, free: 29.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.4678, allocations: 43.17 kB / 473.7 MB, free: 29.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.4682, allocations: 271 kB / 474 MB, free: 29.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.4682, allocations: 14.03 kB / 474 MB, free: 29.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.4683, allocations: 25.83 kB / 474 MB, free: 29.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.4686, allocations: 316.4 kB / 474.3 MB, free: 29.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.4687, allocations: 2.625 kB / 474.3 MB, free: 29.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.4687, allocations: 6.469 kB / 474.3 MB, free: 29.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/0.4687, allocations: 18.62 kB / 474.4 MB, free: 29.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.469, allocations: 171 kB / 474.5 MB, free: 28.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.4703, allocations: 1.837 MB / 476.4 MB, free: 27.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.4705, allocations: 110.6 kB / 476.5 MB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.4706, allocations: 60.53 kB / 476.5 MB, free: 27.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.4706, allocations: 0 / 476.5 MB, free: 27.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.4706, allocations: 38.5 kB / 476.6 MB, free: 27.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.4706, allocations: 0 / 476.6 MB, free: 27.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001035/0.4717, allocations: 0.6369 MB / 477.2 MB, free: 26.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.4717, allocations: 58.72 kB / 477.3 MB, free: 26.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.4719, allocations: 285.1 kB / 477.5 MB, free: 26.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.472, allocations: 29.7 kB / 477.6 MB, free: 26.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.472, allocations: 195.5 kB / 477.8 MB, free: 26.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.4721, allocations: 55.64 kB / 477.8 MB, free: 26.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.4721, allocations: 57.75 kB / 477.9 MB, free: 26.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.4722, allocations: 343.2 kB / 478.2 MB, free: 25.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.4723, allocations: 57.66 kB / 478.3 MB, free: 25.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.4724, allocations: 160.4 kB / 478.4 MB, free: 25.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.4727, allocations: 237.1 kB / 478.7 MB, free: 25.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4727, allocations: 0 / 478.7 MB, free: 25.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003448/0.473, allocations: 283.9 kB / 478.9 MB, free: 25.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.473, allocations: 7.688 kB / 478.9 MB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.4731, allocations: 6.594 kB / 479 MB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.442e-05/0.4732, allocations: 24.92 kB / 479 MB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.4734, allocations: 74.55 kB / 479 MB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008629/0.4743, allocations: 1.385 MB / 480.4 MB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.4744, allocations: 6.688 kB / 480.4 MB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.4745, allocations: 16.75 kB / 480.5 MB, free: 23.87 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.4746, allocations: 152.9 kB / 480.6 MB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.4746, allocations: 24.44 kB / 480.6 MB, free: 23.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.4747, allocations: 26.47 kB / 480.7 MB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4747, allocations: 2.344 kB / 480.7 MB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.4747, allocations: 0 / 480.7 MB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000262/0.475, allocations: 460.9 kB / 481.1 MB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.4756, allocations: 0.5746 MB / 481.7 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4757, allocations: 2.75 kB / 481.7 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.4758, allocations: 42.5 kB / 481.7 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.4758, allocations: 6.938 kB / 481.7 MB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4758, allocations: 0 / 481.7 MB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4759, allocations: 3.25 kB / 481.7 MB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4759, allocations: 7.094 kB / 481.7 MB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.4762, allocations: 329.3 kB / 482.1 MB, free: 22.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.4763, allocations: 102 kB / 482.2 MB, free: 22.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.4764, allocations: 14.91 kB / 482.2 MB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.4765, allocations: 2.969 kB / 482.2 MB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.4766, allocations: 12.53 kB / 482.2 MB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.4766, allocations: 9.578 kB / 482.2 MB, free: 22.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.4768, allocations: 197.6 kB / 482.4 MB, free: 22.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4768, allocations: 2.844 kB / 482.4 MB, free: 22.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003577/0.4771, allocations: 65.72 kB / 482.5 MB, free: 22.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * 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 (16): * Single equations (assignments): 16 * 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.0001271/0.4773, allocations: 110.1 kB / 482.6 MB, free: 22.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.4777, allocations: 266.5 kB / 482.8 MB, free: 22.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4777, allocations: 3.938 kB / 482.8 MB, free: 22.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.795e-05/0.4778, allocations: 61.41 kB / 482.9 MB, free: 21.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/0.4787, allocations: 156.1 kB / 483 MB, free: 21.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009987/0.4797, allocations: 0.5809 MB / 483.6 MB, free: 21.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.48, allocations: 0.7521 MB / 484.4 MB, free: 20.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.4802, allocations: 49.62 kB / 484.4 MB, free: 20.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.4802, allocations: 23.72 kB / 484.5 MB, free: 20.85 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4803, allocations: 3.938 kB / 484.5 MB, free: 20.85 MB / 382.1 MB Notification: Performance of Templates: time 0.008264/0.4885, allocations: 4.702 MB / 489.2 MB, free: 20.58 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe 2>&1)