Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3") translateModel(Annex60.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 100.1 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.001454/0.001454, allocations: 177.3 kB / 15.95 MB, free: 216 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.445/1.445, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3945/0.3945, allocations: 54.98 MB / 325.4 MB, free: 0.7383 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.0005644/0.0005646, allocations: 15.94 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3311, allocations: 60.72 MB / 457.3 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example3): time 0.0239/0.355, allocations: 27.31 MB / 484.6 MB, free: 22.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.3695, allocations: 11.2 MB / 495.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.3713, allocations: 42.22 kB / 495.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.3733, allocations: 0.6001 MB / 496.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004056/0.3773, allocations: 1.403 MB / 497.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007382/0.3847, allocations: 2.137 MB / 500 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004876/0.3896, allocations: 2.799 MB / 0.491 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002639/0.3923, allocations: 1.561 MB / 0.4925 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.3955, allocations: 1.274 MB / 0.4938 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.3973, allocations: 0.9355 MB / 0.4947 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002202/0.3976, allocations: 68.03 kB / 0.4948 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/0.4001, allocations: 0.7833 MB / 0.4955 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004544/0.4006, allocations: 371.4 kB / 0.4959 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006085/0.4012, allocations: 401.4 kB / 0.4963 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.4045, allocations: 2.127 MB / 0.4983 GB, free: 8.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4045, allocations: 0 / 0.4983 GB, free: 8.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4045, allocations: 0 / 0.4983 GB, free: 8.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.636e-05/0.4046, allocations: 1.156 kB / 0.4983 GB, free: 8.879 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.00488/0.4095, allocations: 2.06 MB / 0.5003 GB, free: 7.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4095, allocations: 13.88 kB / 0.5004 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.4108, allocations: 305.2 kB / 0.5006 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003553/0.4144, allocations: 1.568 MB / 0.5022 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.253e-05/0.4145, allocations: 83.66 kB / 0.5023 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.4147, allocations: 109.4 kB / 0.5024 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006436/0.4211, allocations: 2.194 MB / 0.5045 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.4212, allocations: 9.844 kB / 0.5045 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.4213, allocations: 39.66 kB / 0.5046 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.4214, allocations: 24.25 kB / 0.5046 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005754/0.4271, allocations: 1.911 MB / 0.5064 GB, free: 5.441 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.008644/0.4358, allocations: 7.278 MB / 0.5135 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004848/0.4407, allocations: 1.48 MB / 0.515 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003115/0.4438, allocations: 1.539 MB / 0.5165 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004249/0.4481, allocations: 1.253 MB / 0.5177 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001042/0.4491, allocations: 108.5 kB / 0.5178 GB, free: 12.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 4.569e-06/0.4492, allocations: 3.938 kB / 0.5178 GB, free: 12.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.02537/0.4745, allocations: 6.904 MB / 0.5246 GB, free: 6.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.4747, allocations: 137 kB / 0.5247 GB, free: 6.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/0.4779, allocations: 1.838 MB / 0.5265 GB, free: 4.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002482/0.4782, allocations: 41.7 kB / 0.5265 GB, free: 4.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008318/0.479, allocations: 0.8697 MB / 0.5274 GB, free: 3.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.4793, allocations: 177.5 kB / 0.5276 GB, free: 3.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.4794, allocations: 20 kB / 0.5276 GB, free: 3.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4796, allocations: 341.9 kB / 0.5279 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.4814, allocations: 0.6732 MB / 0.5286 GB, free: 2.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.4837, allocations: 1.179 MB / 0.5297 GB, free: 1.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.4857, allocations: 0.7764 MB / 0.5305 GB, free: 428 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4857, allocations: 0 / 0.5305 GB, free: 428 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0139/0.4996, allocations: 3.922 MB / 0.5343 GB, free: 12.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001883/0.5015, allocations: 4.59 MB / 0.5388 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.5016, allocations: 12 kB / 0.5388 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002766/0.5044, allocations: 1.01 MB / 0.5398 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009332/0.5053, allocations: 195.6 kB / 0.54 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02549/0.5308, allocations: 9.149 MB / 0.5489 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.5333, allocations: 255.5 kB / 0.5491 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.5335, allocations: 55.91 kB / 0.5492 GB, free: 12.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.5335, allocations: 8 kB / 0.5492 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002069/0.5356, allocations: 1.085 MB / 0.5503 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.5356, allocations: 13.94 kB / 0.5503 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004014/0.536, allocations: 155.7 kB / 0.5504 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.5367, allocations: 188 kB / 0.5506 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/0.5394, allocations: 2.39 MB / 0.5529 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.5411, allocations: 115.8 kB / 0.553 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.5412, allocations: 47.98 kB / 0.5531 GB, free: 8.598 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 92 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001198/0.5424, allocations: 0.5851 MB / 0.5537 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003381/0.5428, allocations: 173.8 kB / 0.5538 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/0.5532, allocations: 3.092 MB / 0.5568 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.5533, allocations: 8 kB / 0.5569 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5533, allocations: 0 / 0.5569 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009699/0.563, allocations: 3.029 MB / 0.5598 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.5766, allocations: 4.596 MB / 0.5643 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.5766, allocations: 0 / 0.5643 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.5772, allocations: 107.9 kB / 0.5644 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/0.5799, allocations: 0.9879 MB / 0.5654 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-05/0.58, allocations: 19.97 kB / 0.5654 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0225/0.6025, allocations: 8.549 MB / 0.5737 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6025, allocations: 0 / 0.5737 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/0.6148, allocations: 3.94 MB / 0.5776 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.6163, allocations: 374.8 kB / 0.5779 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006789/0.617, allocations: 16 kB / 0.578 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/0.6192, allocations: 243.6 kB / 0.5782 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.6194, allocations: 56.42 kB / 0.5782 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-05/0.6195, allocations: 29.09 kB / 0.5783 GB, free: 14.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002257/0.6218, allocations: 1.273 MB / 0.5795 GB, free: 13.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6218, allocations: 3.938 kB / 0.5795 GB, free: 13.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003609/0.6254, allocations: 0.8907 MB / 0.5804 GB, free: 12.21 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/0.6264, allocations: 365 kB / 0.5807 GB, free: 11.85 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006612/0.6331, allocations: 2.675 MB / 0.5834 GB, free: 9.129 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6331, allocations: 0 / 0.5834 GB, free: 9.129 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003043/0.6362, allocations: 1.099 MB / 0.5844 GB, free: 8.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00468/0.6409, allocations: 0.8585 MB / 0.5853 GB, free: 7.176 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006542/0.6474, allocations: 3.853 MB / 0.589 GB, free: 3.285 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.6485, allocations: 1.528 MB / 0.5905 GB, free: 1.723 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001851/0.6504, allocations: 442.7 kB / 0.5909 GB, free: 1.293 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.6507, allocations: 143.4 kB / 0.5911 GB, free: 1.152 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6507, allocations: 0 / 0.5911 GB, free: 1.152 MB / 462.1 MB Notification: Performance of Templates: time 0.06844/0.7192, allocations: 41.22 MB / 0.6313 GB, free: 8.148 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: