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.001758/0.001758, allocations: 103.8 kB / 16.35 MB, free: 5.875 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.002/0.002, allocations: 194.4 kB / 17.3 MB, free: 5.516 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7966/0.7966, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 64.09 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3843, allocations: 80.18 MB / 0.5815 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.02169/0.406, allocations: 30.67 MB / 0.6114 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.4209, allocations: 10.27 MB / 0.6215 GB, free: 5.203 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.4225, allocations: 43.75 kB / 0.6215 GB, free: 5.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.4246, allocations: 0.697 MB / 0.6222 GB, free: 4.461 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004304/0.429, allocations: 1.484 MB / 0.6236 GB, free: 2.973 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.4321, allocations: 1.332 MB / 0.6249 GB, free: 1.648 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004461/0.4366, allocations: 2.974 MB / 0.6278 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.4381, allocations: 0.9686 MB / 0.6288 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.4407, allocations: 1.175 MB / 0.6299 GB, free: 12.51 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.4417, allocations: 0.8011 MB / 0.6307 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.4419, allocations: 104 kB / 0.6308 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.4437, allocations: 0.8074 MB / 0.6316 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.4441, allocations: 354.9 kB / 0.632 GB, free: 10.45 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007016/0.4448, allocations: 0.618 MB / 0.6326 GB, free: 9.828 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.4474, allocations: 1.971 MB / 0.6345 GB, free: 7.855 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4475, allocations: 4 kB / 0.6345 GB, free: 7.852 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4475, allocations: 0 / 0.6345 GB, free: 7.852 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.4475, allocations: 0 / 0.6345 GB, free: 7.852 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.002434/0.4499, allocations: 1.526 MB / 0.636 GB, free: 6.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.45, allocations: 15.97 kB / 0.636 GB, free: 6.254 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.451, allocations: 215.2 kB / 0.6362 GB, free: 6.043 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.453, allocations: 1.046 MB / 0.6372 GB, free: 4.953 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.4531, allocations: 65.28 kB / 0.6373 GB, free: 4.891 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.4532, allocations: 64 kB / 0.6373 GB, free: 4.828 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.4545, allocations: 0.7293 MB / 0.6381 GB, free: 4.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4545, allocations: 0 / 0.6381 GB, free: 4.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.4546, allocations: 31.98 kB / 0.6381 GB, free: 4.039 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.4546, allocations: 21.31 kB / 0.6381 GB, free: 4.016 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.4557, allocations: 0.536 MB / 0.6386 GB, free: 3.48 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.003963/0.4597, allocations: 3.167 MB / 0.6417 GB, free: 136 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.4608, allocations: 434.6 kB / 0.6421 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.4612, allocations: 202.5 kB / 0.6423 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002032/0.4633, allocations: 1.536 MB / 0.6438 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004947/0.4638, allocations: 252 kB / 0.6441 GB, free: 13.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.733e-06/0.4638, allocations: 3.938 kB / 0.6441 GB, free: 13.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001276/0.4651, allocations: 0.5746 MB / 0.6446 GB, free: 12.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.4651, allocations: 63.39 kB / 0.6447 GB, free: 12.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.4662, allocations: 0.9374 MB / 0.6456 GB, free: 11.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.4663, allocations: 37.7 kB / 0.6456 GB, free: 11.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/0.4667, allocations: 0.5035 MB / 0.6461 GB, free: 11.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4668, allocations: 122.2 kB / 0.6463 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.467, allocations: 130.1 kB / 0.6464 GB, free: 11.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4671, allocations: 334 kB / 0.6467 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004167/0.4675, allocations: 207.1 kB / 0.6469 GB, free: 10.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005537/0.4681, allocations: 412.3 kB / 0.6473 GB, free: 10.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000935/0.469, allocations: 0.605 MB / 0.6479 GB, free: 9.391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.469, allocations: 0 / 0.6479 GB, free: 9.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001284/0.4703, allocations: 0.7148 MB / 0.6486 GB, free: 8.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4703, allocations: 8 kB / 0.6486 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4704, allocations: 8 kB / 0.6486 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.4704, allocations: 8 kB / 0.6486 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.4709, allocations: 148 kB / 0.6487 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.471, allocations: 16 kB / 0.6488 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005608/0.4715, allocations: 75.91 kB / 0.6488 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.4716, allocations: 35.98 kB / 0.6489 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000596/0.4722, allocations: 409.2 kB / 0.6492 GB, free: 7.973 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004675/0.4727, allocations: 395.8 kB / 0.6496 GB, free: 7.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007645/0.4735, allocations: 0.546 MB / 0.6502 GB, free: 6.867 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.4735, allocations: 8 kB / 0.6502 GB, free: 6.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001075/0.4746, allocations: 0.6563 MB / 0.6508 GB, free: 6.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4746, allocations: 11.94 kB / 0.6508 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.4746, allocations: 8 kB / 0.6508 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.4746, allocations: 8 kB / 0.6508 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.4751, allocations: 136.2 kB / 0.651 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4751, allocations: 19.86 kB / 0.651 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.4756, allocations: 56.23 kB / 0.651 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.4757, allocations: 31.98 kB / 0.6511 GB, free: 5.93 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.0001585/0.4759, allocations: 220 kB / 0.6513 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.476, allocations: 102.7 kB / 0.6514 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.4773, allocations: 0.6161 MB / 0.652 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4773, allocations: 4 kB / 0.652 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.4773, allocations: 4 kB / 0.652 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009623/0.4783, allocations: 0.6702 MB / 0.6526 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.4806, allocations: 1.443 MB / 0.654 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4806, allocations: 0 / 0.654 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.4811, allocations: 87.94 kB / 0.6541 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4811, allocations: 4 kB / 0.6541 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.4811, allocations: 15.98 kB / 0.6542 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.4811, allocations: 4 kB / 0.6542 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4811, allocations: 4 kB / 0.6542 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.4827, allocations: 0.8793 MB / 0.655 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.4831, allocations: 235.7 kB / 0.6552 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.4832, allocations: 12 kB / 0.6553 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.4836, allocations: 19.98 kB / 0.6553 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.4837, allocations: 32.22 kB / 0.6553 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.4838, allocations: 23.98 kB / 0.6553 GB, free: 1.363 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009037/0.4847, allocations: 0.6467 MB / 0.656 GB, free: 0.707 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4847, allocations: 0 / 0.656 GB, free: 0.707 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001552/0.4863, allocations: 0.5262 MB / 0.6565 GB, free: 184 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.0008661/0.4871, allocations: 376.4 kB / 0.6568 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001554/0.4887, allocations: 0.7763 MB / 0.6576 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.4887, allocations: 4.812 kB / 0.6576 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004358/0.4892, allocations: 231.7 kB / 0.6578 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.4911, allocations: 0.4955 MB / 0.6583 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.4939, allocations: 1.74 MB / 0.66 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.4946, allocations: 1.076 MB / 0.661 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008244/0.4954, allocations: 254.6 kB / 0.6613 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.4956, allocations: 83.41 kB / 0.6614 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.4956, allocations: 4 kB / 0.6614 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.03459/0.5302, allocations: 20.31 MB / 0.6812 GB, free: 7.066 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)