Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.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.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2") translateModel(Annex60.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 98.61 kB / 15.05 MB, free: 1.105 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.001091/0.001091, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4051/0.4051, allocations: 54.98 MB / 325.3 MB, free: 0.6992 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: 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.0006032/0.0006036, allocations: 12 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3515, allocations: 60.73 MB / 457.3 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example2): time 0.02033/0.3719, allocations: 24.7 MB / 482 MB, free: 24.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.3854, allocations: 10.72 MB / 492.7 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.3871, allocations: 38.62 kB / 492.8 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.3891, allocations: 0.5572 MB / 493.3 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.3927, allocations: 1.287 MB / 494.6 MB, free: 16.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00583/0.3986, allocations: 2.121 MB / 496.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00396/0.4025, allocations: 2.204 MB / 498.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.4041, allocations: 0.9752 MB / 499.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.4061, allocations: 0.9787 MB / 0.4891 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.4073, allocations: 0.7016 MB / 0.4898 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.4074, allocations: 51.88 kB / 0.4899 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.4093, allocations: 0.7576 MB / 0.4906 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.4097, allocations: 305.8 kB / 0.4909 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.4101, allocations: 322.4 kB / 0.4912 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.4127, allocations: 1.769 MB / 0.4929 GB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.4127, allocations: 0 / 0.4929 GB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4127, allocations: 0 / 0.4929 GB, free: 12.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.265e-05/0.4128, allocations: 4 kB / 0.493 GB, free: 12.21 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.003361/0.4161, allocations: 1.68 MB / 0.4946 GB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.4162, allocations: 9 kB / 0.4946 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.4175, allocations: 260 kB / 0.4948 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/0.4202, allocations: 1.247 MB / 0.4961 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.897e-05/0.4203, allocations: 69.7 kB / 0.4961 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.4205, allocations: 92.3 kB / 0.4962 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005726/0.4262, allocations: 1.895 MB / 0.4981 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.4263, allocations: 1.531 kB / 0.4981 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.915e-05/0.4264, allocations: 34.55 kB / 0.4981 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.4264, allocations: 19.91 kB / 0.4981 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005336/0.4317, allocations: 1.641 MB / 0.4997 GB, free: 9.375 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007399/0.4392, allocations: 5.367 MB / 0.505 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004829/0.444, allocations: 1.453 MB / 0.5064 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002426/0.4465, allocations: 1.398 MB / 0.5078 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003986/0.4505, allocations: 1.24 MB / 0.509 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000771/0.4513, allocations: 107.7 kB / 0.5091 GB, free: 3.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.265e-06/0.4513, allocations: 0 / 0.5091 GB, free: 3.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.02325/0.4746, allocations: 6.549 MB / 0.5155 GB, free: 136 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.4747, allocations: 133.9 kB / 0.5156 GB, free: 15.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.4769, allocations: 1.326 MB / 0.5169 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002602/0.4772, allocations: 41.7 kB / 0.5169 GB, free: 14.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005985/0.4778, allocations: 0.645 MB / 0.5176 GB, free: 14.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.4781, allocations: 177.5 kB / 0.5177 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.4781, allocations: 20 kB / 0.5177 GB, free: 13.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4783, allocations: 338 kB / 0.5181 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.48, allocations: 0.638 MB / 0.5187 GB, free: 12.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.4819, allocations: 1.015 MB / 0.5197 GB, free: 11.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.4837, allocations: 0.7023 MB / 0.5204 GB, free: 11.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.4837, allocations: 8 kB / 0.5204 GB, free: 11.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01253/0.4963, allocations: 3.727 MB / 0.524 GB, free: 7.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001129/0.4974, allocations: 3.314 MB / 0.5272 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.4974, allocations: 8 kB / 0.5273 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002563/0.5, allocations: 1.009 MB / 0.5282 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/0.5008, allocations: 171.7 kB / 0.5284 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02663/0.5274, allocations: 9.798 MB / 0.538 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.5295, allocations: 231.2 kB / 0.5382 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.5296, allocations: 51.97 kB / 0.5382 GB, free: 8.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.5296, allocations: 4 kB / 0.5382 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001774/0.5314, allocations: 0.9371 MB / 0.5392 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.5314, allocations: 14.17 kB / 0.5392 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/0.5318, allocations: 144.8 kB / 0.5393 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.5323, allocations: 163.7 kB / 0.5395 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.5347, allocations: 2.376 MB / 0.5418 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.5359, allocations: 87.83 kB / 0.5419 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.536, allocations: 40 kB / 0.5419 GB, free: 4.508 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009308/0.537, allocations: 480.7 kB / 0.5424 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.5372, allocations: 130.4 kB / 0.5425 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009532/0.5467, allocations: 3.002 MB / 0.5454 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.5468, allocations: 4 kB / 0.5454 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.5468, allocations: 3.984 kB / 0.5454 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009123/0.5559, allocations: 2.978 MB / 0.5483 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/0.568, allocations: 4.272 MB / 0.5525 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.5681, allocations: 8.094 kB / 0.5525 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.5686, allocations: 99.86 kB / 0.5526 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/0.571, allocations: 0.9879 MB / 0.5536 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.837e-05/0.5711, allocations: 23.97 kB / 0.5536 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02406/0.5952, allocations: 9.229 MB / 0.5626 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5952, allocations: 3.938 kB / 0.5626 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.6066, allocations: 3.809 MB / 0.5663 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.6078, allocations: 319.3 kB / 0.5666 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.608, allocations: 16 kB / 0.5667 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.6093, allocations: 227.6 kB / 0.5669 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.6096, allocations: 52.34 kB / 0.5669 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/0.6096, allocations: 32.78 kB / 0.567 GB, free: 10.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001446/0.6111, allocations: 0.9128 MB / 0.5679 GB, free: 9.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6111, allocations: 0 / 0.5679 GB, free: 9.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00289/0.614, allocations: 0.7265 MB / 0.5686 GB, free: 8.793 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (pump_dp.vol.dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/0.6151, allocations: 357.7 kB / 0.5689 GB, free: 8.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009302/0.6244, allocations: 3.397 MB / 0.5722 GB, free: 5.004 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.6244, allocations: 5 kB / 0.5722 GB, free: 5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006018/0.6304, allocations: 1.894 MB / 0.5741 GB, free: 3.094 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/0.6336, allocations: 0.6024 MB / 0.5747 GB, free: 2.512 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/0.6395, allocations: 3.138 MB / 0.5777 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009353/0.6405, allocations: 1.311 MB / 0.579 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001467/0.642, allocations: 322.5 kB / 0.5793 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.6422, allocations: 115.4 kB / 0.5794 GB, free: 13.58 MB / 462.1 MB Notification: Performance of SimCode: time 1.273e-06/0.6423, allocations: 0 / 0.5794 GB, free: 13.58 MB / 462.1 MB Notification: Performance of Templates: time 0.05143/0.6937, allocations: 33.04 MB / 0.6117 GB, free: 12.7 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: