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.0007831/0.0007831, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009173/0.0009173, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.413/1.413, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9833/0.9833, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 8 kB / 0.5082 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1711, allocations: 82.3 MB / 0.5886 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.3556/0.5268, allocations: 29.63 MB / 0.6175 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.5396, allocations: 10.14 MB / 0.6274 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.5415, allocations: 38.44 kB / 0.6275 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.5435, allocations: 0.5991 MB / 0.6281 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.5474, allocations: 1.364 MB / 0.6294 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.5504, allocations: 1.16 MB / 0.6305 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00449/0.5549, allocations: 3.837 MB / 0.6343 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.5563, allocations: 0.7674 MB / 0.635 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.5582, allocations: 0.9556 MB / 0.636 GB, free: 27.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.5596, allocations: 0.7608 MB / 0.6367 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002278/0.5599, allocations: 37.47 kB / 0.6367 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.5621, allocations: 0.7356 MB / 0.6375 GB, free: 27.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004707/0.5626, allocations: 279.1 kB / 0.6377 GB, free: 27.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007878/0.5634, allocations: 0.5244 MB / 0.6382 GB, free: 26.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.5655, allocations: 1.396 MB / 0.6396 GB, free: 26.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5655, allocations: 0 / 0.6396 GB, free: 26.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5655, allocations: 0 / 0.6396 GB, free: 26.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.108e-05/0.5655, allocations: 0 / 0.6396 GB, free: 26.57 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.002229/0.5678, allocations: 1.298 MB / 0.6409 GB, free: 25.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.5678, allocations: 13.53 kB / 0.6409 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009326/0.5688, allocations: 208.4 kB / 0.6411 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.5704, allocations: 0.9966 MB / 0.642 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.5704, allocations: 52.5 kB / 0.6421 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.5706, allocations: 68.73 kB / 0.6422 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.5718, allocations: 0.7085 MB / 0.6429 GB, free: 24.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.5718, allocations: 3.938 kB / 0.6429 GB, free: 24.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.023e-05/0.5719, allocations: 22.09 kB / 0.6429 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.5719, allocations: 16.41 kB / 0.6429 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.5729, allocations: 0.5376 MB / 0.6434 GB, free: 24.41 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.003556/0.5765, allocations: 3.092 MB / 0.6464 GB, free: 22.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008603/0.5774, allocations: 401 kB / 0.6468 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/0.5778, allocations: 197.3 kB / 0.647 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001613/0.5794, allocations: 1.503 MB / 0.6485 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004902/0.5799, allocations: 249.2 kB / 0.6487 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002055/0.5801, allocations: 53.31 kB / 0.6488 GB, free: 20.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.304e-06/0.5801, allocations: 7.938 kB / 0.6488 GB, free: 20.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.001284/0.5814, allocations: 0.5658 MB / 0.6493 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.5815, allocations: 54.06 kB / 0.6494 GB, free: 20.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000995/0.5825, allocations: 0.897 MB / 0.6503 GB, free: 19.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.5825, allocations: 32.17 kB / 0.6503 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.5829, allocations: 492.5 kB / 0.6508 GB, free: 19.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.583, allocations: 118 kB / 0.6509 GB, free: 19.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.583, allocations: 48.84 kB / 0.6509 GB, free: 19.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.5831, allocations: 326.6 kB / 0.6512 GB, free: 19.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.5836, allocations: 200.8 kB / 0.6514 GB, free: 19.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.5841, allocations: 408.8 kB / 0.6518 GB, free: 18.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.5852, allocations: 0.6088 MB / 0.6524 GB, free: 18.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.5852, allocations: 1.906 kB / 0.6524 GB, free: 18.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001472/0.5867, allocations: 0.7232 MB / 0.6531 GB, free: 18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.5869, allocations: 286.6 kB / 0.6534 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.5869, allocations: 9.859 kB / 0.6534 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.5869, allocations: 12.41 kB / 0.6534 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.5875, allocations: 132 kB / 0.6535 GB, free: 17.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/0.5875, allocations: 16.86 kB / 0.6535 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006794/0.5882, allocations: 54.47 kB / 0.6536 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.5883, allocations: 34.44 kB / 0.6536 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.5883, allocations: 6.969 kB / 0.6536 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/0.5894, allocations: 0.5748 MB / 0.6542 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.5894, allocations: 5.062 kB / 0.6542 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5894, allocations: 9.562 kB / 0.6542 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.5899, allocations: 121.7 kB / 0.6543 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.5899, allocations: 14.73 kB / 0.6543 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.5905, allocations: 58.39 kB / 0.6544 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.5905, allocations: 29.97 kB / 0.6544 GB, free: 17.34 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.0004924/0.591, allocations: 362.8 kB / 0.6548 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.5912, allocations: 89.5 kB / 0.6549 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.5926, allocations: 0.6036 MB / 0.6554 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.5926, allocations: 6.141 kB / 0.6555 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5926, allocations: 0 / 0.6555 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/0.5937, allocations: 0.6611 MB / 0.6561 GB, free: 16.3 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.002524/0.5962, allocations: 1.425 MB / 0.6575 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.5962, allocations: 3.125 kB / 0.6575 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.5966, allocations: 80.75 kB / 0.6576 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.5966, allocations: 10.25 kB / 0.6576 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.5967, allocations: 16.16 kB / 0.6576 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.5967, allocations: 3.641 kB / 0.6576 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5967, allocations: 5.562 kB / 0.6576 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.5983, allocations: 0.854 MB / 0.6584 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.5987, allocations: 222.8 kB / 0.6587 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.563e-05/0.5988, allocations: 8.094 kB / 0.6587 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.5993, allocations: 47.44 kB / 0.6587 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/0.5994, allocations: 34.62 kB / 0.6587 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.5994, allocations: 19.03 kB / 0.6588 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009044/0.6004, allocations: 0.6138 MB / 0.6594 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6004, allocations: 0 / 0.6594 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001654/0.602, allocations: 0.5049 MB / 0.6598 GB, free: 14.48 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.0008042/0.6028, allocations: 358.3 kB / 0.6602 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001826/0.6047, allocations: 0.8696 MB / 0.661 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.6047, allocations: 1.062 kB / 0.661 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.6052, allocations: 222.9 kB / 0.6613 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.6075, allocations: 482.9 kB / 0.6617 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.6105, allocations: 2.033 MB / 0.6637 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.6111, allocations: 1.052 MB / 0.6647 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.6114, allocations: 84.19 kB / 0.6648 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.6114, allocations: 0 / 0.6648 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.03505/0.6464, allocations: 17.22 MB / 0.6816 GB, free: 6.895 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)