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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7111/0.7111, allocations: 130.5 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.3 MB / 396.8 MB, free: 9.117 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008803/0.0008802, allocations: 97.22 kB / 479 MB, free: 10.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.608e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1668, allocations: 81.57 MB / 0.6347 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.264/1.43, allocations: 359.7 MB / 0.986 GB, free: 260.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/1.431, allocations: 93.64 kB / 0.9861 GB, free: 260.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.021/2.452, allocations: 295.5 MB / 1.275 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/2.452, allocations: 3.797 kB / 1.275 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001459/2.452, allocations: 31.89 kB / 1.275 GB, free: 148.9 MB / 0.6823 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.002479/2.455, allocations: 1.234 MB / 1.276 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/2.455, allocations: 10 kB / 1.276 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009642/2.456, allocations: 192.4 kB / 1.276 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/2.47, allocations: 6.441 MB / 1.282 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/2.47, allocations: 52.81 kB / 1.282 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/2.47, allocations: 64.53 kB / 1.282 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/2.472, allocations: 0.6641 MB / 1.283 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/2.472, allocations: 4.688 kB / 1.283 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.305e-05/2.472, allocations: 22.41 kB / 1.283 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/2.472, allocations: 17.81 kB / 1.283 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007014/2.472, allocations: 467.1 kB / 1.284 GB, free: 147.8 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004086/2.476, allocations: 2.776 MB / 1.286 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/2.477, allocations: 337.3 kB / 1.287 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/2.477, allocations: 156.2 kB / 1.287 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001944/2.479, allocations: 1.516 MB / 1.288 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003846/2.48, allocations: 219.1 kB / 1.288 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002777/2.48, allocations: 70.3 kB / 1.289 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.436e-06/2.48, allocations: 0 / 1.289 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.000693/2.481, allocations: 385 kB / 1.289 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/2.481, allocations: 58.47 kB / 1.289 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009629/2.482, allocations: 0.78 MB / 1.29 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/2.482, allocations: 37.73 kB / 1.29 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/2.482, allocations: 488.2 kB / 1.29 GB, free: 145 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.575e-05/2.482, allocations: 111.8 kB / 1.29 GB, free: 145 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/2.482, allocations: 9.875 kB / 1.29 GB, free: 145 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/2.482, allocations: 334.8 kB / 1.291 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/2.483, allocations: 150 kB / 1.291 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/2.483, allocations: 383.8 kB / 1.291 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/2.483, allocations: 225.8 kB / 1.291 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/2.483, allocations: 0 / 1.291 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009449/2.484, allocations: 0.6259 MB / 1.292 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006005/2.485, allocations: 2.302 MB / 1.294 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/2.485, allocations: 15.95 kB / 1.294 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/2.485, allocations: 10.19 kB / 1.294 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/2.485, allocations: 133 kB / 1.294 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/2.485, allocations: 10.34 kB / 1.294 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/2.486, allocations: 61.55 kB / 1.294 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/2.486, allocations: 35.55 kB / 1.294 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/2.486, allocations: 3.875 kB / 1.294 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000741/2.487, allocations: 0.5113 MB / 1.295 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/2.487, allocations: 3.969 kB / 1.295 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/2.487, allocations: 14.88 kB / 1.295 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/2.487, allocations: 127.9 kB / 1.295 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/2.487, allocations: 14.75 kB / 1.295 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/2.488, allocations: 57.88 kB / 1.295 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/2.488, allocations: 29.95 kB / 1.295 GB, free: 141.8 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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.0001415/2.488, allocations: 150.8 kB / 1.295 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.915e-05/2.488, allocations: 88.16 kB / 1.295 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009748/2.489, allocations: 0.5485 MB / 1.296 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/2.489, allocations: 3.844 kB / 1.296 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/2.489, allocations: 0 / 1.296 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005273/2.49, allocations: 0.6048 MB / 1.297 GB, free: 141.3 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.001787/2.492, allocations: 1.38 MB / 1.298 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/2.492, allocations: 3.719 kB / 1.298 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/2.492, allocations: 82.47 kB / 1.298 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/2.492, allocations: 10.77 kB / 1.298 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/2.492, allocations: 14.23 kB / 1.298 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/2.492, allocations: 0 / 1.298 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/2.492, allocations: 3.656 kB / 1.298 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009137/2.493, allocations: 0.8376 MB / 1.299 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/2.493, allocations: 215 kB / 1.299 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/2.493, allocations: 14.2 kB / 1.299 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/2.494, allocations: 54.36 kB / 1.299 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.42e-05/2.494, allocations: 36.34 kB / 1.299 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/2.494, allocations: 21.45 kB / 1.299 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006975/2.495, allocations: 0.6039 MB / 1.3 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/2.495, allocations: 3 kB / 1.3 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001914/2.497, allocations: 0.586 MB / 1.3 GB, free: 140.2 MB / 0.6823 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) * 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 (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.001317/2.498, allocations: 0.7553 MB / 1.301 GB, free: 140 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001123/2.499, allocations: 0.7956 MB / 1.302 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/2.499, allocations: 0 / 1.302 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002866/2.499, allocations: 211.8 kB / 1.302 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/2.501, allocations: 472.5 kB / 1.303 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/2.503, allocations: 1.198 MB / 1.304 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/2.504, allocations: 1.074 MB / 1.305 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001219/2.505, allocations: 329.3 kB / 1.305 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/2.505, allocations: 74.73 kB / 1.305 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/2.505, allocations: 0 / 1.305 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.0397/2.545, allocations: 25.22 MB / 1.33 GB, free: 137.8 MB / 0.6823 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)