Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") [: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.001817/0.001817, allocations: 184.6 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5892/0.5892, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.22 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.0007925/0.0007926, allocations: 97.84 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.632e-06/6.662e-06, allocations: 2.906 kB / 0.5528 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7459/0.8581, allocations: 359.2 MB / 0.984 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.8584, allocations: 85.64 kB / 0.9841 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.7248/1.583, allocations: 295.1 MB / 1.272 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001335/1.583, allocations: 32.69 kB / 1.272 GB, free: 150.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.002303/1.586, allocations: 1.245 MB / 1.273 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/1.586, allocations: 11.19 kB / 1.273 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/1.587, allocations: 194.6 kB / 1.274 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/1.6, allocations: 6.465 MB / 1.28 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/1.6, allocations: 21.56 kB / 1.28 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/1.6, allocations: 39.91 kB / 1.28 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009204/1.601, allocations: 461.9 kB / 1.28 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009292/1.602, allocations: 0.5836 MB / 1.281 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/1.602, allocations: 0 / 1.281 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/1.602, allocations: 0 / 1.281 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/1.602, allocations: 17.09 kB / 1.281 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/1.606, allocations: 2.72 MB / 1.284 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/1.606, allocations: 333.9 kB / 1.284 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/1.606, allocations: 165.2 kB / 1.284 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/1.608, allocations: 1.481 MB / 1.286 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/1.608, allocations: 219.3 kB / 1.286 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/1.608, allocations: 0 / 1.286 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001069/1.609, allocations: 442.6 kB / 1.286 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/1.609, allocations: 61.97 kB / 1.286 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007299/1.61, allocations: 0.6851 MB / 1.287 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/1.61, allocations: 28.98 kB / 1.287 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/1.61, allocations: 344.2 kB / 1.287 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.797e-05/1.61, allocations: 113.6 kB / 1.287 GB, free: 147 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/1.611, allocations: 0 / 1.287 GB, free: 147 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.861e-05/1.611, allocations: 326.4 kB / 1.288 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/1.611, allocations: 151.1 kB / 1.288 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/1.611, allocations: 375 kB / 1.288 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007419/1.612, allocations: 266 kB / 1.289 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.612, allocations: 0 / 1.289 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001228/1.613, allocations: 0.6169 MB / 1.289 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003656/1.613, allocations: 2.274 MB / 1.291 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.613, allocations: 9.812 kB / 1.291 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/1.613, allocations: 7.812 kB / 1.291 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/1.614, allocations: 132.6 kB / 1.291 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/1.614, allocations: 19.44 kB / 1.291 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/1.615, allocations: 83.59 kB / 1.292 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/1.615, allocations: 38.06 kB / 1.292 GB, free: 144 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.012e-06/1.615, allocations: 3.844 kB / 1.292 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001018/1.616, allocations: 474.2 kB / 1.292 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.616, allocations: 6.562 kB / 1.292 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.814e-06/1.616, allocations: 10.97 kB / 1.292 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/1.616, allocations: 130.2 kB / 1.292 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/1.616, allocations: 11 kB / 1.292 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/1.617, allocations: 67.17 kB / 1.292 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/1.617, allocations: 32.03 kB / 1.292 GB, free: 144 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.0001155/1.617, allocations: 125.2 kB / 1.292 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/1.617, allocations: 86.88 kB / 1.293 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/1.618, allocations: 0.5911 MB / 1.293 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.618, allocations: 15.06 kB / 1.293 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.618, allocations: 3.828 kB / 1.293 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006786/1.619, allocations: 0.6121 MB / 1.294 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/1.621, allocations: 1.247 MB / 1.295 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.621, allocations: 10.45 kB / 1.295 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/1.621, allocations: 83.25 kB / 1.295 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/1.621, allocations: 3.344 kB / 1.295 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/1.621, allocations: 6.688 kB / 1.295 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.621, allocations: 7.094 kB / 1.295 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.621, allocations: 3.531 kB / 1.295 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001036/1.622, allocations: 0.8406 MB / 1.296 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/1.623, allocations: 216.9 kB / 1.296 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/1.623, allocations: 3.906 kB / 1.296 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/1.623, allocations: 38.48 kB / 1.296 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/1.623, allocations: 35.58 kB / 1.296 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/1.623, allocations: 17.89 kB / 1.296 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005085/1.624, allocations: 0.5186 MB / 1.297 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001559/1.625, allocations: 0.5658 MB / 1.297 GB, free: 142.4 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 (41): * Single equations (assignments): 35 * 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.001284/1.627, allocations: 0.7435 MB / 1.298 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009517/1.628, allocations: 0.7301 MB / 1.299 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.628, allocations: 0 / 1.299 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/1.628, allocations: 206.4 kB / 1.299 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/1.629, allocations: 373.2 kB / 1.299 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/1.631, allocations: 1.233 MB / 1.3 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000619/1.632, allocations: 1.161 MB / 1.302 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of SimCode: time 3.81e-07/1.632, allocations: 0 / 1.302 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.02733/1.659, allocations: 21.59 MB / 1.323 GB, free: 140.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)