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.001486/0.001487, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001209/0.001209, allocations: 189.5 kB / 16.25 MB, free: 6.637 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.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9585/0.9585, allocations: 135.6 MB / 425.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 64.44 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1744, allocations: 81.02 MB / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.3301/0.5045, allocations: 30.33 MB / 0.6141 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01145/0.516, allocations: 10.15 MB / 0.624 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.5179, allocations: 38.41 kB / 0.624 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.5197, allocations: 0.6109 MB / 0.6246 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003204/0.523, allocations: 1.367 MB / 0.626 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002694/0.5257, allocations: 1.193 MB / 0.6271 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003192/0.5289, allocations: 2.914 MB / 0.63 GB, free: 28.22 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.5299, allocations: 0.9379 MB / 0.6309 GB, free: 27.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.5321, allocations: 1.151 MB / 0.632 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007781/0.5329, allocations: 0.8155 MB / 0.6328 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.533, allocations: 98.12 kB / 0.6329 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.5346, allocations: 0.8008 MB / 0.6337 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.5349, allocations: 338 kB / 0.634 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004663/0.5354, allocations: 0.5833 MB / 0.6346 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.5373, allocations: 1.884 MB / 0.6364 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.5373, allocations: 0 / 0.6364 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5373, allocations: 7.938 kB / 0.6364 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.5373, allocations: 0 / 0.6364 GB, free: 25.4 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.002093/0.5394, allocations: 1.493 MB / 0.6379 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5395, allocations: 17.3 kB / 0.6379 GB, free: 24.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009332/0.5404, allocations: 195.7 kB / 0.6381 GB, free: 24.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.5419, allocations: 1.008 MB / 0.6391 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.5419, allocations: 58.53 kB / 0.6391 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.5421, allocations: 64.22 kB / 0.6392 GB, free: 23.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.5432, allocations: 0.7011 MB / 0.6399 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.5432, allocations: 8.734 kB / 0.6399 GB, free: 23.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.205e-05/0.5433, allocations: 23.66 kB / 0.6399 GB, free: 23.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.5433, allocations: 13.12 kB / 0.6399 GB, free: 23.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009898/0.5443, allocations: 0.5279 MB / 0.6404 GB, free: 23.11 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.003131/0.5474, allocations: 3.051 MB / 0.6434 GB, free: 21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/0.5483, allocations: 396.2 kB / 0.6438 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.5486, allocations: 195.8 kB / 0.644 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.5501, allocations: 1.493 MB / 0.6455 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004855/0.5506, allocations: 249.1 kB / 0.6457 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001944/0.5508, allocations: 39.91 kB / 0.6457 GB, free: 19.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.5508, allocations: 2.625 kB / 0.6457 GB, free: 19.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.001209/0.552, allocations: 0.5535 MB / 0.6463 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.552, allocations: 57.38 kB / 0.6463 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/0.5529, allocations: 0.8988 MB / 0.6472 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.5529, allocations: 39.86 kB / 0.6472 GB, free: 18.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.5532, allocations: 483.8 kB / 0.6477 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.719e-05/0.5533, allocations: 113.4 kB / 0.6478 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.5534, allocations: 121.6 kB / 0.6479 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.5535, allocations: 329.5 kB / 0.6482 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/0.5539, allocations: 204.3 kB / 0.6484 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/0.5545, allocations: 405.1 kB / 0.6488 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009309/0.5554, allocations: 0.6081 MB / 0.6494 GB, free: 17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.5554, allocations: 2.188 kB / 0.6494 GB, free: 17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001301/0.5567, allocations: 0.7144 MB / 0.6501 GB, free: 16.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.5568, allocations: 33.89 kB / 0.6501 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5568, allocations: 6.562 kB / 0.6502 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.5568, allocations: 11.56 kB / 0.6502 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.5573, allocations: 130.7 kB / 0.6503 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.5574, allocations: 16.47 kB / 0.6503 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/0.558, allocations: 52.28 kB / 0.6504 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/0.5581, allocations: 43.42 kB / 0.6504 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006142/0.5587, allocations: 406.2 kB / 0.6508 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004503/0.5592, allocations: 375.3 kB / 0.6511 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007651/0.5599, allocations: 0.5586 MB / 0.6517 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.507e-06/0.5599, allocations: 1.969 kB / 0.6517 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001133/0.5611, allocations: 0.6546 MB / 0.6523 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.5611, allocations: 40.31 kB / 0.6524 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.5611, allocations: 6.25 kB / 0.6524 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.5611, allocations: 9.438 kB / 0.6524 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.5616, allocations: 123.6 kB / 0.6525 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5616, allocations: 13.5 kB / 0.6525 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.5622, allocations: 59.03 kB / 0.6526 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.5622, allocations: 27.94 kB / 0.6526 GB, free: 15.32 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.0001718/0.5624, allocations: 219.3 kB / 0.6528 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.5625, allocations: 89.78 kB / 0.6529 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.5638, allocations: 0.5961 MB / 0.6535 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.5638, allocations: 3.656 kB / 0.6535 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5639, allocations: 3.938 kB / 0.6535 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009163/0.5648, allocations: 0.6661 MB / 0.6541 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.5669, allocations: 1.355 MB / 0.6555 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5669, allocations: 5.594 kB / 0.6555 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.5673, allocations: 76.05 kB / 0.6555 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/0.5674, allocations: 7.438 kB / 0.6555 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.5674, allocations: 29.05 kB / 0.6556 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.5674, allocations: 2.656 kB / 0.6556 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5674, allocations: 5.094 kB / 0.6556 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.5691, allocations: 0.8457 MB / 0.6564 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.5694, allocations: 216.5 kB / 0.6566 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.5695, allocations: 9.266 kB / 0.6566 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.57, allocations: 46.02 kB / 0.6567 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.5701, allocations: 35.25 kB / 0.6567 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.5702, allocations: 19.69 kB / 0.6567 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009182/0.5711, allocations: 0.6134 MB / 0.6573 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5711, allocations: 0 / 0.6573 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001699/0.5728, allocations: 0.5001 MB / 0.6578 GB, free: 12.59 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 (40): * Single equations (assignments): 34 * 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.0008392/0.5737, allocations: 359 kB / 0.6581 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002006/0.5757, allocations: 0.89 MB / 0.659 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5757, allocations: 0 / 0.659 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005342/0.5762, allocations: 237 kB / 0.6592 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.5783, allocations: 0.4911 MB / 0.6597 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.5813, allocations: 1.971 MB / 0.6616 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.582, allocations: 1.058 MB / 0.6627 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001142/0.5831, allocations: 238.6 kB / 0.6629 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.5834, allocations: 82.3 kB / 0.663 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.5834, allocations: 0 / 0.663 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of Templates: time 0.03629/0.6197, allocations: 19.77 MB / 0.6823 GB, free: 4.461 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)