Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 102.9 kB / 16.35 MB, free: 5.828 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.001342/0.001342, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9162/0.9162, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.38, allocations: 80.18 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.05853/0.4385, allocations: 72.31 MB / 0.6521 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02244/0.461, allocations: 16.97 MB / 0.6687 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002743/0.4638, allocations: 95.44 kB / 0.6688 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002807/0.4666, allocations: 1.011 MB / 0.6697 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005914/0.4726, allocations: 2.353 MB / 0.672 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004714/0.4773, allocations: 2.08 MB / 0.6741 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008462/0.4858, allocations: 8.038 MB / 0.6819 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007218/0.493, allocations: 6.12 MB / 0.6879 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006901/0.5, allocations: 3.284 MB / 0.6911 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004473/0.5045, allocations: 2.493 MB / 0.6935 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006968/0.5052, allocations: 256 kB / 0.6938 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003355/0.5085, allocations: 1.377 MB / 0.6951 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008627/0.5094, allocations: 0.7588 MB / 0.6959 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002387/0.5118, allocations: 1.772 MB / 0.6976 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006235/0.5181, allocations: 4.735 MB / 0.7022 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.5181, allocations: 3.984 kB / 0.7022 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5181, allocations: 0 / 0.7022 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.985e-05/0.5182, allocations: 0 / 0.7022 GB, free: 2.223 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.006921/0.5251, allocations: 3.95 MB / 0.7061 GB, free: 14.19 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.5252, allocations: 12.03 kB / 0.7061 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.5273, allocations: 0.55 MB / 0.7066 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005982/0.5333, allocations: 2.74 MB / 0.7093 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.5335, allocations: 139.1 kB / 0.7094 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/0.5338, allocations: 184 kB / 0.7096 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/0.5375, allocations: 2.334 MB / 0.7119 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.5376, allocations: 11.88 kB / 0.7119 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.5377, allocations: 68 kB / 0.712 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.5378, allocations: 40 kB / 0.712 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/0.5411, allocations: 1.857 MB / 0.7138 GB, free: 6.035 MB / 0.545 GB 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.013/0.5541, allocations: 11.08 MB / 0.7247 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.5568, allocations: 1.335 MB / 0.726 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.5583, allocations: 1.001 MB / 0.7269 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00602/0.5643, allocations: 3.635 MB / 0.7305 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/0.5657, allocations: 0.7701 MB / 0.7312 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00105/0.5668, allocations: 234.9 kB / 0.7315 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=95): time 2.996e-06/0.5668, allocations: 0 / 0.7315 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95): time 0.01171/0.5785, allocations: 4.165 MB / 0.7355 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.5786, allocations: 60.41 kB / 0.7356 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003691/0.5823, allocations: 2.884 MB / 0.7384 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.5825, allocations: 57.7 kB / 0.7385 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.5836, allocations: 1.418 MB / 0.7398 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.584, allocations: 339.2 kB / 0.7402 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004872/0.5845, allocations: 351.6 kB / 0.7405 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.5846, allocations: 305.1 kB / 0.7408 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.5858, allocations: 0.6809 MB / 0.7415 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.5876, allocations: 1.429 MB / 0.7429 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002876/0.5905, allocations: 1.915 MB / 0.7447 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.5905, allocations: 4 kB / 0.7447 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.00586/0.5964, allocations: 2.843 MB / 0.7475 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.5964, allocations: 41.69 kB / 0.7475 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.5965, allocations: 15.94 kB / 0.7476 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/0.5988, allocations: 0.6848 MB / 0.7482 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.6001, allocations: 297.3 kB / 0.7485 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2732/0.8732, allocations: 1.896 MB / 0.7504 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/0.8763, allocations: 98.75 kB / 0.7505 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004872/0.8768, allocations: 88.11 kB / 0.7505 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002759/0.8796, allocations: 1.278 MB / 0.7518 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001689/0.8813, allocations: 1.389 MB / 0.7531 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002697/0.884, allocations: 1.816 MB / 0.7549 GB, free: 154 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.269e-05/0.884, allocations: 5.062 kB / 0.7549 GB, free: 154 MB / 0.5762 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.005229/0.8893, allocations: 2.688 MB / 0.7575 GB, free: 153 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.8893, allocations: 37.98 kB / 0.7576 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.8894, allocations: 19.59 kB / 0.7576 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.8904, allocations: 488.6 kB / 0.7581 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.8914, allocations: 289.2 kB / 0.7583 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00571/0.8972, allocations: 6.32 MB / 0.7645 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.899, allocations: 115.5 kB / 0.7646 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.8991, allocations: 78.09 kB / 0.7647 GB, free: 148.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000435/0.8996, allocations: 286.9 kB / 0.765 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.9, allocations: 293.3 kB / 0.7653 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/0.9042, allocations: 2.431 MB / 0.7676 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.9043, allocations: 11.88 kB / 0.7676 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.9043, allocations: 6.328 kB / 0.7676 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002721/0.907, allocations: 2.054 MB / 0.7696 GB, free: 146 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005925/0.9129, allocations: 4.384 MB / 0.7739 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.913, allocations: 3.719 kB / 0.7739 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/0.9137, allocations: 166.2 kB / 0.7741 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008589/0.9146, allocations: 477.3 kB / 0.7745 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/0.9147, allocations: 33.03 kB / 0.7746 GB, free: 143 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.9158, allocations: 1.855 MB / 0.7764 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9158, allocations: 0 / 0.7764 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004304/0.9201, allocations: 3.126 MB / 0.7794 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008783/0.921, allocations: 483.7 kB / 0.7799 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002879/0.9213, allocations: 24 kB / 0.7799 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.9224, allocations: 68.45 kB / 0.78 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.9225, allocations: 84.81 kB / 0.7801 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.738e-05/0.9226, allocations: 43.98 kB / 0.7801 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002071/0.9247, allocations: 1.963 MB / 0.782 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9247, allocations: 3.5 kB / 0.782 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002778/0.9275, allocations: 1.349 MB / 0.7834 GB, free: 135.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008874/0.9284, allocations: 461 kB / 0.7838 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004655/0.933, allocations: 3.178 MB / 0.7869 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.9331, allocations: 0 / 0.7869 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.9343, allocations: 0.7978 MB / 0.7877 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004137/0.9384, allocations: 1.253 MB / 0.7889 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006901/0.9453, allocations: 5.137 MB / 0.7939 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.9465, allocations: 2.06 MB / 0.7959 GB, free: 122.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00227/0.9488, allocations: 0.6775 MB / 0.7966 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/0.9492, allocations: 215.4 kB / 0.7968 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.9492, allocations: 0 / 0.7968 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.06937/1.019, allocations: 54.54 MB / 0.8501 GB, free: 67.89 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)