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.00528/0.00528, allocations: 100.8 kB / 15.87 MB, free: 6.332 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.001191/0.001192, allocations: 198.9 kB / 16.79 MB, free: 6.258 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.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.941/0.941, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 64.91 kB / 0.5053 GB, free: 5.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1687, allocations: 80.92 MB / 0.5843 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.3531/0.5218, allocations: 30.4 MB / 0.614 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01165/0.5335, allocations: 10.27 MB / 0.624 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.5354, allocations: 41.53 kB / 0.6241 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.5373, allocations: 0.5972 MB / 0.6247 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.5408, allocations: 1.364 MB / 0.626 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.5437, allocations: 1.165 MB / 0.6271 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004131/0.5478, allocations: 3.837 MB / 0.6309 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.5491, allocations: 0.7948 MB / 0.6317 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.551, allocations: 0.9825 MB / 0.6326 GB, free: 28.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.552, allocations: 0.7916 MB / 0.6334 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.5522, allocations: 53.59 kB / 0.6334 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.5539, allocations: 0.746 MB / 0.6342 GB, free: 27.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.5542, allocations: 283.7 kB / 0.6344 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005123/0.5547, allocations: 0.5304 MB / 0.635 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.5561, allocations: 1.422 MB / 0.6364 GB, free: 26.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5561, allocations: 3.375 kB / 0.6364 GB, free: 26.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5561, allocations: 0 / 0.6364 GB, free: 26.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.5561, allocations: 0 / 0.6364 GB, free: 26.56 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002393/0.5585, allocations: 1.498 MB / 0.6378 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5586, allocations: 7.562 kB / 0.6378 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009964/0.5596, allocations: 202.4 kB / 0.638 GB, free: 25.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.5612, allocations: 1.002 MB / 0.639 GB, free: 24.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.5612, allocations: 56.97 kB / 0.6391 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.5613, allocations: 61.94 kB / 0.6391 GB, free: 24.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.5625, allocations: 0.7021 MB / 0.6398 GB, free: 24.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.5626, allocations: 3.938 kB / 0.6398 GB, free: 24.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.5626, allocations: 26.28 kB / 0.6398 GB, free: 24.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.5627, allocations: 18.25 kB / 0.6398 GB, free: 24.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.5637, allocations: 0.5338 MB / 0.6404 GB, free: 24.28 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.00356/0.5673, allocations: 3.058 MB / 0.6434 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008594/0.5682, allocations: 392.9 kB / 0.6437 GB, free: 22.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.5686, allocations: 193.7 kB / 0.6439 GB, free: 21.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/0.5702, allocations: 1.501 MB / 0.6454 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005281/0.5708, allocations: 252.5 kB / 0.6456 GB, free: 20.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000224/0.571, allocations: 44.23 kB / 0.6457 GB, free: 20.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.571, allocations: 2.75 kB / 0.6457 GB, free: 20.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.001303/0.5723, allocations: 0.5529 MB / 0.6462 GB, free: 20.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.5723, allocations: 56.8 kB / 0.6463 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009559/0.5733, allocations: 0.8883 MB / 0.6471 GB, free: 19.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.5734, allocations: 40.95 kB / 0.6472 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.5737, allocations: 494.5 kB / 0.6476 GB, free: 19.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.943e-05/0.5738, allocations: 110.2 kB / 0.6477 GB, free: 19.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.574, allocations: 126.4 kB / 0.6479 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.63e-05/0.574, allocations: 325.4 kB / 0.6482 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/0.5745, allocations: 201.5 kB / 0.6484 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.5751, allocations: 400.6 kB / 0.6487 GB, free: 18.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.5762, allocations: 0.5999 MB / 0.6493 GB, free: 18.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.5762, allocations: 1.969 kB / 0.6493 GB, free: 18.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001554/0.5777, allocations: 0.716 MB / 0.65 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.5778, allocations: 33.45 kB / 0.6501 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.5778, allocations: 5.781 kB / 0.6501 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/0.5778, allocations: 9.281 kB / 0.6501 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/0.5784, allocations: 127.3 kB / 0.6502 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.5784, allocations: 19.31 kB / 0.6502 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006894/0.5791, allocations: 49.33 kB / 0.6503 GB, free: 17.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.5792, allocations: 30.8 kB / 0.6503 GB, free: 17.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007255/0.5799, allocations: 403.2 kB / 0.6507 GB, free: 17.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004917/0.5804, allocations: 379.8 kB / 0.651 GB, free: 17.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009318/0.5813, allocations: 0.5465 MB / 0.6516 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.452e-06/0.5814, allocations: 5.844 kB / 0.6516 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001274/0.5827, allocations: 0.6551 MB / 0.6522 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.5827, allocations: 40.7 kB / 0.6523 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.5827, allocations: 8.734 kB / 0.6523 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.5827, allocations: 13.59 kB / 0.6523 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.5832, allocations: 120.1 kB / 0.6524 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.5832, allocations: 13.5 kB / 0.6524 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.5839, allocations: 58.92 kB / 0.6525 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.5839, allocations: 30.67 kB / 0.6525 GB, free: 16.48 MB / 0.4981 GB 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 (64): * Single equations (assignments): 62 * 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.0001929/0.5841, allocations: 220.1 kB / 0.6527 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.5843, allocations: 89.44 kB / 0.6528 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.5858, allocations: 0.5822 MB / 0.6534 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.5858, allocations: 5.234 kB / 0.6534 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.5858, allocations: 4.5 kB / 0.6534 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001026/0.5869, allocations: 0.6601 MB / 0.654 GB, free: 15.53 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.002573/0.5894, allocations: 1.411 MB / 0.6554 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5895, allocations: 2.969 kB / 0.6554 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.5899, allocations: 75.16 kB / 0.6555 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.5899, allocations: 2.25 kB / 0.6555 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.5899, allocations: 16.72 kB / 0.6555 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.5899, allocations: 3.172 kB / 0.6555 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.59, allocations: 5.031 kB / 0.6555 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.5917, allocations: 0.8504 MB / 0.6563 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.592, allocations: 211.6 kB / 0.6565 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.5921, allocations: 13.02 kB / 0.6565 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.5927, allocations: 40.86 kB / 0.6566 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5928, allocations: 29.84 kB / 0.6566 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.022e-05/0.5928, allocations: 20.3 kB / 0.6566 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009324/0.5938, allocations: 0.6127 MB / 0.6572 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5938, allocations: 1.125 kB / 0.6572 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001853/0.5956, allocations: 0.5035 MB / 0.6577 GB, free: 13.72 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 (39): * Single equations (assignments): 33 * 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.0009003/0.5965, allocations: 369.2 kB / 0.6581 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.5985, allocations: 0.8551 MB / 0.6589 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5985, allocations: 1.219 kB / 0.6589 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005134/0.599, allocations: 222.6 kB / 0.6591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.6012, allocations: 478.2 kB / 0.6596 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.6043, allocations: 1.995 MB / 0.6615 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.6049, allocations: 1.051 MB / 0.6625 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.6052, allocations: 85.64 kB / 0.6626 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.645e-06/0.6052, allocations: 0 / 0.6626 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.03207/0.6372, allocations: 17.35 MB / 0.6796 GB, free: 6.211 MB / 0.4981 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)