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.0008582/0.0008581, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008781/0.0008781, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.154/1.154, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8033/0.8033, allocations: 135.2 MB / 426.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002902, allocations: 12 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 82.31 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.2482/0.3825, allocations: 25.57 MB / 0.6122 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009569/0.3921, allocations: 8.899 MB / 0.6209 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009894/0.3931, allocations: 33.62 kB / 0.6209 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.3944, allocations: 0.5481 MB / 0.6214 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.3971, allocations: 1.334 MB / 0.6227 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.3998, allocations: 1.336 MB / 0.624 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001885/0.4017, allocations: 1.664 MB / 0.6257 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007211/0.4024, allocations: 0.7069 MB / 0.6263 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.4035, allocations: 0.7822 MB / 0.6271 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000458/0.4039, allocations: 0.498 MB / 0.6276 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.64e-05/0.404, allocations: 38.53 kB / 0.6276 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.4051, allocations: 0.5523 MB / 0.6282 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.4053, allocations: 243.5 kB / 0.6284 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.4054, allocations: 241.4 kB / 0.6286 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009662/0.4064, allocations: 1.346 MB / 0.6299 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.4064, allocations: 0 / 0.6299 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4064, allocations: 0 / 0.6299 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.4064, allocations: 7.938 kB / 0.63 GB, free: 31.06 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.001689/0.4081, allocations: 1.309 MB / 0.6312 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.4082, allocations: 8.75 kB / 0.6312 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008145/0.409, allocations: 211.9 kB / 0.6314 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.4102, allocations: 0.9548 MB / 0.6324 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.4102, allocations: 53.44 kB / 0.6324 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.4103, allocations: 62.91 kB / 0.6325 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.4114, allocations: 0.7095 MB / 0.6332 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.4114, allocations: 3.953 kB / 0.6332 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.4115, allocations: 26.25 kB / 0.6332 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.4115, allocations: 16 kB / 0.6332 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.4126, allocations: 0.56 MB / 0.6338 GB, free: 28.98 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.002976/0.4156, allocations: 3.122 MB / 0.6368 GB, free: 26.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008786/0.4165, allocations: 413.3 kB / 0.6372 GB, free: 26.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.4178, allocations: 1.576 MB / 0.6388 GB, free: 25.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005021/0.4183, allocations: 257.9 kB / 0.639 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001757/0.4185, allocations: 66.89 kB / 0.6391 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.743e-06/0.4185, allocations: 0 / 0.6391 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.001362/0.4199, allocations: 0.5955 MB / 0.6396 GB, free: 25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.4199, allocations: 57.91 kB / 0.6397 GB, free: 24.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007708/0.4207, allocations: 0.9032 MB / 0.6406 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.4207, allocations: 32.27 kB / 0.6406 GB, free: 24.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.421, allocations: 497.3 kB / 0.6411 GB, free: 24.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.782e-05/0.4211, allocations: 110.3 kB / 0.6412 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.4211, allocations: 11.28 kB / 0.6412 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.024e-05/0.4212, allocations: 330.2 kB / 0.6415 GB, free: 23.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.4216, allocations: 193 kB / 0.6417 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/0.4221, allocations: 405.3 kB / 0.6421 GB, free: 23.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.4226, allocations: 273 kB / 0.6423 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4226, allocations: 0 / 0.6423 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001195/0.4238, allocations: 0.7193 MB / 0.643 GB, free: 22.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003263/0.4242, allocations: 2.296 MB / 0.6453 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4242, allocations: 5.328 kB / 0.6453 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4242, allocations: 9.562 kB / 0.6453 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.4247, allocations: 138.5 kB / 0.6454 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.4247, allocations: 11.81 kB / 0.6454 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/0.4253, allocations: 69.95 kB / 0.6455 GB, free: 20.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.4254, allocations: 37.59 kB / 0.6456 GB, free: 20.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.4254, allocations: 10.58 kB / 0.6456 GB, free: 20.42 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008225/0.4262, allocations: 0.5615 MB / 0.6461 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4262, allocations: 8.531 kB / 0.6461 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.643e-06/0.4262, allocations: 7.875 kB / 0.6461 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.4266, allocations: 131 kB / 0.6462 GB, free: 20.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4266, allocations: 11.5 kB / 0.6463 GB, free: 20.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.4271, allocations: 62.53 kB / 0.6463 GB, free: 20.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.979e-05/0.4272, allocations: 31.09 kB / 0.6463 GB, free: 20.15 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003018/0.4275, allocations: 359.8 kB / 0.6467 GB, free: 19.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.4276, allocations: 92.36 kB / 0.6468 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.4288, allocations: 0.6203 MB / 0.6474 GB, free: 19.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.4288, allocations: 3.031 kB / 0.6474 GB, free: 19.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4288, allocations: 0 / 0.6474 GB, free: 19.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009161/0.4298, allocations: 0.681 MB / 0.6481 GB, free: 19.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.4317, allocations: 1.468 MB / 0.6495 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.4317, allocations: 6.281 kB / 0.6495 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.432, allocations: 83.52 kB / 0.6496 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4321, allocations: 6.688 kB / 0.6496 GB, free: 18.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.4321, allocations: 16.16 kB / 0.6496 GB, free: 18.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.4321, allocations: 10.47 kB / 0.6496 GB, free: 18.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.4321, allocations: 0 / 0.6496 GB, free: 18.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.4336, allocations: 0.9339 MB / 0.6505 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.4339, allocations: 228.8 kB / 0.6507 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.434, allocations: 7.281 kB / 0.6507 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/0.4345, allocations: 62.03 kB / 0.6508 GB, free: 17.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.4346, allocations: 38.14 kB / 0.6508 GB, free: 17.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.4346, allocations: 19.25 kB / 0.6509 GB, free: 17.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007346/0.4354, allocations: 0.6216 MB / 0.6515 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4354, allocations: 1 kB / 0.6515 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001439/0.4368, allocations: 0.5131 MB / 0.652 GB, free: 17.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006482/0.4375, allocations: 376.6 kB / 0.6523 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.4391, allocations: 0.8694 MB / 0.6532 GB, free: 16.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4391, allocations: 1.281 kB / 0.6532 GB, free: 16.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005132/0.4396, allocations: 235.2 kB / 0.6534 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.4413, allocations: 474.5 kB / 0.6539 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.4439, allocations: 1.998 MB / 0.6558 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/0.4445, allocations: 1.07 MB / 0.6568 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008297/0.4454, allocations: 232.5 kB / 0.6571 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.4456, allocations: 89.55 kB / 0.6572 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.4456, allocations: 0 / 0.6572 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.0313/0.4769, allocations: 19.25 MB / 0.676 GB, free: 9.91 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: