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.0008647/0.0008647, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001142/0.001142, allocations: 172.7 kB / 15.95 MB, free: 208 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.601/1.601, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9685/0.9685, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003305, allocations: 11.94 kB / 0.507 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1866, allocations: 82.31 MB / 0.5874 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.4224/0.6091, allocations: 28.03 MB / 0.6147 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.6225, allocations: 9.542 MB / 0.6241 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.6245, allocations: 40.19 kB / 0.6241 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.6266, allocations: 460.9 kB / 0.6245 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004623/0.6312, allocations: 1.2 MB / 0.6257 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.6343, allocations: 0.9799 MB / 0.6267 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004689/0.639, allocations: 3.253 MB / 0.6298 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.6404, allocations: 0.685 MB / 0.6305 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.6426, allocations: 0.9429 MB / 0.6314 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.644, allocations: 0.7301 MB / 0.6321 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.6442, allocations: 42.5 kB / 0.6322 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.6458, allocations: 0.5237 MB / 0.6327 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.6461, allocations: 268.1 kB / 0.633 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.6464, allocations: 239.6 kB / 0.6332 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.6479, allocations: 1.368 MB / 0.6345 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6479, allocations: 0 / 0.6345 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6479, allocations: 2.625 kB / 0.6345 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.6479, allocations: 0 / 0.6345 GB, free: 29.11 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.001987/0.6499, allocations: 1.311 MB / 0.6358 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.65, allocations: 12.38 kB / 0.6358 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008612/0.6508, allocations: 210.3 kB / 0.636 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.6524, allocations: 0.9527 MB / 0.6369 GB, free: 27.56 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.6525, allocations: 59.58 kB / 0.637 GB, free: 27.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-05/0.6526, allocations: 66.44 kB / 0.6371 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.6539, allocations: 0.7228 MB / 0.6378 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.6539, allocations: 3.094 kB / 0.6378 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.744e-05/0.654, allocations: 19.22 kB / 0.6378 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.654, allocations: 16.75 kB / 0.6378 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.6552, allocations: 0.5809 MB / 0.6384 GB, free: 26.97 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.003733/0.6589, allocations: 3.121 MB / 0.6414 GB, free: 24.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/0.6599, allocations: 436.9 kB / 0.6418 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.6604, allocations: 211.9 kB / 0.642 GB, free: 24.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/0.6621, allocations: 1.546 MB / 0.6435 GB, free: 23.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005807/0.6627, allocations: 265.8 kB / 0.6438 GB, free: 23.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003067/0.663, allocations: 55.34 kB / 0.6439 GB, free: 23.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 3.597e-06/0.6631, allocations: 4 kB / 0.6439 GB, free: 23.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.001532/0.6646, allocations: 0.6176 MB / 0.6445 GB, free: 22.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.6647, allocations: 53.97 kB / 0.6445 GB, free: 22.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.6658, allocations: 0.8902 MB / 0.6454 GB, free: 22.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.6659, allocations: 36.33 kB / 0.6454 GB, free: 22.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.6663, allocations: 487.9 kB / 0.6459 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.773e-05/0.6664, allocations: 112.1 kB / 0.646 GB, free: 21.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.6664, allocations: 11.25 kB / 0.646 GB, free: 21.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.6665, allocations: 327.7 kB / 0.6463 GB, free: 21.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.667, allocations: 202.1 kB / 0.6465 GB, free: 21.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.6676, allocations: 415.7 kB / 0.6469 GB, free: 21.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.6681, allocations: 277.5 kB / 0.6472 GB, free: 21.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.6681, allocations: 6.562 kB / 0.6472 GB, free: 21.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001301/0.6694, allocations: 0.7305 MB / 0.6479 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.6696, allocations: 289.3 kB / 0.6482 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.6696, allocations: 11.31 kB / 0.6482 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.6696, allocations: 8.844 kB / 0.6482 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.6701, allocations: 143.4 kB / 0.6483 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.6701, allocations: 12.03 kB / 0.6483 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/0.6709, allocations: 69.88 kB / 0.6484 GB, free: 20.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.671, allocations: 31.5 kB / 0.6484 GB, free: 20.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.671, allocations: 3.125 kB / 0.6484 GB, free: 20.44 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009365/0.6719, allocations: 0.5736 MB / 0.649 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.6719, allocations: 3.797 kB / 0.649 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.672, allocations: 12.38 kB / 0.649 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.6723, allocations: 121 kB / 0.6491 GB, free: 20.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.6724, allocations: 15.66 kB / 0.6491 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/0.673, allocations: 56.12 kB / 0.6492 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.673, allocations: 33.66 kB / 0.6492 GB, free: 20.17 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.0005309/0.6736, allocations: 359.9 kB / 0.6496 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.6737, allocations: 93.48 kB / 0.6497 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.6752, allocations: 0.6302 MB / 0.6503 GB, free: 19.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.6752, allocations: 4.406 kB / 0.6503 GB, free: 19.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6752, allocations: 1.094 kB / 0.6503 GB, free: 19.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001447/0.6767, allocations: 0.6976 MB / 0.651 GB, free: 19.13 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.003596/0.6803, allocations: 1.477 MB / 0.6524 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.6803, allocations: 4.781 kB / 0.6524 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/0.6809, allocations: 92.39 kB / 0.6525 GB, free: 18.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.6809, allocations: 3.969 kB / 0.6525 GB, free: 18.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.681, allocations: 11.44 kB / 0.6525 GB, free: 18.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.988e-06/0.681, allocations: 6.688 kB / 0.6525 GB, free: 18.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.681, allocations: 2.375 kB / 0.6525 GB, free: 18.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/0.6838, allocations: 0.9105 MB / 0.6534 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006225/0.6844, allocations: 223.1 kB / 0.6536 GB, free: 17.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.6846, allocations: 9.422 kB / 0.6536 GB, free: 17.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007667/0.6853, allocations: 62.69 kB / 0.6537 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.6855, allocations: 35.61 kB / 0.6537 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.6856, allocations: 15.95 kB / 0.6537 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001518/0.6871, allocations: 0.6094 MB / 0.6543 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6871, allocations: 4 kB / 0.6543 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002496/0.6896, allocations: 0.511 MB / 0.6548 GB, free: 17.27 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.001122/0.6907, allocations: 354 kB / 0.6552 GB, free: 17.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002909/0.6937, allocations: 0.8843 MB / 0.656 GB, free: 16.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6937, allocations: 0 / 0.656 GB, free: 16.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008268/0.6945, allocations: 250.3 kB / 0.6563 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.698, allocations: 478.3 kB / 0.6567 GB, free: 16.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/0.7034, allocations: 2.005 MB / 0.6587 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.7045, allocations: 1.05 MB / 0.6597 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001833/0.7064, allocations: 226 kB / 0.6599 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.7068, allocations: 87.66 kB / 0.66 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of SimCode: time 1.162e-06/0.7068, allocations: 0 / 0.66 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.04082/0.7476, allocations: 19 MB / 0.6786 GB, free: 9.367 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)