Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005296/0.005296, allocations: 103.2 kB / 15.73 MB, free: 6.035 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.001231/0.001231, allocations: 198.2 kB / 16.68 MB, free: 5.953 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.392/1.392, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7873/0.7873, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 68.8 kB / 0.5813 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1696, allocations: 80.2 MB / 0.6596 GB, free: 10.25 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.03073/0.2003, allocations: 30.58 MB / 0.6895 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.215, allocations: 10.22 MB / 0.6995 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.2168, allocations: 43.75 kB / 0.6995 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002361/0.2191, allocations: 0.6914 MB / 0.7002 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004604/0.2238, allocations: 1.498 MB / 0.7017 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.2272, allocations: 1.301 MB / 0.7029 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004434/0.2317, allocations: 2.897 MB / 0.7058 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.2334, allocations: 0.9176 MB / 0.7067 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.2363, allocations: 1.174 MB / 0.7078 GB, free: 8.766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.2378, allocations: 0.7661 MB / 0.7086 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.2381, allocations: 96 kB / 0.7087 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.24, allocations: 0.7996 MB / 0.7094 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005002/0.2405, allocations: 334.9 kB / 0.7098 GB, free: 6.773 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009695/0.2415, allocations: 0.5792 MB / 0.7103 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.2448, allocations: 1.897 MB / 0.7122 GB, free: 4.289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2449, allocations: 0 / 0.7122 GB, free: 4.289 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2449, allocations: 0 / 0.7122 GB, free: 4.289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.677e-05/0.2449, allocations: 4 kB / 0.7122 GB, free: 4.285 MB / 0.545 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.003267/0.2482, allocations: 1.495 MB / 0.7136 GB, free: 2.734 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.2483, allocations: 8.031 kB / 0.7136 GB, free: 2.727 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.2494, allocations: 195.4 kB / 0.7138 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.2515, allocations: 1.019 MB / 0.7148 GB, free: 1.473 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.2515, allocations: 49.31 kB / 0.7149 GB, free: 1.422 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.2517, allocations: 68 kB / 0.7149 GB, free: 1.355 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.2531, allocations: 0.702 MB / 0.7156 GB, free: 0.625 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.2531, allocations: 0 / 0.7156 GB, free: 0.625 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/0.2532, allocations: 28 kB / 0.7157 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.2532, allocations: 16 kB / 0.7157 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.2545, allocations: 0.5165 MB / 0.7162 GB, free: 68 kB / 0.545 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.004488/0.259, allocations: 3.082 MB / 0.7192 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009664/0.26, allocations: 378.6 kB / 0.7195 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/0.2604, allocations: 180.8 kB / 0.7197 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/0.2624, allocations: 1.489 MB / 0.7212 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/0.263, allocations: 236.5 kB / 0.7214 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.955e-06/0.2631, allocations: 0 / 0.7214 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001487/0.2645, allocations: 0.5473 MB / 0.7219 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.2646, allocations: 59.34 kB / 0.722 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.2658, allocations: 0.8995 MB / 0.7229 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.2659, allocations: 33.7 kB / 0.7229 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/0.2664, allocations: 495.6 kB / 0.7234 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.2665, allocations: 110.5 kB / 0.7235 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.2667, allocations: 122.1 kB / 0.7236 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2669, allocations: 326 kB / 0.7239 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/0.2674, allocations: 203 kB / 0.7241 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/0.268, allocations: 394.9 kB / 0.7245 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.2692, allocations: 0.5906 MB / 0.725 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.2692, allocations: 7.938 kB / 0.7251 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001489/0.2707, allocations: 0.7105 MB / 0.7258 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.2707, allocations: 35.73 kB / 0.7258 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.2708, allocations: 4 kB / 0.7258 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.2708, allocations: 12 kB / 0.7258 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.2713, allocations: 131.7 kB / 0.7259 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.2713, allocations: 16.2 kB / 0.7259 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000628/0.272, allocations: 76.02 kB / 0.726 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.272, allocations: 31.98 kB / 0.726 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007069/0.2728, allocations: 397.1 kB / 0.7264 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005253/0.2733, allocations: 378.4 kB / 0.7268 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008827/0.2742, allocations: 0.5385 MB / 0.7273 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.659e-06/0.2742, allocations: 0 / 0.7273 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001252/0.2755, allocations: 0.662 MB / 0.728 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.2755, allocations: 37.69 kB / 0.728 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.2755, allocations: 8 kB / 0.728 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2755, allocations: 8 kB / 0.728 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.276, allocations: 119.8 kB / 0.7281 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.276, allocations: 16.16 kB / 0.7281 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/0.2766, allocations: 60.38 kB / 0.7282 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/0.2766, allocations: 28 kB / 0.7282 GB, free: 2.895 MB / 0.5606 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 (63): * Single equations (assignments): 61 * 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.0001904/0.2768, allocations: 216.1 kB / 0.7284 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.277, allocations: 94.8 kB / 0.7285 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.2784, allocations: 0.5887 MB / 0.7291 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.2784, allocations: 7.938 kB / 0.7291 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2784, allocations: 0 / 0.7291 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009892/0.2794, allocations: 0.6466 MB / 0.7297 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.2818, allocations: 1.36 MB / 0.7311 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.2818, allocations: 4 kB / 0.7311 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.2822, allocations: 71.88 kB / 0.7311 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.2822, allocations: 4 kB / 0.7311 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.2822, allocations: 11.98 kB / 0.7311 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.2822, allocations: 4 kB / 0.7312 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2822, allocations: 3.938 kB / 0.7312 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.2839, allocations: 0.8403 MB / 0.732 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/0.2842, allocations: 207.8 kB / 0.7322 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.2844, allocations: 15.98 kB / 0.7322 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.2849, allocations: 23.92 kB / 0.7322 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.285, allocations: 36.3 kB / 0.7322 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.285, allocations: 19.98 kB / 0.7323 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008803/0.2859, allocations: 0.618 MB / 0.7329 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2859, allocations: 0 / 0.7329 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001498/0.2874, allocations: 0.4951 MB / 0.7334 GB, free: 13.43 MB / 0.5762 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 (38): * Single equations (assignments): 32 * 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.001013/0.2885, allocations: 375.6 kB / 0.7337 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.2905, allocations: 0.8598 MB / 0.7345 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.2905, allocations: 4 kB / 0.7346 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005589/0.2911, allocations: 219.8 kB / 0.7348 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.2934, allocations: 0.4997 MB / 0.7353 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.2967, allocations: 1.593 MB / 0.7368 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008411/0.2975, allocations: 1.056 MB / 0.7378 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001076/0.2986, allocations: 234.8 kB / 0.7381 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.2988, allocations: 79.41 kB / 0.7381 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.2989, allocations: 0 / 0.7381 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of Templates: time 0.3746/0.6735, allocations: 20.09 MB / 0.7578 GB, free: 80.48 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)