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.001629/0.001629, allocations: 108 kB / 15.6 MB, free: 132 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.001848/0.001848, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.528/1.528, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4327/0.4327, allocations: 54.95 MB / 324.7 MB, free: 15.88 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.001681/0.001681, allocations: 68.52 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1433, allocations: 59.59 MB / 454.9 MB, free: 136 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example3): time 0.2832/0.4265, allocations: 32.63 MB / 487.5 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01799/0.4445, allocations: 12.58 MB / 0.4884 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002836/0.4474, allocations: 52.97 kB / 0.4885 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.4502, allocations: 0.7305 MB / 0.4892 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004858/0.4551, allocations: 1.524 MB / 0.4907 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005034/0.4601, allocations: 1.399 MB / 0.492 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008847/0.469, allocations: 4.724 MB / 0.4966 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004124/0.4731, allocations: 2.011 MB / 0.4986 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008251/0.4814, allocations: 1.828 MB / 0.5004 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004666/0.4862, allocations: 1.374 MB / 0.5017 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000448/0.4866, allocations: 143.6 kB / 0.5019 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004165/0.4908, allocations: 1.176 MB / 0.503 GB, free: 3.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006799/0.4915, allocations: 481.1 kB / 0.5035 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.4932, allocations: 1.018 MB / 0.5045 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005282/0.4984, allocations: 2.896 MB / 0.5073 GB, free: 1.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4985, allocations: 4 kB / 0.5073 GB, free: 1.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4985, allocations: 0 / 0.5073 GB, free: 1.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.4985, allocations: 0 / 0.5073 GB, free: 1.09 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.004923/0.5035, allocations: 2.366 MB / 0.5096 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.5035, allocations: 10.12 kB / 0.5096 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.505, allocations: 306.1 kB / 0.5099 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/0.5083, allocations: 1.587 MB / 0.5115 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.5085, allocations: 80.09 kB / 0.5115 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.5087, allocations: 109.3 kB / 0.5116 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003966/0.5126, allocations: 1.519 MB / 0.5131 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.5127, allocations: 5.156 kB / 0.5131 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.5128, allocations: 44.34 kB / 0.5132 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/0.5129, allocations: 24.94 kB / 0.5132 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/0.5164, allocations: 1.184 MB / 0.5143 GB, free: 13.4 MB / 398.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.009714/0.5261, allocations: 6.917 MB / 0.5211 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.5287, allocations: 0.7502 MB / 0.5218 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007222/0.5294, allocations: 386.3 kB / 0.5222 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002983/0.5324, allocations: 1.44 MB / 0.5236 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002102/0.5345, allocations: 0.571 MB / 0.5242 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007462/0.5353, allocations: 79.72 kB / 0.5242 GB, free: 5.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.444e-06/0.5353, allocations: 0 / 0.5242 GB, free: 5.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.01153/0.5468, allocations: 3.087 MB / 0.5273 GB, free: 1.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/0.547, allocations: 137 kB / 0.5274 GB, free: 1.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.5498, allocations: 1.78 MB / 0.5291 GB, free: 0 / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.55, allocations: 37.7 kB / 0.5292 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008379/0.5508, allocations: 0.8693 MB / 0.53 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.5511, allocations: 177.5 kB / 0.5302 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003291/0.5514, allocations: 206.4 kB / 0.5304 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5516, allocations: 345.9 kB / 0.5307 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/0.5525, allocations: 388.6 kB / 0.5311 GB, free: 13.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.5539, allocations: 0.8544 MB / 0.5319 GB, free: 12.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.5561, allocations: 1.135 MB / 0.533 GB, free: 11.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.5561, allocations: 5.375 kB / 0.533 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005424/0.5615, allocations: 1.624 MB / 0.5346 GB, free: 9.941 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.5616, allocations: 45.67 kB / 0.5347 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.5616, allocations: 12 kB / 0.5347 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009968/0.5626, allocations: 296.6 kB / 0.535 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007441/0.5634, allocations: 191.6 kB / 0.5351 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009216/0.5726, allocations: 3.897 MB / 0.5389 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.5745, allocations: 63.95 kB / 0.539 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.5747, allocations: 55.97 kB / 0.5391 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001809/0.5765, allocations: 0.7289 MB / 0.5398 GB, free: 4.531 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001023/0.5775, allocations: 0.77 MB / 0.5405 GB, free: 3.535 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001402/0.5789, allocations: 0.9989 MB / 0.5415 GB, free: 2.375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.941e-06/0.5789, allocations: 4 kB / 0.5415 GB, free: 2.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.00252/0.5815, allocations: 1.342 MB / 0.5428 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.5815, allocations: 33.7 kB / 0.5428 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5815, allocations: 12 kB / 0.5429 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.5818, allocations: 124.9 kB / 0.543 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.5824, allocations: 188 kB / 0.5431 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.5847, allocations: 2.317 MB / 0.5454 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.5861, allocations: 60.47 kB / 0.5455 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.5862, allocations: 47.98 kB / 0.5455 GB, free: 14.07 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (94): * Single equations (assignments): 91 * Array equations: 1 * Algorithm blocks: 1 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003962/0.5866, allocations: 246.6 kB / 0.5457 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.5869, allocations: 173.8 kB / 0.5459 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004104/0.591, allocations: 1.272 MB / 0.5472 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.591, allocations: 8 kB / 0.5472 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.591, allocations: 0 / 0.5472 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003283/0.5943, allocations: 1.215 MB / 0.5484 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006374/0.6007, allocations: 2.503 MB / 0.5508 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.6007, allocations: 0 / 0.5508 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.6012, allocations: 96.73 kB / 0.5509 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008006/0.602, allocations: 284.5 kB / 0.5512 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.6021, allocations: 23.97 kB / 0.5512 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007963/0.6101, allocations: 3.667 MB / 0.5548 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.6101, allocations: 0 / 0.5548 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005065/0.6152, allocations: 1.711 MB / 0.5564 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008808/0.6161, allocations: 306.8 kB / 0.5567 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/0.6164, allocations: 12.56 kB / 0.5567 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008195/0.6172, allocations: 40.02 kB / 0.5568 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.6174, allocations: 64.34 kB / 0.5568 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.585e-05/0.6174, allocations: 29.22 kB / 0.5569 GB, free: 2.102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001726/0.6192, allocations: 1.23 MB / 0.5581 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6192, allocations: 0 / 0.5581 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002558/0.6218, allocations: 0.7617 MB / 0.5588 GB, free: 88 kB / 430.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 (45): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/0.6228, allocations: 374.2 kB / 0.5592 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004111/0.6269, allocations: 1.902 MB / 0.561 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6269, allocations: 0 / 0.561 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.6283, allocations: 0.5803 MB / 0.5616 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/0.6321, allocations: 0.7912 MB / 0.5624 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/0.6375, allocations: 3.026 MB / 0.5653 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.6386, allocations: 1.5 MB / 0.5668 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001766/0.6403, allocations: 453.9 kB / 0.5672 GB, free: 7.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.6407, allocations: 139.4 kB / 0.5674 GB, free: 7.273 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6407, allocations: 0 / 0.5674 GB, free: 7.273 MB / 446.1 MB Notification: Performance of Templates: time 0.06896/0.7096, allocations: 36.95 MB / 0.6034 GB, free: 2.566 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.makefile (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)