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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.0009226/0.0009226, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008634/0.0008634, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8533/0.8533, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 12 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1504, allocations: 82.3 MB / 0.5872 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.2687/0.4191, allocations: 25.65 MB / 0.6122 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009287/0.4285, allocations: 8.948 MB / 0.621 GB, free: 34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009994/0.4295, allocations: 35.66 kB / 0.621 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.4309, allocations: 0.5466 MB / 0.6215 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.4337, allocations: 1.341 MB / 0.6229 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.4366, allocations: 1.343 MB / 0.6242 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002086/0.4387, allocations: 1.708 MB / 0.6258 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007509/0.4394, allocations: 0.7482 MB / 0.6266 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.4405, allocations: 0.7945 MB / 0.6273 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000484/0.441, allocations: 0.5301 MB / 0.6279 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.053e-05/0.4411, allocations: 41.16 kB / 0.6279 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.4422, allocations: 0.5558 MB / 0.6284 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.4425, allocations: 262 kB / 0.6287 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.4426, allocations: 249.7 kB / 0.6289 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.4437, allocations: 1.414 MB / 0.6303 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.4437, allocations: 0 / 0.6303 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4437, allocations: 0 / 0.6303 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.4437, allocations: 0 / 0.6303 GB, free: 30.96 MB / 0.4981 GB 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.001802/0.4455, allocations: 1.344 MB / 0.6316 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.61e-05/0.4456, allocations: 8.781 kB / 0.6316 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008036/0.4464, allocations: 220.1 kB / 0.6318 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.4477, allocations: 0.9864 MB / 0.6328 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.4477, allocations: 54.11 kB / 0.6329 GB, free: 29.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.05e-05/0.4478, allocations: 75.34 kB / 0.6329 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.4488, allocations: 0.7315 MB / 0.6336 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.4489, allocations: 4 kB / 0.6336 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-05/0.4489, allocations: 33.42 kB / 0.6337 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.4489, allocations: 22.66 kB / 0.6337 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.45, allocations: 0.5774 MB / 0.6343 GB, free: 28.82 MB / 0.4981 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.003039/0.453, allocations: 3.213 MB / 0.6374 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009813/0.454, allocations: 469.2 kB / 0.6378 GB, free: 26.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.4554, allocations: 1.623 MB / 0.6394 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004543/0.4559, allocations: 268.7 kB / 0.6397 GB, free: 25 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001789/0.4561, allocations: 61.5 kB / 0.6397 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.884e-06/0.4561, allocations: 0 / 0.6397 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001261/0.4573, allocations: 0.629 MB / 0.6404 GB, free: 24.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.4574, allocations: 54.38 kB / 0.6404 GB, free: 24.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008577/0.4582, allocations: 0.9447 MB / 0.6413 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.4583, allocations: 32.83 kB / 0.6414 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.4585, allocations: 0.5012 MB / 0.6419 GB, free: 23.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.4586, allocations: 130.4 kB / 0.642 GB, free: 23.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.4587, allocations: 10.5 kB / 0.642 GB, free: 23.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.625e-05/0.4587, allocations: 333.5 kB / 0.6423 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/0.4591, allocations: 199.5 kB / 0.6425 GB, free: 23.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.4596, allocations: 424.2 kB / 0.6429 GB, free: 23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.46, allocations: 253.5 kB / 0.6431 GB, free: 22.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.46, allocations: 2.625 kB / 0.6431 GB, free: 22.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001113/0.4612, allocations: 0.7178 MB / 0.6438 GB, free: 22.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003392/0.4615, allocations: 2.358 MB / 0.6462 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4615, allocations: 7.375 kB / 0.6462 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.4616, allocations: 12.72 kB / 0.6462 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.4621, allocations: 158.3 kB / 0.6463 GB, free: 20.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.4621, allocations: 15.89 kB / 0.6463 GB, free: 20.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006221/0.4627, allocations: 67.23 kB / 0.6464 GB, free: 20.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.4628, allocations: 33.33 kB / 0.6464 GB, free: 20.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.4628, allocations: 2.844 kB / 0.6464 GB, free: 20.04 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000739/0.4635, allocations: 0.5393 MB / 0.647 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4636, allocations: 6.344 kB / 0.647 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.4636, allocations: 14.81 kB / 0.647 GB, free: 19.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.464, allocations: 138.4 kB / 0.6471 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.464, allocations: 17.89 kB / 0.6471 GB, free: 19.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.4645, allocations: 50.88 kB / 0.6472 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.4646, allocations: 34.98 kB / 0.6472 GB, free: 19.79 MB / 0.4981 GB 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.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003068/0.4649, allocations: 371.1 kB / 0.6476 GB, free: 19.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.489e-05/0.465, allocations: 99.44 kB / 0.6477 GB, free: 19.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.4661, allocations: 0.6572 MB / 0.6483 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.4661, allocations: 5.25 kB / 0.6483 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4661, allocations: 0 / 0.6483 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008234/0.467, allocations: 0.6973 MB / 0.649 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.4688, allocations: 1.55 MB / 0.6505 GB, free: 17.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.4688, allocations: 3.469 kB / 0.6505 GB, free: 17.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/0.4692, allocations: 101.2 kB / 0.6506 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4692, allocations: 2.656 kB / 0.6506 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.4693, allocations: 13.02 kB / 0.6506 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4693, allocations: 3.406 kB / 0.6506 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4693, allocations: 5.297 kB / 0.6506 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.4708, allocations: 0.9731 MB / 0.6516 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.471, allocations: 244.6 kB / 0.6518 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.4711, allocations: 16.47 kB / 0.6518 GB, free: 17.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005112/0.4717, allocations: 54.08 kB / 0.6519 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.4717, allocations: 30.11 kB / 0.6519 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.4718, allocations: 22.64 kB / 0.6519 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007198/0.4725, allocations: 0.6527 MB / 0.6526 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.4725, allocations: 4 kB / 0.6526 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001308/0.4738, allocations: 0.5334 MB / 0.6531 GB, free: 16.68 MB / 0.4981 GB 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 (45): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006184/0.4745, allocations: 369.1 kB / 0.6534 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.4759, allocations: 0.794 MB / 0.6542 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4759, allocations: 1.562 kB / 0.6542 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.4764, allocations: 251.2 kB / 0.6545 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.4781, allocations: 482.3 kB / 0.6549 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.4806, allocations: 2.155 MB / 0.657 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.4811, allocations: 1.101 MB / 0.6581 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007938/0.4819, allocations: 250.9 kB / 0.6583 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.4821, allocations: 95.19 kB / 0.6584 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.4822, allocations: 0 / 0.6584 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.02976/0.5119, allocations: 19.63 MB / 0.6776 GB, free: 8.996 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: