Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 112.6 kB / 16.37 MB, free: 6 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.001581/0.001581, allocations: 196 kB / 17.31 MB, free: 5.613 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7963/0.7963, allocations: 132.2 MB / 423.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 71.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3788, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02319/0.4021, allocations: 30.6 MB / 0.6114 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01519/0.4173, allocations: 10.21 MB / 0.6213 GB, free: 5.375 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.419, allocations: 47.75 kB / 0.6214 GB, free: 5.328 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.4209, allocations: 0.6932 MB / 0.6221 GB, free: 4.633 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003463/0.4244, allocations: 1.45 MB / 0.6235 GB, free: 3.176 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.4273, allocations: 1.311 MB / 0.6248 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00335/0.4306, allocations: 2.881 MB / 0.6276 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.4318, allocations: 0.9254 MB / 0.6285 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.434, allocations: 1.143 MB / 0.6296 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008823/0.4349, allocations: 0.7661 MB / 0.6303 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.435, allocations: 96 kB / 0.6304 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.4365, allocations: 0.8074 MB / 0.6312 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.4369, allocations: 331 kB / 0.6315 GB, free: 10.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005555/0.4374, allocations: 0.5791 MB / 0.6321 GB, free: 10.33 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.4396, allocations: 1.897 MB / 0.6339 GB, free: 8.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4397, allocations: 0 / 0.6339 GB, free: 8.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4397, allocations: 0 / 0.6339 GB, free: 8.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.4397, allocations: 0 / 0.6339 GB, free: 8.43 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.00235/0.442, allocations: 1.485 MB / 0.6354 GB, free: 6.883 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.4421, allocations: 8.031 kB / 0.6354 GB, free: 6.875 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009833/0.4431, allocations: 203.3 kB / 0.6356 GB, free: 6.676 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.4449, allocations: 1.019 MB / 0.6366 GB, free: 5.613 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.4449, allocations: 57.3 kB / 0.6366 GB, free: 5.559 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.445, allocations: 64 kB / 0.6367 GB, free: 5.496 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.4463, allocations: 0.702 MB / 0.6374 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.4463, allocations: 0 / 0.6374 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.4464, allocations: 28 kB / 0.6374 GB, free: 4.738 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.4464, allocations: 19.98 kB / 0.6374 GB, free: 4.719 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.4475, allocations: 0.5126 MB / 0.6379 GB, free: 4.207 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.003959/0.4515, allocations: 3.062 MB / 0.6409 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009067/0.4524, allocations: 389.1 kB / 0.6413 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/0.4528, allocations: 180.8 kB / 0.6415 GB, free: 404 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001877/0.4547, allocations: 1.493 MB / 0.6429 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/0.4553, allocations: 240.7 kB / 0.6432 GB, free: 14.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.4553, allocations: 4 kB / 0.6432 GB, free: 14.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001398/0.4567, allocations: 0.5393 MB / 0.6437 GB, free: 13.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.4568, allocations: 63.34 kB / 0.6438 GB, free: 13.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.4579, allocations: 0.8994 MB / 0.6446 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.458, allocations: 33.7 kB / 0.6447 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.4584, allocations: 487.8 kB / 0.6451 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.4585, allocations: 102.5 kB / 0.6452 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.4587, allocations: 126 kB / 0.6453 GB, free: 12.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4588, allocations: 326 kB / 0.6457 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.4593, allocations: 207 kB / 0.6459 GB, free: 11.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.4599, allocations: 402.8 kB / 0.6462 GB, free: 11.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.4609, allocations: 0.5906 MB / 0.6468 GB, free: 10.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.461, allocations: 7.875 kB / 0.6468 GB, free: 10.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001404/0.4624, allocations: 0.7068 MB / 0.6475 GB, free: 9.773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.4624, allocations: 33.7 kB / 0.6475 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.4624, allocations: 8 kB / 0.6476 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.4625, allocations: 8 kB / 0.6476 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.463, allocations: 128.1 kB / 0.6477 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.463, allocations: 19.92 kB / 0.6477 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.4636, allocations: 72.02 kB / 0.6478 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.714e-05/0.4637, allocations: 31.98 kB / 0.6478 GB, free: 9.473 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006383/0.4643, allocations: 393.1 kB / 0.6482 GB, free: 9.086 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005139/0.4649, allocations: 386.1 kB / 0.6485 GB, free: 8.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008374/0.4657, allocations: 0.5424 MB / 0.6491 GB, free: 7.988 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.599e-06/0.4657, allocations: 4 kB / 0.6491 GB, free: 7.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001165/0.4669, allocations: 0.6617 MB / 0.6497 GB, free: 7.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.4669, allocations: 33.7 kB / 0.6498 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.467, allocations: 7.984 kB / 0.6498 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.467, allocations: 8 kB / 0.6498 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.4674, allocations: 124.3 kB / 0.6499 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.4674, allocations: 8 kB / 0.6499 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.4679, allocations: 64.19 kB / 0.65 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.468, allocations: 28.16 kB / 0.65 GB, free: 7.035 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 1 * Algorithm blocks: 1 * 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.0001707/0.4682, allocations: 216.1 kB / 0.6502 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.4683, allocations: 98.77 kB / 0.6503 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.4697, allocations: 0.5769 MB / 0.6509 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4697, allocations: 8 kB / 0.6509 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4697, allocations: 3.938 kB / 0.6509 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009563/0.4707, allocations: 0.6466 MB / 0.6515 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.4728, allocations: 1.363 MB / 0.6528 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.4728, allocations: 0 / 0.6528 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.4732, allocations: 79.88 kB / 0.6529 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4732, allocations: 0 / 0.6529 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.4733, allocations: 19.97 kB / 0.6529 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.4733, allocations: 3.938 kB / 0.6529 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.4733, allocations: 12.06 kB / 0.6529 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.4748, allocations: 0.8247 MB / 0.6537 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.4752, allocations: 215.8 kB / 0.6539 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.4753, allocations: 15.98 kB / 0.654 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.4757, allocations: 20.05 kB / 0.654 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.4758, allocations: 36.17 kB / 0.654 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.4758, allocations: 19.98 kB / 0.654 GB, free: 2.691 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007382/0.4766, allocations: 0.618 MB / 0.6546 GB, free: 2.062 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4766, allocations: 0 / 0.6546 GB, free: 2.062 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001369/0.478, allocations: 0.499 MB / 0.6551 GB, free: 1.562 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.001025/0.479, allocations: 373.6 kB / 0.6555 GB, free: 1.199 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.4811, allocations: 0.8592 MB / 0.6563 GB, free: 324 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.4811, allocations: 0 / 0.6563 GB, free: 324 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.4816, allocations: 221 kB / 0.6565 GB, free: 104 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.4836, allocations: 0.4965 MB / 0.657 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.4863, allocations: 1.593 MB / 0.6586 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.4869, allocations: 1.048 MB / 0.6596 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007143/0.4877, allocations: 229.3 kB / 0.6598 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.4879, allocations: 79.41 kB / 0.6599 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of SimCode: time 1.272e-06/0.4879, allocations: 0 / 0.6599 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.03204/0.5199, allocations: 20.02 MB / 0.6794 GB, free: 8.863 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)