Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001358/0.001358, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.00142/0.00142, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.771/0.771, allocations: 132.2 MB / 423.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3318, allocations: 80.18 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.02084/0.3526, allocations: 29.61 MB / 0.6104 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.3663, allocations: 9.921 MB / 0.6201 GB, free: 6.629 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.3677, allocations: 43.75 kB / 0.6201 GB, free: 6.586 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.3696, allocations: 0.6815 MB / 0.6208 GB, free: 5.902 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.3729, allocations: 1.457 MB / 0.6222 GB, free: 4.441 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.3759, allocations: 1.382 MB / 0.6236 GB, free: 3.066 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004075/0.38, allocations: 3.825 MB / 0.6273 GB, free: 15.23 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.3817, allocations: 1.357 MB / 0.6286 GB, free: 13.84 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.3844, allocations: 1.488 MB / 0.6301 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.3858, allocations: 1.042 MB / 0.6311 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.386, allocations: 120 kB / 0.6312 GB, free: 11.19 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.3881, allocations: 1.127 MB / 0.6323 GB, free: 10.06 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003751/0.3885, allocations: 398.6 kB / 0.6327 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000813/0.3894, allocations: 0.7929 MB / 0.6335 GB, free: 8.871 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.392, allocations: 2.45 MB / 0.6359 GB, free: 6.418 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.392, allocations: 0 / 0.6359 GB, free: 6.418 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.392, allocations: 0 / 0.6359 GB, free: 6.418 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.3921, allocations: 0 / 0.6359 GB, free: 6.418 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003181/0.3953, allocations: 1.935 MB / 0.6377 GB, free: 4.426 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3953, allocations: 8.031 kB / 0.6378 GB, free: 4.418 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.3964, allocations: 258.8 kB / 0.638 GB, free: 4.164 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.3987, allocations: 1.343 MB / 0.6393 GB, free: 2.766 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.3988, allocations: 73.94 kB / 0.6394 GB, free: 2.695 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.3989, allocations: 87.98 kB / 0.6395 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.4005, allocations: 0.9694 MB / 0.6404 GB, free: 1.582 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.4005, allocations: 3.938 kB / 0.6404 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.4006, allocations: 35.98 kB / 0.6405 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.4006, allocations: 23.94 kB / 0.6405 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.402, allocations: 0.7103 MB / 0.6412 GB, free: 0.8086 MB / 478.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.005115/0.4071, allocations: 4.84 MB / 0.6459 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.4083, allocations: 0.5467 MB / 0.6464 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.4089, allocations: 318.1 kB / 0.6467 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002085/0.411, allocations: 1.568 MB / 0.6483 GB, free: 9.051 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006518/0.4117, allocations: 336 kB / 0.6486 GB, free: 8.711 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002076/0.4119, allocations: 59.36 kB / 0.6486 GB, free: 8.652 MB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.4119, allocations: 0 / 0.6486 GB, free: 8.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.002909/0.4148, allocations: 1.153 MB / 0.6498 GB, free: 7.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.4149, allocations: 55.41 kB / 0.6498 GB, free: 7.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.4163, allocations: 1.286 MB / 0.6511 GB, free: 6.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/0.4163, allocations: 45.62 kB / 0.6511 GB, free: 6.051 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/0.4168, allocations: 0.6411 MB / 0.6517 GB, free: 5.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4169, allocations: 145.9 kB / 0.6519 GB, free: 5.258 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.4172, allocations: 166.1 kB / 0.652 GB, free: 5.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4173, allocations: 337.9 kB / 0.6524 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005402/0.4178, allocations: 267.6 kB / 0.6526 GB, free: 4.492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007439/0.4186, allocations: 0.5905 MB / 0.6532 GB, free: 3.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.4198, allocations: 0.8058 MB / 0.654 GB, free: 2.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.4199, allocations: 4 kB / 0.654 GB, free: 2.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002078/0.4219, allocations: 1.102 MB / 0.6551 GB, free: 1.707 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.422, allocations: 33.7 kB / 0.6551 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.422, allocations: 12.03 kB / 0.6551 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000624/0.4226, allocations: 182.8 kB / 0.6553 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.4232, allocations: 151.7 kB / 0.6554 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006852/0.4239, allocations: 0.759 MB / 0.6562 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006458/0.4245, allocations: 44.69 kB / 0.6562 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/0.4246, allocations: 35.98 kB / 0.6562 GB, free: 476 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008246/0.4254, allocations: 0.5561 MB / 0.6568 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006389/0.4261, allocations: 0.5592 MB / 0.6573 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001015/0.4271, allocations: 0.7473 MB / 0.6581 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.4271, allocations: 0 / 0.6581 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001683/0.4288, allocations: 1.069 MB / 0.6591 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.4289, allocations: 33.7 kB / 0.6591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4289, allocations: 8 kB / 0.6591 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.4291, allocations: 104.7 kB / 0.6592 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.4296, allocations: 140.2 kB / 0.6594 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.4316, allocations: 2.352 MB / 0.6617 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.4323, allocations: 44.62 kB / 0.6617 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.4323, allocations: 35.98 kB / 0.6618 GB, free: 10.37 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (71): * Single equations (assignments): 68 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.4326, allocations: 236 kB / 0.662 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.4327, allocations: 126.4 kB / 0.6621 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.4345, allocations: 0.8765 MB / 0.663 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.4345, allocations: 4 kB / 0.663 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4345, allocations: 3.938 kB / 0.663 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/0.4358, allocations: 0.8726 MB / 0.6638 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/0.4386, allocations: 1.799 MB / 0.6656 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4386, allocations: 0 / 0.6656 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.439, allocations: 75.94 kB / 0.6656 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002648/0.4392, allocations: 128.5 kB / 0.6658 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.4393, allocations: 20.06 kB / 0.6658 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005468/0.4398, allocations: 0.7425 MB / 0.6665 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4399, allocations: 0 / 0.6665 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.4418, allocations: 1.182 MB / 0.6677 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.4422, allocations: 259.3 kB / 0.6679 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.4423, allocations: 11.94 kB / 0.6679 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/0.4429, allocations: 31.97 kB / 0.668 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/0.443, allocations: 36.45 kB / 0.668 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.443, allocations: 23.98 kB / 0.668 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001057/0.4441, allocations: 0.8935 MB / 0.6689 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4441, allocations: 0 / 0.6689 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00163/0.4457, allocations: 0.6433 MB / 0.6695 GB, free: 2.18 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * 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 (38): * Single equations (assignments): 32 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008096/0.4466, allocations: 366.8 kB / 0.6699 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002497/0.4491, allocations: 1.327 MB / 0.6712 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4491, allocations: 0.5 kB / 0.6712 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000696/0.4498, allocations: 330.3 kB / 0.6715 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.4519, allocations: 0.5916 MB / 0.6721 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.4551, allocations: 2.226 MB / 0.6742 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/0.4558, allocations: 1.275 MB / 0.6755 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008695/0.4567, allocations: 309.2 kB / 0.6758 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.4569, allocations: 103.3 kB / 0.6759 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.4569, allocations: 0 / 0.6759 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of Templates: time 0.03958/0.4965, allocations: 25.61 MB / 0.7009 GB, free: 2.301 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)