Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00162/0.00162, allocations: 102.4 kB / 16.27 MB, free: 6.414 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.001771/0.001771, allocations: 189.2 kB / 17.2 MB, free: 5.953 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.419/1.419, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8459/0.8459, allocations: 135.1 MB / 426.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 59.91 kB / 0.506 GB, free: 8.395 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3917, allocations: 80.91 MB / 0.585 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.02366/0.4154, allocations: 30.66 MB / 0.6149 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01395/0.4294, allocations: 10.27 MB / 0.625 GB, free: 1.613 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.431, allocations: 43.75 kB / 0.625 GB, free: 1.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.433, allocations: 0.701 MB / 0.6257 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003947/0.4371, allocations: 1.477 MB / 0.6272 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.4405, allocations: 1.335 MB / 0.6285 GB, free: 14.06 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004075/0.4446, allocations: 2.959 MB / 0.6313 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.4462, allocations: 0.9842 MB / 0.6323 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.4489, allocations: 1.169 MB / 0.6334 GB, free: 8.93 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.4503, allocations: 0.805 MB / 0.6342 GB, free: 8.121 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003065/0.4507, allocations: 104 kB / 0.6343 GB, free: 8.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.4526, allocations: 0.7919 MB / 0.6351 GB, free: 7.227 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004862/0.4531, allocations: 350.9 kB / 0.6354 GB, free: 6.883 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009651/0.454, allocations: 0.6219 MB / 0.636 GB, free: 6.258 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.4571, allocations: 1.94 MB / 0.6379 GB, free: 4.312 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4571, allocations: 0 / 0.6379 GB, free: 4.312 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4571, allocations: 3.938 kB / 0.6379 GB, free: 4.309 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.397e-05/0.4572, allocations: 0 / 0.6379 GB, free: 4.309 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.003022/0.4602, allocations: 1.53 MB / 0.6394 GB, free: 2.723 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4603, allocations: 13.11 kB / 0.6395 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.4614, allocations: 211.3 kB / 0.6397 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.4634, allocations: 1.015 MB / 0.6406 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.725e-05/0.4635, allocations: 53.31 kB / 0.6407 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.4636, allocations: 79.97 kB / 0.6408 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.4649, allocations: 0.7254 MB / 0.6415 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.465, allocations: 4 kB / 0.6415 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.465, allocations: 28 kB / 0.6415 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.4651, allocations: 25.31 kB / 0.6415 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.4663, allocations: 0.5359 MB / 0.6421 GB, free: 15.97 MB / 494.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.004348/0.4706, allocations: 3.171 MB / 0.6452 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.4718, allocations: 450.1 kB / 0.6456 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004115/0.4722, allocations: 196.5 kB / 0.6458 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002062/0.4743, allocations: 1.536 MB / 0.6473 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005281/0.4748, allocations: 243.3 kB / 0.6475 GB, free: 10.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 4.819e-06/0.4748, allocations: 4 kB / 0.6475 GB, free: 10.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001451/0.4763, allocations: 0.5802 MB / 0.6481 GB, free: 9.422 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.4764, allocations: 55.41 kB / 0.6481 GB, free: 9.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.4779, allocations: 0.9491 MB / 0.6491 GB, free: 8.387 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.918e-05/0.478, allocations: 33.7 kB / 0.6491 GB, free: 8.348 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/0.4785, allocations: 0.4996 MB / 0.6496 GB, free: 7.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.4786, allocations: 130.2 kB / 0.6497 GB, free: 7.715 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.4788, allocations: 130.1 kB / 0.6498 GB, free: 7.582 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.479, allocations: 326 kB / 0.6501 GB, free: 7.258 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004486/0.4794, allocations: 207.1 kB / 0.6503 GB, free: 7.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/0.4801, allocations: 419.7 kB / 0.6507 GB, free: 6.551 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.4811, allocations: 0.6 MB / 0.6513 GB, free: 5.867 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.4811, allocations: 4 kB / 0.6513 GB, free: 5.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001473/0.4826, allocations: 0.7187 MB / 0.652 GB, free: 5.137 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.4826, allocations: 8 kB / 0.652 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.4826, allocations: 4 kB / 0.652 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.4827, allocations: 16 kB / 0.652 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.4833, allocations: 139.8 kB / 0.6522 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/0.4833, allocations: 16.2 kB / 0.6522 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006973/0.484, allocations: 76.02 kB / 0.6523 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/0.4841, allocations: 31.98 kB / 0.6523 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006965/0.4848, allocations: 417.1 kB / 0.6527 GB, free: 4.441 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004991/0.4853, allocations: 395.8 kB / 0.6531 GB, free: 3.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008282/0.4861, allocations: 0.5498 MB / 0.6536 GB, free: 3.328 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.278e-06/0.4861, allocations: 0 / 0.6536 GB, free: 3.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001223/0.4874, allocations: 0.6641 MB / 0.6543 GB, free: 2.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4874, allocations: 11.94 kB / 0.6543 GB, free: 2.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4874, allocations: 4 kB / 0.6543 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.4874, allocations: 12 kB / 0.6543 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.4879, allocations: 135.8 kB / 0.6544 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.488, allocations: 11.94 kB / 0.6544 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/0.4886, allocations: 68.48 kB / 0.6545 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.4886, allocations: 28 kB / 0.6545 GB, free: 2.391 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.0002202/0.4889, allocations: 213.4 kB / 0.6547 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.489, allocations: 102.7 kB / 0.6548 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.4905, allocations: 0.6202 MB / 0.6554 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.4905, allocations: 4 kB / 0.6554 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4905, allocations: 3.938 kB / 0.6554 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009733/0.4915, allocations: 0.6703 MB / 0.6561 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.494, allocations: 1.432 MB / 0.6575 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.494, allocations: 4 kB / 0.6575 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.4944, allocations: 83.88 kB / 0.6576 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.168e-06/0.4944, allocations: 4 kB / 0.6576 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.4945, allocations: 15.98 kB / 0.6576 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4945, allocations: 4 kB / 0.6576 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.4945, allocations: 11.92 kB / 0.6576 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.4961, allocations: 0.8794 MB / 0.6585 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004039/0.4966, allocations: 231.7 kB / 0.6587 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.4967, allocations: 15.98 kB / 0.6587 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.4972, allocations: 15.98 kB / 0.6587 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.4973, allocations: 39.83 kB / 0.6588 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.4974, allocations: 23.92 kB / 0.6588 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009423/0.4983, allocations: 0.6468 MB / 0.6594 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.403e-06/0.4983, allocations: 0 / 0.6594 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001657/0.5, allocations: 0.5339 MB / 0.6599 GB, free: 12.64 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 (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.0009464/0.501, allocations: 372.8 kB / 0.6603 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.5028, allocations: 0.8041 MB / 0.6611 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5029, allocations: 4.062 kB / 0.6611 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004919/0.5034, allocations: 231.7 kB / 0.6613 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.5058, allocations: 0.5013 MB / 0.6618 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.5098, allocations: 1.825 MB / 0.6636 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/0.5106, allocations: 1.076 MB / 0.6646 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.5109, allocations: 95.39 kB / 0.6647 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of SimCode: time 1.273e-06/0.5109, allocations: 0 / 0.6647 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of Templates: time 0.02811/0.539, allocations: 18.18 MB / 0.6825 GB, free: 5.688 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)