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.0008417/0.0008417, allocations: 100.3 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.000889/0.000889, allocations: 177.3 kB / 15.94 MB, free: 228 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.216/1.216, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8427/0.8427, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 8 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1526, allocations: 82.32 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.2588/0.4114, allocations: 25.65 MB / 0.6122 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009014/0.4205, allocations: 8.938 MB / 0.621 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008613/0.4214, allocations: 35.94 kB / 0.621 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.4227, allocations: 0.5417 MB / 0.6215 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.4253, allocations: 1.346 MB / 0.6228 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.4281, allocations: 1.34 MB / 0.6242 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.43, allocations: 1.72 MB / 0.6258 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008154/0.4309, allocations: 0.7337 MB / 0.6266 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.432, allocations: 0.8068 MB / 0.6273 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004838/0.4325, allocations: 0.5284 MB / 0.6279 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/0.4326, allocations: 37.75 kB / 0.6279 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.4337, allocations: 0.5525 MB / 0.6284 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.4339, allocations: 267.2 kB / 0.6287 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.434, allocations: 254.4 kB / 0.6289 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009824/0.435, allocations: 1.406 MB / 0.6303 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.435, allocations: 0 / 0.6303 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4351, allocations: 2.969 kB / 0.6303 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.4351, allocations: 0 / 0.6303 GB, free: 30.91 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.00175/0.4368, allocations: 1.345 MB / 0.6316 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.4369, allocations: 6.781 kB / 0.6316 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008206/0.4377, allocations: 219.8 kB / 0.6318 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.4389, allocations: 0.9935 MB / 0.6328 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.439, allocations: 49.69 kB / 0.6329 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.497e-05/0.4391, allocations: 76.16 kB / 0.6329 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.4401, allocations: 0.7319 MB / 0.6336 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.4401, allocations: 3.938 kB / 0.6336 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.4402, allocations: 30.17 kB / 0.6337 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.4402, allocations: 22.56 kB / 0.6337 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.4413, allocations: 0.5748 MB / 0.6343 GB, free: 28.77 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.003042/0.4443, allocations: 3.218 MB / 0.6374 GB, free: 26.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.4453, allocations: 469.8 kB / 0.6378 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/0.4468, allocations: 1.625 MB / 0.6394 GB, free: 25.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/0.4473, allocations: 270.1 kB / 0.6397 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002036/0.4475, allocations: 60.95 kB / 0.6397 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.164e-06/0.4475, allocations: 4 kB / 0.6398 GB, free: 24.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001273/0.4488, allocations: 0.6212 MB / 0.6404 GB, free: 24.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.4488, allocations: 54.25 kB / 0.6404 GB, free: 24.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/0.4497, allocations: 0.9498 MB / 0.6413 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.4498, allocations: 36.39 kB / 0.6414 GB, free: 24.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.45, allocations: 0.4946 MB / 0.6419 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.412e-05/0.4501, allocations: 136.9 kB / 0.642 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.4502, allocations: 13.11 kB / 0.642 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.4502, allocations: 327 kB / 0.6423 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.4507, allocations: 200.1 kB / 0.6425 GB, free: 23.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.4511, allocations: 422.8 kB / 0.6429 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.4516, allocations: 254 kB / 0.6431 GB, free: 22.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.4516, allocations: 2.812 kB / 0.6432 GB, free: 22.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001131/0.4528, allocations: 0.718 MB / 0.6439 GB, free: 22.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003588/0.4531, allocations: 2.353 MB / 0.6461 GB, free: 20.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4531, allocations: 5.5 kB / 0.6462 GB, free: 20.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.4532, allocations: 14.77 kB / 0.6462 GB, free: 20.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.4537, allocations: 159.4 kB / 0.6463 GB, free: 20.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.4537, allocations: 8.5 kB / 0.6463 GB, free: 20.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006543/0.4544, allocations: 75.05 kB / 0.6464 GB, free: 19.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.4544, allocations: 32.03 kB / 0.6464 GB, free: 19.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/0.4545, allocations: 5.25 kB / 0.6464 GB, free: 19.99 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008067/0.4553, allocations: 0.5421 MB / 0.647 GB, free: 19.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4553, allocations: 9.844 kB / 0.647 GB, free: 19.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.4553, allocations: 8.844 kB / 0.647 GB, free: 19.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.4557, allocations: 140.4 kB / 0.6471 GB, free: 19.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.4557, allocations: 12.52 kB / 0.6471 GB, free: 19.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.4563, allocations: 53.94 kB / 0.6472 GB, free: 19.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.4564, allocations: 34.91 kB / 0.6472 GB, free: 19.74 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.0003989/0.4568, allocations: 378.9 kB / 0.6476 GB, free: 19.44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.4569, allocations: 95.53 kB / 0.6477 GB, free: 19.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.4582, allocations: 0.655 MB / 0.6483 GB, free: 19.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.4582, allocations: 8.625 kB / 0.6483 GB, free: 19.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4582, allocations: 0 / 0.6483 GB, free: 19.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008522/0.4591, allocations: 0.6894 MB / 0.649 GB, free: 18.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.4612, allocations: 1.556 MB / 0.6505 GB, free: 17.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4612, allocations: 0 / 0.6505 GB, free: 17.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000424/0.4616, allocations: 94.42 kB / 0.6506 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.4616, allocations: 3.312 kB / 0.6506 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.4617, allocations: 17.8 kB / 0.6506 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.4617, allocations: 7.109 kB / 0.6506 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4617, allocations: 5.141 kB / 0.6506 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.4633, allocations: 0.9739 MB / 0.6516 GB, free: 17.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.4636, allocations: 244.5 kB / 0.6518 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.4637, allocations: 13.25 kB / 0.6518 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005515/0.4643, allocations: 53.73 kB / 0.6519 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.4643, allocations: 32.25 kB / 0.6519 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.4644, allocations: 19.25 kB / 0.6519 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008129/0.4652, allocations: 0.6507 MB / 0.6526 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4652, allocations: 0 / 0.6526 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001498/0.4667, allocations: 0.5364 MB / 0.6531 GB, free: 16.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 (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.0007429/0.4675, allocations: 374.7 kB / 0.6534 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.469, allocations: 0.7993 MB / 0.6542 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4691, allocations: 0.8438 kB / 0.6542 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.4696, allocations: 242 kB / 0.6545 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.4714, allocations: 484.4 kB / 0.6549 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.4744, allocations: 2.158 MB / 0.657 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/0.475, allocations: 1.102 MB / 0.6581 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009296/0.4759, allocations: 248.3 kB / 0.6583 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.4762, allocations: 93.91 kB / 0.6584 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.4762, allocations: 0 / 0.6584 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.03019/0.5064, allocations: 19.62 MB / 0.6776 GB, free: 8.98 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: