Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.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.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7776/0.7776, allocations: 130.7 MB / 138.7 MB, free: 3.574 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.413/1.413, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.001075/0.001074, allocations: 96.8 kB / 473.9 MB, free: 4.492 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.88e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4882/0.4882, allocations: 81.57 MB / 0.6282 GB, free: 42.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9142/1.402, allocations: 359.6 MB / 0.9793 GB, free: 148 kB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/1.403, allocations: 88.33 kB / 0.9794 GB, free: 104 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.084/2.487, allocations: 295.8 MB / 1.268 GB, free: 42.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.034e-06/2.487, allocations: 0 / 1.268 GB, free: 42.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002035/2.487, allocations: 32 kB / 1.268 GB, free: 42.16 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003291/2.49, allocations: 1.256 MB / 1.269 GB, free: 40.86 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/2.49, allocations: 12.03 kB / 1.269 GB, free: 40.85 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/2.492, allocations: 199 kB / 1.27 GB, free: 40.66 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/2.506, allocations: 6.46 MB / 1.276 GB, free: 34.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.235e-05/2.506, allocations: 20 kB / 1.276 GB, free: 34.08 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003055/2.506, allocations: 44 kB / 1.276 GB, free: 34.04 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00125/2.508, allocations: 486.5 kB / 1.277 GB, free: 33.56 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/2.509, allocations: 0.6019 MB / 1.277 GB, free: 32.93 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/2.509, allocations: 4.219 kB / 1.277 GB, free: 32.93 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.993e-05/2.509, allocations: 0 / 1.277 GB, free: 32.93 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/2.509, allocations: 29.19 kB / 1.277 GB, free: 32.9 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.00542/2.515, allocations: 2.779 MB / 1.28 GB, free: 30 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000848/2.516, allocations: 482.6 kB / 1.28 GB, free: 29.52 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/2.516, allocations: 188.8 kB / 1.28 GB, free: 29.33 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002134/2.518, allocations: 1.539 MB / 1.282 GB, free: 27.61 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000349/2.518, allocations: 228.4 kB / 1.282 GB, free: 27.38 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004247/2.519, allocations: 35.67 kB / 1.282 GB, free: 27.34 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=41): time 2.595e-06/2.519, allocations: 4 kB / 1.282 GB, free: 27.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=41): time 0.001384/2.52, allocations: 487.9 kB / 1.283 GB, free: 26.86 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/2.52, allocations: 59.39 kB / 1.283 GB, free: 26.79 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/2.521, allocations: 0.71 MB / 1.283 GB, free: 26.05 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/2.522, allocations: 29.7 kB / 1.283 GB, free: 26.02 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/2.522, allocations: 0.4916 MB / 1.284 GB, free: 25.52 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/2.522, allocations: 138 kB / 1.284 GB, free: 25.38 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/2.522, allocations: 0 / 1.284 GB, free: 25.38 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.96e-05/2.522, allocations: 337.9 kB / 1.284 GB, free: 25.05 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/2.522, allocations: 165.5 kB / 1.285 GB, free: 24.89 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/2.523, allocations: 404.5 kB / 1.285 GB, free: 24.38 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/2.524, allocations: 280.5 kB / 1.285 GB, free: 24.11 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/2.524, allocations: 8 kB / 1.285 GB, free: 24.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001409/2.525, allocations: 0.6591 MB / 1.286 GB, free: 23.43 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005255/2.526, allocations: 2.353 MB / 1.288 GB, free: 20.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/2.526, allocations: 8 kB / 1.288 GB, free: 20.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/2.526, allocations: 12 kB / 1.288 GB, free: 20.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/2.526, allocations: 159.7 kB / 1.288 GB, free: 20.72 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/2.526, allocations: 8 kB / 1.288 GB, free: 20.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007192/2.527, allocations: 47.89 kB / 1.288 GB, free: 20.67 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.706e-05/2.527, allocations: 35.98 kB / 1.288 GB, free: 20.63 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/2.527, allocations: 9.188 kB / 1.288 GB, free: 20.62 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001108/2.528, allocations: 0.498 MB / 1.289 GB, free: 20.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/2.528, allocations: 8 kB / 1.289 GB, free: 20.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/2.528, allocations: 8 kB / 1.289 GB, free: 20.11 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/2.529, allocations: 152.5 kB / 1.289 GB, free: 19.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/2.529, allocations: 19.94 kB / 1.289 GB, free: 19.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006221/2.529, allocations: 35.88 kB / 1.289 GB, free: 19.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/2.529, allocations: 43.98 kB / 1.289 GB, free: 19.86 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * 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.0001547/2.53, allocations: 124.7 kB / 1.289 GB, free: 19.73 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/2.53, allocations: 90.88 kB / 1.289 GB, free: 19.64 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/2.531, allocations: 0.5912 MB / 1.29 GB, free: 19.05 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/2.531, allocations: 7.984 kB / 1.29 GB, free: 19.04 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/2.531, allocations: 4 kB / 1.29 GB, free: 19.04 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007445/2.532, allocations: 0.6533 MB / 1.291 GB, free: 18.32 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.00222/2.534, allocations: 1.392 MB / 1.292 GB, free: 16.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/2.534, allocations: 0 / 1.292 GB, free: 16.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/2.534, allocations: 99.94 kB / 1.292 GB, free: 16.76 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/2.534, allocations: 7.953 kB / 1.292 GB, free: 16.75 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/2.535, allocations: 11.98 kB / 1.292 GB, free: 16.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/2.535, allocations: 4 kB / 1.292 GB, free: 16.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/2.535, allocations: 3.938 kB / 1.292 GB, free: 16.73 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/2.536, allocations: 0.8937 MB / 1.293 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/2.536, allocations: 227.8 kB / 1.293 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/2.536, allocations: 8 kB / 1.293 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/2.537, allocations: 39.95 kB / 1.293 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/2.537, allocations: 35.86 kB / 1.293 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/2.537, allocations: 27.98 kB / 1.293 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006694/2.538, allocations: 0.5394 MB / 1.294 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/2.538, allocations: 0 / 1.294 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001943/2.54, allocations: 0.5729 MB / 1.294 GB, free: 14.31 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.001556/2.541, allocations: 0.7299 MB / 1.295 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001166/2.542, allocations: 0.7415 MB / 1.296 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/2.542, allocations: 0 / 1.296 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002814/2.543, allocations: 217.2 kB / 1.296 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/2.545, allocations: 416.9 kB / 1.296 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/2.547, allocations: 1.305 MB / 1.298 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/2.548, allocations: 1.105 MB / 1.299 GB, free: 9.738 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001424/2.549, allocations: 351.2 kB / 1.299 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/2.549, allocations: 71.41 kB / 1.299 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of SimCode: time 1.333e-06/2.549, allocations: 0 / 1.299 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of Templates: time 0.4814/3.031, allocations: 20.26 MB / 1.319 GB, free: 129.7 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)