Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.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.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 103.4 kB / 16.27 MB, free: 5.984 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.001091/0.001091, allocations: 189 kB / 17.2 MB, free: 5.609 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.388/1.388, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8152/0.8152, allocations: 132.2 MB / 423.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 68.03 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4678, allocations: 80.19 MB / 0.5807 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.02405/0.4919, allocations: 30.68 MB / 0.6107 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01578/0.5077, allocations: 10.26 MB / 0.6207 GB, free: 5.375 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.5098, allocations: 43.75 kB / 0.6208 GB, free: 5.332 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.5123, allocations: 0.6971 MB / 0.6214 GB, free: 4.633 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004615/0.5171, allocations: 1.485 MB / 0.6229 GB, free: 3.145 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.5206, allocations: 1.324 MB / 0.6242 GB, free: 1.828 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004245/0.5248, allocations: 2.966 MB / 0.6271 GB, free: 14.85 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.5265, allocations: 0.9763 MB / 0.628 GB, free: 13.87 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00283/0.5293, allocations: 1.164 MB / 0.6292 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.5308, allocations: 0.805 MB / 0.63 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.531, allocations: 104 kB / 0.6301 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.5329, allocations: 0.8036 MB / 0.6308 GB, free: 10.99 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004208/0.5333, allocations: 350.9 kB / 0.6312 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007561/0.5341, allocations: 0.6181 MB / 0.6318 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002946/0.5371, allocations: 1.936 MB / 0.6337 GB, free: 8.082 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.5371, allocations: 0 / 0.6337 GB, free: 8.082 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5371, allocations: 7.875 kB / 0.6337 GB, free: 8.074 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.5371, allocations: 0 / 0.6337 GB, free: 8.074 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002727/0.5399, allocations: 1.538 MB / 0.6352 GB, free: 6.48 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.5399, allocations: 12.03 kB / 0.6352 GB, free: 6.469 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.5409, allocations: 211.2 kB / 0.6354 GB, free: 6.262 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.5428, allocations: 1.015 MB / 0.6364 GB, free: 5.203 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/0.5429, allocations: 53.31 kB / 0.6364 GB, free: 5.152 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.543, allocations: 68 kB / 0.6365 GB, free: 5.086 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.5443, allocations: 0.7293 MB / 0.6372 GB, free: 4.328 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.5443, allocations: 0 / 0.6372 GB, free: 4.328 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/0.5444, allocations: 24 kB / 0.6372 GB, free: 4.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/0.5444, allocations: 29.3 kB / 0.6373 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.5456, allocations: 0.536 MB / 0.6378 GB, free: 3.738 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.004223/0.5498, allocations: 3.183 MB / 0.6409 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.5509, allocations: 446.3 kB / 0.6413 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.5514, allocations: 200.6 kB / 0.6415 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001919/0.5533, allocations: 1.54 MB / 0.643 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005161/0.5538, allocations: 243.2 kB / 0.6432 GB, free: 13.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.084e-06/0.5538, allocations: 0 / 0.6432 GB, free: 13.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001371/0.5552, allocations: 0.5804 MB / 0.6438 GB, free: 13.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.5553, allocations: 59.41 kB / 0.6439 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.5564, allocations: 0.9374 MB / 0.6448 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.5565, allocations: 37.7 kB / 0.6448 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.5569, allocations: 0.5035 MB / 0.6453 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.5571, allocations: 122.2 kB / 0.6454 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.5573, allocations: 134.1 kB / 0.6456 GB, free: 11.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5574, allocations: 334 kB / 0.6459 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.5579, allocations: 203 kB / 0.6461 GB, free: 10.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.5585, allocations: 420.3 kB / 0.6465 GB, free: 10.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009893/0.5595, allocations: 0.6089 MB / 0.6471 GB, free: 9.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5595, allocations: 0 / 0.6471 GB, free: 9.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001371/0.5609, allocations: 0.7111 MB / 0.6478 GB, free: 8.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5609, allocations: 8.094 kB / 0.6478 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.5609, allocations: 8 kB / 0.6478 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.5609, allocations: 12 kB / 0.6478 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.5615, allocations: 147.7 kB / 0.6479 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.5616, allocations: 8 kB / 0.6479 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/0.5622, allocations: 79.91 kB / 0.648 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.618e-05/0.5623, allocations: 35.98 kB / 0.648 GB, free: 8.609 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007116/0.563, allocations: 417.2 kB / 0.6484 GB, free: 8.199 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005304/0.5635, allocations: 391.8 kB / 0.6488 GB, free: 7.727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008657/0.5644, allocations: 0.5499 MB / 0.6493 GB, free: 7.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/0.5644, allocations: 3.938 kB / 0.6494 GB, free: 7.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00124/0.5657, allocations: 0.6605 MB / 0.65 GB, free: 6.422 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5657, allocations: 10.5 kB / 0.65 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5657, allocations: 8.062 kB / 0.65 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5657, allocations: 12 kB / 0.65 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.5663, allocations: 131.8 kB / 0.6502 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/0.5663, allocations: 19.92 kB / 0.6502 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.5668, allocations: 52.23 kB / 0.6502 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.5669, allocations: 31.98 kB / 0.6503 GB, free: 6.164 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.5671, allocations: 220.1 kB / 0.6505 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.5673, allocations: 98.72 kB / 0.6506 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.5687, allocations: 0.6122 MB / 0.6512 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.5687, allocations: 8 kB / 0.6512 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5687, allocations: 0 / 0.6512 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.5698, allocations: 0.6741 MB / 0.6518 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.5723, allocations: 1.443 MB / 0.6532 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.5724, allocations: 0 / 0.6532 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.5728, allocations: 79.88 kB / 0.6533 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.5728, allocations: 8.125 kB / 0.6533 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.5729, allocations: 19.98 kB / 0.6533 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.5729, allocations: 7.938 kB / 0.6533 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5729, allocations: 0 / 0.6533 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.5745, allocations: 0.8793 MB / 0.6542 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/0.5749, allocations: 231.7 kB / 0.6544 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.5751, allocations: 12 kB / 0.6544 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004749/0.5755, allocations: 19.98 kB / 0.6544 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/0.5756, allocations: 43.77 kB / 0.6545 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.5757, allocations: 19.98 kB / 0.6545 GB, free: 1.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009191/0.5766, allocations: 0.6467 MB / 0.6551 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5766, allocations: 4 kB / 0.6551 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001716/0.5783, allocations: 0.5223 MB / 0.6557 GB, free: 424 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001149/0.5795, allocations: 381 kB / 0.656 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.5815, allocations: 0.811 MB / 0.6568 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.5815, allocations: 0 / 0.6568 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005193/0.5821, allocations: 237.3 kB / 0.657 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.5843, allocations: 0.506 MB / 0.6575 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.588, allocations: 1.816 MB / 0.6593 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009321/0.5889, allocations: 1.076 MB / 0.6604 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.5893, allocations: 95.34 kB / 0.6604 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of SimCode: time 9.61e-07/0.5893, allocations: 4 kB / 0.6605 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.03073/0.62, allocations: 18.19 MB / 0.6782 GB, free: 9.438 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)