Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001034/0.001034, allocations: 106.1 kB / 16.36 MB, free: 5.824 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.001077/0.001077, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.333/1.333, 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-master/package.mo): time 0.8238/0.8238, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 0.5067 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3532, allocations: 80.9 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02195/0.3752, allocations: 30.57 MB / 0.6156 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01567/0.3909, allocations: 10.22 MB / 0.6256 GB, free: 1.727 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.393, allocations: 47.75 kB / 0.6256 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.3953, allocations: 0.6892 MB / 0.6263 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004158/0.3996, allocations: 1.453 MB / 0.6277 GB, free: 15.53 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003251/0.4029, allocations: 1.318 MB / 0.629 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00423/0.4071, allocations: 2.89 MB / 0.6318 GB, free: 11.33 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.4085, allocations: 0.9254 MB / 0.6327 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/0.4113, allocations: 1.135 MB / 0.6338 GB, free: 9.254 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.4126, allocations: 0.7739 MB / 0.6346 GB, free: 8.477 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.4128, allocations: 100 kB / 0.6347 GB, free: 8.379 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.4146, allocations: 0.7957 MB / 0.6355 GB, free: 7.582 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003727/0.415, allocations: 331 kB / 0.6358 GB, free: 7.258 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006985/0.4157, allocations: 0.5793 MB / 0.6363 GB, free: 6.676 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002812/0.4185, allocations: 1.897 MB / 0.6382 GB, free: 4.777 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4186, allocations: 0 / 0.6382 GB, free: 4.777 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4186, allocations: 0 / 0.6382 GB, free: 4.777 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.4186, allocations: 0 / 0.6382 GB, free: 4.777 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.002645/0.4213, allocations: 1.493 MB / 0.6397 GB, free: 3.223 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4213, allocations: 13.11 kB / 0.6397 GB, free: 3.211 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009419/0.4222, allocations: 199.4 kB / 0.6399 GB, free: 3.016 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.424, allocations: 1.015 MB / 0.6409 GB, free: 1.957 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.4241, allocations: 49.31 kB / 0.6409 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.4242, allocations: 67.98 kB / 0.641 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.4254, allocations: 0.702 MB / 0.6417 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.4254, allocations: 7.906 kB / 0.6417 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.4255, allocations: 20 kB / 0.6417 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.4255, allocations: 16 kB / 0.6417 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.4266, allocations: 0.5242 MB / 0.6422 GB, free: 0.5469 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.004031/0.4306, allocations: 3.055 MB / 0.6452 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009227/0.4316, allocations: 385.8 kB / 0.6456 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.432, allocations: 184.8 kB / 0.6457 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/0.4339, allocations: 1.501 MB / 0.6472 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005217/0.4344, allocations: 235.5 kB / 0.6474 GB, free: 10.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.4344, allocations: 4 kB / 0.6474 GB, free: 10.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001379/0.4358, allocations: 0.5354 MB / 0.6479 GB, free: 10.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.4359, allocations: 63.34 kB / 0.648 GB, free: 10.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.437, allocations: 0.8994 MB / 0.6489 GB, free: 9.277 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.437, allocations: 37.7 kB / 0.6489 GB, free: 9.234 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.4374, allocations: 491.7 kB / 0.6494 GB, free: 8.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.961e-05/0.4375, allocations: 102.6 kB / 0.6495 GB, free: 8.648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.4377, allocations: 122.1 kB / 0.6496 GB, free: 8.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4378, allocations: 330 kB / 0.6499 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.4383, allocations: 203 kB / 0.6501 GB, free: 7.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000581/0.4389, allocations: 402.3 kB / 0.6505 GB, free: 7.512 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009877/0.4399, allocations: 0.5903 MB / 0.6511 GB, free: 6.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4399, allocations: 0 / 0.6511 GB, free: 6.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00136/0.4412, allocations: 0.7104 MB / 0.6518 GB, free: 6.117 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.4413, allocations: 37.69 kB / 0.6518 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4413, allocations: 4 kB / 0.6518 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.4413, allocations: 8 kB / 0.6518 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004931/0.4418, allocations: 132.2 kB / 0.6519 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.4419, allocations: 15.88 kB / 0.652 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.4424, allocations: 75.91 kB / 0.652 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.4425, allocations: 31.98 kB / 0.6521 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006174/0.4431, allocations: 398 kB / 0.6524 GB, free: 5.422 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005016/0.4436, allocations: 378.3 kB / 0.6528 GB, free: 4.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000797/0.4444, allocations: 0.5503 MB / 0.6533 GB, free: 4.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.4445, allocations: 160 / 0.6533 GB, free: 4.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001118/0.4456, allocations: 0.6539 MB / 0.654 GB, free: 3.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.4456, allocations: 33.7 kB / 0.654 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.4456, allocations: 8 kB / 0.654 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.4456, allocations: 8.625 kB / 0.654 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.4461, allocations: 123.8 kB / 0.6541 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.4461, allocations: 19.92 kB / 0.6542 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.4466, allocations: 64.2 kB / 0.6542 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.4466, allocations: 31.98 kB / 0.6543 GB, free: 3.363 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.0001819/0.4468, allocations: 212.6 kB / 0.6545 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.4469, allocations: 86.88 kB / 0.6545 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.4483, allocations: 0.5891 MB / 0.6551 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.4483, allocations: 7.984 kB / 0.6551 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4483, allocations: 3.938 kB / 0.6551 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009819/0.4493, allocations: 0.6465 MB / 0.6558 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.4515, allocations: 1.355 MB / 0.6571 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4516, allocations: 0 / 0.6571 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.4519, allocations: 79.88 kB / 0.6572 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.452, allocations: 4 kB / 0.6572 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.452, allocations: 11.98 kB / 0.6572 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.452, allocations: 8.125 kB / 0.6572 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.452, allocations: 0 / 0.6572 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.4535, allocations: 0.828 MB / 0.658 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.4538, allocations: 223.8 kB / 0.6582 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.4539, allocations: 8 kB / 0.6582 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.4543, allocations: 28.03 kB / 0.6582 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.4544, allocations: 28.25 kB / 0.6583 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.4545, allocations: 15.98 kB / 0.6583 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008633/0.4553, allocations: 0.6219 MB / 0.6589 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4553, allocations: 0 / 0.6589 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001546/0.4569, allocations: 0.5068 MB / 0.6594 GB, free: 13.91 MB / 0.4981 GB 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.000831/0.4577, allocations: 378.5 kB / 0.6597 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.4595, allocations: 0.856 MB / 0.6606 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4595, allocations: 0 / 0.6606 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004577/0.4599, allocations: 221 kB / 0.6608 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.4616, allocations: 0.4919 MB / 0.6613 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.4642, allocations: 1.6 MB / 0.6628 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.4647, allocations: 1.056 MB / 0.6639 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006961/0.4655, allocations: 218.1 kB / 0.6641 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.4656, allocations: 83.41 kB / 0.6641 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/0.4656, allocations: 0 / 0.6641 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of Templates: time 0.03071/0.4964, allocations: 20 MB / 0.6837 GB, free: 5.219 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)