Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 184.3 kB / 7.461 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5951/0.5951, allocations: 133.5 MB / 141.4 MB, free: 15.61 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.121/1.121, allocations: 221.3 MB / 395 MB, free: 10.17 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.0008451/0.0008452, allocations: 101.4 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.37e-06/5.39e-06, allocations: 3 kB / 0.5528 GB, free: 89.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 82.3 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7333/0.8482, allocations: 359.7 MB / 0.9845 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001721/0.8484, allocations: 89.17 kB / 0.9846 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.7112/1.56, allocations: 297.4 MB / 1.275 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001026/1.56, allocations: 28.59 kB / 1.275 GB, free: 150.4 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001672/1.561, allocations: 1.256 MB / 1.276 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/1.561, allocations: 10.56 kB / 1.276 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008302/1.562, allocations: 204 kB / 1.277 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/1.574, allocations: 6.52 MB / 1.283 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/1.574, allocations: 26.06 kB / 1.283 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.394e-05/1.574, allocations: 41.59 kB / 1.283 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007297/1.575, allocations: 487.6 kB / 1.283 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/1.576, allocations: 0.616 MB / 1.284 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/1.576, allocations: 0 / 1.284 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/1.576, allocations: 0 / 1.284 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/1.576, allocations: 25.81 kB / 1.284 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/1.579, allocations: 2.855 MB / 1.287 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/1.579, allocations: 418.4 kB / 1.287 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/1.58, allocations: 195.2 kB / 1.287 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/1.581, allocations: 1.528 MB / 1.289 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/1.581, allocations: 244 kB / 1.289 GB, free: 147 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 1.813e-06/1.581, allocations: 0 / 1.289 GB, free: 147 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.001077/1.582, allocations: 499 kB / 1.29 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/1.583, allocations: 58.03 kB / 1.29 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006724/1.583, allocations: 0.7031 MB / 1.29 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/1.583, allocations: 29.67 kB / 1.29 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/1.583, allocations: 354.8 kB / 1.291 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/1.584, allocations: 134 kB / 1.291 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/1.584, allocations: 0 / 1.291 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.195e-05/1.584, allocations: 335.3 kB / 1.291 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/1.584, allocations: 175 kB / 1.291 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/1.584, allocations: 403.8 kB / 1.292 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007177/1.585, allocations: 294 kB / 1.292 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.585, allocations: 7.094 kB / 1.292 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0012/1.586, allocations: 0.6709 MB / 1.293 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002963/1.586, allocations: 2.353 MB / 1.295 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.586, allocations: 6.625 kB / 1.295 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.586, allocations: 13.56 kB / 1.295 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/1.587, allocations: 157.4 kB / 1.295 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.587, allocations: 17.92 kB / 1.295 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005747/1.588, allocations: 77.19 kB / 1.295 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/1.588, allocations: 41.58 kB / 1.295 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.428e-06/1.588, allocations: 3.5 kB / 1.295 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001016/1.589, allocations: 0.5162 MB / 1.296 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.589, allocations: 6.906 kB / 1.296 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/1.589, allocations: 11.09 kB / 1.296 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/1.589, allocations: 152.6 kB / 1.296 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.589, allocations: 14 kB / 1.296 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/1.59, allocations: 68.89 kB / 1.296 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/1.59, allocations: 33.34 kB / 1.296 GB, free: 143.2 MB / 0.6823 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.0001198/1.59, allocations: 128.8 kB / 1.296 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.521e-05/1.59, allocations: 96.09 kB / 1.296 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/1.591, allocations: 0.6442 MB / 1.297 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/1.591, allocations: 14.73 kB / 1.297 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.591, allocations: 0 / 1.297 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007074/1.592, allocations: 0.6621 MB / 1.298 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/1.594, allocations: 1.366 MB / 1.299 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.594, allocations: 0 / 1.299 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004445/1.594, allocations: 94.56 kB / 1.299 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.594, allocations: 6.016 kB / 1.299 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/1.594, allocations: 8.953 kB / 1.299 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.594, allocations: 9.562 kB / 1.299 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.594, allocations: 3.812 kB / 1.299 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001048/1.595, allocations: 0.9197 MB / 1.3 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/1.595, allocations: 227.2 kB / 1.3 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.596, allocations: 3.875 kB / 1.3 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/1.596, allocations: 46.16 kB / 1.3 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/1.596, allocations: 32.03 kB / 1.3 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/1.596, allocations: 23.03 kB / 1.3 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004685/1.597, allocations: 0.543 MB / 1.301 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001273/1.598, allocations: 0.5659 MB / 1.301 GB, free: 141.7 MB / 0.6823 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 (49): * Single equations (assignments): 44 * 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.0009186/1.599, allocations: 0.7389 MB / 1.302 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008815/1.6, allocations: 0.7653 MB / 1.303 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.6, allocations: 0 / 1.303 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/1.6, allocations: 234.5 kB / 1.303 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/1.601, allocations: 387.9 kB / 1.303 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/1.603, allocations: 1.371 MB / 1.305 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005985/1.604, allocations: 1.206 MB / 1.306 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/1.604, allocations: 0 / 1.306 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.02697/1.631, allocations: 22.44 MB / 1.328 GB, free: 139.7 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)