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.001158/0.001157, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008901/0.008901, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7696/0.7696, allocations: 132.3 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003421, allocations: 8 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4149, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.07028/0.4852, allocations: 70.48 MB / 0.6525 GB, free: 9.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02937/0.5146, allocations: 16.87 MB / 0.669 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003973/0.5186, allocations: 75.5 kB / 0.669 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003453/0.5221, allocations: 0.8589 MB / 0.6699 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007884/0.53, allocations: 2.188 MB / 0.672 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005424/0.5354, allocations: 1.853 MB / 0.6738 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01143/0.5469, allocations: 10.6 MB / 0.6842 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008241/0.5551, allocations: 5.576 MB / 0.6896 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007071/0.5622, allocations: 2.792 MB / 0.6924 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004635/0.5669, allocations: 2.411 MB / 0.6947 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009642/0.5679, allocations: 124 kB / 0.6948 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003874/0.5718, allocations: 1.232 MB / 0.696 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.5732, allocations: 0.6142 MB / 0.6966 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003496/0.5767, allocations: 1.618 MB / 0.6982 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00678/0.5835, allocations: 4.492 MB / 0.7026 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.5835, allocations: 4 kB / 0.7026 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5835, allocations: 0 / 0.7026 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001749/0.5837, allocations: 0 / 0.7026 GB, free: 6.312 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.008244/0.592, allocations: 3.808 MB / 0.7063 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.592, allocations: 8.031 kB / 0.7063 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003301/0.5953, allocations: 0.5736 MB / 0.7069 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007242/0.6026, allocations: 2.639 MB / 0.7095 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.6028, allocations: 139.8 kB / 0.7096 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005698/0.6034, allocations: 191.9 kB / 0.7098 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004707/0.6081, allocations: 2.319 MB / 0.712 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.61e-05/0.6082, allocations: 7.938 kB / 0.7121 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.6084, allocations: 75.94 kB / 0.7121 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.6084, allocations: 40 kB / 0.7122 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003719/0.6122, allocations: 1.896 MB / 0.714 GB, free: 10.33 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.01528/0.6275, allocations: 11.67 MB / 0.7254 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/0.6302, allocations: 1.379 MB / 0.7268 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.6318, allocations: 1.013 MB / 0.7277 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006455/0.6383, allocations: 3.752 MB / 0.7314 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001421/0.6397, allocations: 0.7896 MB / 0.7322 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001789/0.6415, allocations: 446.6 kB / 0.7326 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=96): time 4.779e-06/0.6416, allocations: 0 / 0.7326 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96): time 0.01227/0.6538, allocations: 4.195 MB / 0.7367 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.6539, allocations: 68.34 kB / 0.7368 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/0.6579, allocations: 2.86 MB / 0.7396 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002622/0.6581, allocations: 61.7 kB / 0.7396 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.6594, allocations: 1.429 MB / 0.741 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003789/0.6598, allocations: 339.2 kB / 0.7413 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.66, allocations: 125.6 kB / 0.7415 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.6602, allocations: 309.1 kB / 0.7418 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.6615, allocations: 0.6675 MB / 0.7424 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.6633, allocations: 1.418 MB / 0.7438 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/0.6663, allocations: 1.886 MB / 0.7456 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.6663, allocations: 4 kB / 0.7456 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006261/0.6726, allocations: 2.815 MB / 0.7484 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004154/0.673, allocations: 0.5405 MB / 0.7489 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.6731, allocations: 16 kB / 0.7489 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/0.6755, allocations: 0.6883 MB / 0.7496 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.6767, allocations: 289.4 kB / 0.7499 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.6785, allocations: 1.912 MB / 0.7517 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.6808, allocations: 180.7 kB / 0.7519 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.681, allocations: 75.97 kB / 0.752 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.681, allocations: 4 kB / 0.752 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004065/0.6851, allocations: 2.366 MB / 0.7543 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.6851, allocations: 19.98 kB / 0.7543 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009285/0.686, allocations: 469.6 kB / 0.7548 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.6872, allocations: 277.4 kB / 0.755 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006684/0.6939, allocations: 5.854 MB / 0.7608 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.6961, allocations: 180.8 kB / 0.7609 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.6963, allocations: 71.98 kB / 0.761 GB, free: 8.062 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (133): * Single equations (assignments): 129 * 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.001507/0.6978, allocations: 0.8312 MB / 0.7618 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/0.6982, allocations: 292.2 kB / 0.7621 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/0.7026, allocations: 2.312 MB / 0.7643 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.7027, allocations: 11.98 kB / 0.7644 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7027, allocations: 4 kB / 0.7644 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003242/0.7059, allocations: 2.002 MB / 0.7663 GB, free: 2.508 MB / 0.5919 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 postOpt removeSimpleEquations (simulation): time 0.007188/0.7131, allocations: 4.348 MB / 0.7706 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.7132, allocations: 0 / 0.7706 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/0.7139, allocations: 149.4 kB / 0.7707 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.715, allocations: 492.8 kB / 0.7712 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.24e-05/0.7151, allocations: 23.98 kB / 0.7712 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.7167, allocations: 1.861 MB / 0.773 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7167, allocations: 4.125 kB / 0.773 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/0.7222, allocations: 3.068 MB / 0.776 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.7235, allocations: 0.4933 MB / 0.7765 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003423/0.7239, allocations: 27.98 kB / 0.7765 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.7252, allocations: 143.8 kB / 0.7767 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.7254, allocations: 64.91 kB / 0.7767 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.713e-05/0.7255, allocations: 39.97 kB / 0.7768 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00254/0.728, allocations: 1.955 MB / 0.7787 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.728, allocations: 0 / 0.7787 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003436/0.7315, allocations: 1.361 MB / 0.78 GB, free: 4.297 MB / 0.6075 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 (58): * Single equations (assignments): 50 * 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.001056/0.7325, allocations: 450.7 kB / 0.7804 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005944/0.7385, allocations: 3.13 MB / 0.7835 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.7385, allocations: 0 / 0.7835 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.7401, allocations: 0.7612 MB / 0.7842 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006356/0.7464, allocations: 1.171 MB / 0.7854 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009411/0.7559, allocations: 6.111 MB / 0.7913 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/0.7575, allocations: 2.037 MB / 0.7933 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002829/0.7603, allocations: 0.7177 MB / 0.794 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/0.7608, allocations: 199.3 kB / 0.7942 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of SimCode: time 9.32e-07/0.7608, allocations: 0 / 0.7942 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of Templates: time 0.3703/1.131, allocations: 51.2 MB / 0.8442 GB, free: 195.6 MB / 0.6387 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)