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.0008264/0.0008266, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009151/0.0009152, allocations: 172.7 kB / 15.95 MB, free: 208 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.431/1.431, allocations: 223.3 MB / 240 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.9888/0.9888, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0004998, allocations: 11.98 kB / 0.507 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1974, allocations: 82.31 MB / 0.5874 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.4067/0.6041, allocations: 28.11 MB / 0.6148 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.6254, allocations: 9.585 MB / 0.6242 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.6282, allocations: 36.84 kB / 0.6242 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.6314, allocations: 476.4 kB / 0.6247 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00677/0.6382, allocations: 1.219 MB / 0.6259 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005822/0.644, allocations: 1.001 MB / 0.6268 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007397/0.6515, allocations: 3.337 MB / 0.6301 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.6541, allocations: 0.7291 MB / 0.6308 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003827/0.6579, allocations: 0.9544 MB / 0.6317 GB, free: 30 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.6607, allocations: 0.764 MB / 0.6325 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005085/0.6612, allocations: 39.72 kB / 0.6325 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.6647, allocations: 0.5313 MB / 0.633 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008799/0.6656, allocations: 277.8 kB / 0.6333 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.6667, allocations: 254.2 kB / 0.6335 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003483/0.6702, allocations: 1.424 MB / 0.6349 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.6703, allocations: 0 / 0.6349 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.016e-06/0.6703, allocations: 0 / 0.6349 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.286e-05/0.6704, allocations: 0 / 0.6349 GB, free: 28.95 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.004981/0.6754, allocations: 1.345 MB / 0.6363 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.8e-05/0.6755, allocations: 11.69 kB / 0.6363 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.6775, allocations: 227.7 kB / 0.6365 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003943/0.6815, allocations: 0.9909 MB / 0.6374 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.6816, allocations: 52.81 kB / 0.6375 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002959/0.6819, allocations: 79.83 kB / 0.6376 GB, free: 27.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.6847, allocations: 0.7424 MB / 0.6383 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.608e-05/0.6848, allocations: 3.938 kB / 0.6383 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.6849, allocations: 26.53 kB / 0.6383 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-05/0.685, allocations: 27.22 kB / 0.6384 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.6875, allocations: 0.5874 MB / 0.6389 GB, free: 26.75 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.008251/0.6957, allocations: 3.231 MB / 0.6421 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.6979, allocations: 484.3 kB / 0.6425 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008254/0.6988, allocations: 222 kB / 0.6428 GB, free: 24.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003496/0.7023, allocations: 1.579 MB / 0.6443 GB, free: 22.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009633/0.7033, allocations: 285.4 kB / 0.6446 GB, free: 22.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000696/0.704, allocations: 57 kB / 0.6446 GB, free: 22.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 5.761e-06/0.704, allocations: 0 / 0.6446 GB, free: 22.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.002826/0.7069, allocations: 0.6432 MB / 0.6453 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.707, allocations: 54.03 kB / 0.6453 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.7094, allocations: 0.9289 MB / 0.6462 GB, free: 22.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.7095, allocations: 36.42 kB / 0.6462 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006759/0.7102, allocations: 0.5049 MB / 0.6467 GB, free: 21.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.7105, allocations: 127.5 kB / 0.6469 GB, free: 21.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.7105, allocations: 10.78 kB / 0.6469 GB, free: 21.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.7106, allocations: 336.1 kB / 0.6472 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009093/0.7116, allocations: 204.4 kB / 0.6474 GB, free: 21.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.7127, allocations: 430 kB / 0.6478 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000977/0.7137, allocations: 262.8 kB / 0.648 GB, free: 20.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.7137, allocations: 0 / 0.648 GB, free: 20.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002791/0.7165, allocations: 0.7217 MB / 0.6488 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000278/0.7168, allocations: 261 kB / 0.649 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.7169, allocations: 6.969 kB / 0.649 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.434e-05/0.7169, allocations: 18.25 kB / 0.649 GB, free: 20.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.718, allocations: 149.1 kB / 0.6492 GB, free: 20.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.452e-05/0.7181, allocations: 12.16 kB / 0.6492 GB, free: 20.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.7199, allocations: 74.78 kB / 0.6492 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.72, allocations: 36.34 kB / 0.6493 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.7201, allocations: 2.906 kB / 0.6493 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002019/0.7221, allocations: 0.5505 MB / 0.6498 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.7222, allocations: 5.344 kB / 0.6498 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-05/0.7222, allocations: 10.69 kB / 0.6498 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.7233, allocations: 137.2 kB / 0.65 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.175e-05/0.7233, allocations: 12.55 kB / 0.65 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.7248, allocations: 67.98 kB / 0.65 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.725, allocations: 30.86 kB / 0.6501 GB, free: 19.81 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.001074/0.7261, allocations: 371.2 kB / 0.6504 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004622/0.7266, allocations: 104.2 kB / 0.6505 GB, free: 19.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/0.7296, allocations: 0.6543 MB / 0.6512 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.7297, allocations: 4.844 kB / 0.6512 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.7297, allocations: 0.6562 kB / 0.6512 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002053/0.7318, allocations: 0.7105 MB / 0.6519 GB, free: 18.71 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 postOpt removeSimpleEquations (simulation): time 0.006303/0.7381, allocations: 1.57 MB / 0.6534 GB, free: 17.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.7381, allocations: 1.5 kB / 0.6534 GB, free: 17.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009394/0.7391, allocations: 95.67 kB / 0.6535 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.19e-05/0.7391, allocations: 6.531 kB / 0.6535 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-05/0.7392, allocations: 14.28 kB / 0.6535 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.7392, allocations: 2.844 kB / 0.6535 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.7392, allocations: 1.781 kB / 0.6535 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003635/0.7429, allocations: 0.9559 MB / 0.6545 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008851/0.7438, allocations: 232.4 kB / 0.6547 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004719/0.7443, allocations: 9.203 kB / 0.6547 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.7454, allocations: 63.47 kB / 0.6547 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.7456, allocations: 31.16 kB / 0.6548 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-05/0.7457, allocations: 20.41 kB / 0.6548 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002062/0.7478, allocations: 0.6383 MB / 0.6554 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7478, allocations: 0 / 0.6554 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003451/0.7512, allocations: 0.528 MB / 0.6559 GB, free: 16.77 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.001589/0.7529, allocations: 368.6 kB / 0.6563 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003255/0.7561, allocations: 0.8127 MB / 0.6571 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.7562, allocations: 4.062 kB / 0.6571 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009271/0.7571, allocations: 246.2 kB / 0.6573 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/0.7613, allocations: 495.3 kB / 0.6578 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00624/0.7676, allocations: 2.163 MB / 0.6599 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009594/0.7686, allocations: 1.08 MB / 0.661 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00211/0.7707, allocations: 246.7 kB / 0.6612 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/0.7711, allocations: 85.33 kB / 0.6613 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of SimCode: time 1.342e-06/0.7711, allocations: 0 / 0.6613 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.0644/0.8355, allocations: 19.37 MB / 0.6802 GB, free: 8.492 MB / 0.4981 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)