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.001884/0.001884, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7983/0.7983, allocations: 130.7 MB / 138.7 MB, free: 3.57 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 221.5 MB / 391.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009397/0.0009398, allocations: 94.02 kB / 473.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.669e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.5286, allocations: 81.58 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.163/1.692, allocations: 359 MB / 0.9788 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/1.692, allocations: 83.52 kB / 0.9789 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.001/2.693, allocations: 293.4 MB / 1.265 GB, free: 45.14 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.683e-06/2.693, allocations: 0 / 1.265 GB, free: 45.14 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002431/2.694, allocations: 31.98 kB / 1.265 GB, free: 45.11 MB / 0.6667 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.003575/2.697, allocations: 1.23 MB / 1.267 GB, free: 43.83 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/2.697, allocations: 11.97 kB / 1.267 GB, free: 43.82 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/2.699, allocations: 195.1 kB / 1.267 GB, free: 43.62 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/2.712, allocations: 6.414 MB / 1.273 GB, free: 37.11 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/2.713, allocations: 20 kB / 1.273 GB, free: 37.09 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/2.713, allocations: 44 kB / 1.273 GB, free: 37.05 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001034/2.714, allocations: 450.5 kB / 1.274 GB, free: 36.61 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/2.715, allocations: 0.5785 MB / 1.274 GB, free: 36 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/2.715, allocations: 4 kB / 1.274 GB, free: 36 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/2.715, allocations: 0 / 1.274 GB, free: 36 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/2.715, allocations: 16 kB / 1.274 GB, free: 35.98 MB / 0.6667 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.004335/2.719, allocations: 2.639 MB / 1.277 GB, free: 33.22 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/2.72, allocations: 351.6 kB / 1.277 GB, free: 32.87 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/2.72, allocations: 157.3 kB / 1.277 GB, free: 32.71 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001953/2.722, allocations: 1.495 MB / 1.279 GB, free: 31.04 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/2.722, allocations: 209.5 kB / 1.279 GB, free: 30.83 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000362/2.723, allocations: 47.59 kB / 1.279 GB, free: 30.78 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 2.434e-06/2.723, allocations: 0 / 1.279 GB, free: 30.78 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.001179/2.724, allocations: 436.2 kB / 1.279 GB, free: 30.35 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/2.724, allocations: 55.83 kB / 1.279 GB, free: 30.28 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009007/2.725, allocations: 0.6767 MB / 1.28 GB, free: 29.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/2.725, allocations: 25.7 kB / 1.28 GB, free: 29.57 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/2.725, allocations: 487.4 kB / 1.28 GB, free: 29.08 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.162e-05/2.725, allocations: 110.4 kB / 1.281 GB, free: 28.97 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/2.725, allocations: 0 / 1.281 GB, free: 28.97 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.205e-05/2.726, allocations: 333.9 kB / 1.281 GB, free: 28.64 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/2.726, allocations: 153 kB / 1.281 GB, free: 28.49 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/2.726, allocations: 373.1 kB / 1.281 GB, free: 28.02 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/2.727, allocations: 255.6 kB / 1.282 GB, free: 27.77 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/2.727, allocations: 0 / 1.282 GB, free: 27.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001307/2.728, allocations: 0.6068 MB / 1.282 GB, free: 27.16 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004972/2.729, allocations: 2.294 MB / 1.284 GB, free: 24.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/2.729, allocations: 15.94 kB / 1.285 GB, free: 24.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/2.729, allocations: 8 kB / 1.285 GB, free: 24.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/2.729, allocations: 131.8 kB / 1.285 GB, free: 24.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/2.729, allocations: 8 kB / 1.285 GB, free: 24.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007184/2.73, allocations: 51.86 kB / 1.285 GB, free: 24.47 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/2.73, allocations: 35.98 kB / 1.285 GB, free: 24.44 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/2.73, allocations: 4 kB / 1.285 GB, free: 24.43 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001101/2.731, allocations: 487.7 kB / 1.285 GB, free: 23.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/2.731, allocations: 4.781 kB / 1.285 GB, free: 23.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/2.731, allocations: 15.98 kB / 1.285 GB, free: 23.94 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/2.732, allocations: 127.8 kB / 1.285 GB, free: 23.81 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/2.732, allocations: 11.94 kB / 1.285 GB, free: 23.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/2.732, allocations: 47.89 kB / 1.285 GB, free: 23.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/2.732, allocations: 35.98 kB / 1.285 GB, free: 23.72 MB / 0.6667 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.0001591/2.733, allocations: 124.8 kB / 1.286 GB, free: 23.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/2.733, allocations: 82.88 kB / 1.286 GB, free: 23.51 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/2.734, allocations: 0.5373 MB / 1.286 GB, free: 22.96 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/2.734, allocations: 8 kB / 1.286 GB, free: 22.95 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/2.734, allocations: 0 / 1.286 GB, free: 22.95 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007666/2.735, allocations: 0.6039 MB / 1.287 GB, free: 22.28 MB / 0.6667 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.002282/2.737, allocations: 1.286 MB / 1.288 GB, free: 20.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/2.737, allocations: 4.125 kB / 1.288 GB, free: 20.92 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/2.737, allocations: 79.94 kB / 1.288 GB, free: 20.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/2.737, allocations: 7.938 kB / 1.288 GB, free: 20.84 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/2.737, allocations: 4 kB / 1.288 GB, free: 20.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/2.737, allocations: 4 kB / 1.288 GB, free: 20.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/2.737, allocations: 3.953 kB / 1.288 GB, free: 20.82 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/2.739, allocations: 0.8049 MB / 1.289 GB, free: 19.97 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000393/2.739, allocations: 216 kB / 1.289 GB, free: 19.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/2.739, allocations: 0 / 1.289 GB, free: 19.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/2.74, allocations: 43.86 kB / 1.289 GB, free: 19.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/2.74, allocations: 39.88 kB / 1.289 GB, free: 19.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/2.74, allocations: 19.98 kB / 1.289 GB, free: 19.64 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007345/2.741, allocations: 0.5147 MB / 1.29 GB, free: 19.12 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/2.741, allocations: 0 / 1.29 GB, free: 19.12 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002371/2.743, allocations: 0.5651 MB / 1.29 GB, free: 18.56 MB / 0.6667 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.001831/2.745, allocations: 0.7504 MB / 1.291 GB, free: 17.81 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001076/2.746, allocations: 0.7597 MB / 1.292 GB, free: 17.03 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.746, allocations: 0.5 kB / 1.292 GB, free: 17.03 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002955/2.746, allocations: 203.8 kB / 1.292 GB, free: 16.83 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/2.748, allocations: 387.1 kB / 1.292 GB, free: 16.45 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/2.751, allocations: 1.171 MB / 1.293 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/2.751, allocations: 1.073 MB / 1.294 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001256/2.752, allocations: 314.9 kB / 1.295 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/2.753, allocations: 63.41 kB / 1.295 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of SimCode: time 6.01e-07/2.753, allocations: 0 / 1.295 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of Templates: time 0.4694/3.222, allocations: 19.75 MB / 1.314 GB, free: 131.7 MB / 0.6667 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)