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") [: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.001143/0.001143, allocations: 182.9 kB / 7.455 MB, free: 1.555 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6561/0.6561, allocations: 130.6 MB / 138.5 MB, free: 7.629 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 221.3 MB / 391.4 MB, free: 1.098 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001068, allocations: 108 kB / 473.4 MB, free: 15.18 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 8.465e-06/8.486e-06, allocations: 4 kB / 0.5479 GB, free: 53.27 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.188, allocations: 81.58 MB / 0.6276 GB, free: 3.641 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.277, allocations: 359.5 MB / 0.9786 GB, free: 189.9 MB / 0.6589 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/1.277, allocations: 90.33 kB / 0.9787 GB, free: 189.8 MB / 0.6589 GB Notification: Performance of FrontEnd: time 0.9517/2.229, allocations: 297.4 MB / 1.269 GB, free: 135.4 MB / 0.6589 GB Notification: Performance of Transformations before backend: time 0.0002946/2.229, allocations: 29.34 kB / 1.269 GB, free: 135.4 MB / 0.6589 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.00431/2.233, allocations: 1.253 MB / 1.27 GB, free: 134.4 MB / 0.6589 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/2.233, allocations: 12.23 kB / 1.27 GB, free: 134.4 MB / 0.6589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/2.235, allocations: 206.8 kB / 1.271 GB, free: 134.3 MB / 0.6589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01783/2.253, allocations: 6.51 MB / 1.277 GB, free: 130.5 MB / 0.6589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.388e-05/2.253, allocations: 21.03 kB / 1.277 GB, free: 130.5 MB / 0.6589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/2.253, allocations: 41.41 kB / 1.277 GB, free: 130.5 MB / 0.6589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001517/2.255, allocations: 491.7 kB / 1.278 GB, free: 130.2 MB / 0.6589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/2.256, allocations: 0.6112 MB / 1.278 GB, free: 129.9 MB / 0.6589 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/2.257, allocations: 0 / 1.278 GB, free: 129.9 MB / 0.6589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.292e-05/2.257, allocations: 1.406 kB / 1.278 GB, free: 129.9 MB / 0.6589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/2.257, allocations: 26.81 kB / 1.278 GB, free: 129.9 MB / 0.6589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00566/2.262, allocations: 2.858 MB / 1.281 GB, free: 127.6 MB / 0.6589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008441/2.263, allocations: 416.2 kB / 1.281 GB, free: 127.4 MB / 0.6589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/2.264, allocations: 197 kB / 1.282 GB, free: 127.3 MB / 0.6589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002323/2.266, allocations: 1.538 MB / 1.283 GB, free: 125.8 MB / 0.6589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003631/2.266, allocations: 237 kB / 1.283 GB, free: 125.7 MB / 0.6589 GB Notification: Performance of pre-optimization done (n=41): time 2.725e-06/2.266, allocations: 0 / 1.283 GB, free: 125.7 MB / 0.6589 GB Notification: Performance of matching and sorting (n=41): time 0.001587/2.268, allocations: 0.4885 MB / 1.284 GB, free: 125.4 MB / 0.6589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/2.268, allocations: 55.69 kB / 1.284 GB, free: 125.4 MB / 0.6589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/2.269, allocations: 0.7125 MB / 1.284 GB, free: 125 MB / 0.6589 GB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/2.27, allocations: 26.77 kB / 1.285 GB, free: 124.9 MB / 0.6589 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/2.27, allocations: 351.8 kB / 1.285 GB, free: 124.6 MB / 0.6589 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/2.27, allocations: 135.7 kB / 1.285 GB, free: 124.5 MB / 0.6589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/2.27, allocations: 4.562 kB / 1.285 GB, free: 124.5 MB / 0.6589 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/2.27, allocations: 331.8 kB / 1.285 GB, free: 124.2 MB / 0.6589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/2.27, allocations: 171.6 kB / 1.285 GB, free: 124.1 MB / 0.6589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/2.271, allocations: 411.6 kB / 1.286 GB, free: 123.7 MB / 0.6589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/2.272, allocations: 289.8 kB / 1.286 GB, free: 123.6 MB / 0.6589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/2.272, allocations: 5.359 kB / 1.286 GB, free: 123.6 MB / 0.6589 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001779/2.274, allocations: 0.6743 MB / 1.287 GB, free: 123.3 MB / 0.6589 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004878/2.274, allocations: 2.359 MB / 1.289 GB, free: 120.8 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/2.274, allocations: 5.5 kB / 1.289 GB, free: 120.8 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/2.274, allocations: 14.62 kB / 1.289 GB, free: 120.8 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/2.275, allocations: 152.6 kB / 1.289 GB, free: 120.7 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.128e-05/2.275, allocations: 13.12 kB / 1.289 GB, free: 120.7 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000977/2.276, allocations: 80.64 kB / 1.289 GB, free: 120.7 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/2.276, allocations: 39.08 kB / 1.289 GB, free: 120.7 MB / 0.6589 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/2.276, allocations: 3.938 kB / 1.289 GB, free: 120.7 MB / 0.6589 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00151/2.278, allocations: 0.5165 MB / 1.29 GB, free: 120.5 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/2.278, allocations: 10 kB / 1.29 GB, free: 120.5 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/2.278, allocations: 9.406 kB / 1.29 GB, free: 120.5 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/2.278, allocations: 146.5 kB / 1.29 GB, free: 120.4 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/2.279, allocations: 12.19 kB / 1.29 GB, free: 120.4 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/2.279, allocations: 74.27 kB / 1.29 GB, free: 120.4 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/2.279, allocations: 34.55 kB / 1.29 GB, free: 120.4 MB / 0.6589 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.0002002/2.28, allocations: 127 kB / 1.29 GB, free: 120.3 MB / 0.6589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/2.28, allocations: 93.53 kB / 1.29 GB, free: 120.2 MB / 0.6589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/2.282, allocations: 0.6446 MB / 1.291 GB, free: 119.9 MB / 0.6589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/2.282, allocations: 9.562 kB / 1.291 GB, free: 119.9 MB / 0.6589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/2.282, allocations: 4 kB / 1.291 GB, free: 119.8 MB / 0.6589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009821/2.283, allocations: 0.6653 MB / 1.292 GB, free: 119.3 MB / 0.6589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/2.286, allocations: 1.365 MB / 1.293 GB, free: 118.4 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/2.286, allocations: 1.625 kB / 1.293 GB, free: 118.4 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006297/2.287, allocations: 100.6 kB / 1.293 GB, free: 118.3 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.951e-05/2.287, allocations: 3.219 kB / 1.293 GB, free: 118.3 MB / 0.6589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/2.287, allocations: 9.141 kB / 1.293 GB, free: 118.3 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.645e-05/2.287, allocations: 7.047 kB / 1.293 GB, free: 118.3 MB / 0.6589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/2.287, allocations: 1.281 kB / 1.293 GB, free: 118.3 MB / 0.6589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001708/2.289, allocations: 0.9197 MB / 1.294 GB, free: 117.4 MB / 0.6589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005776/2.289, allocations: 231.7 kB / 1.294 GB, free: 117.2 MB / 0.6589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/2.289, allocations: 7.906 kB / 1.294 GB, free: 117.2 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006971/2.29, allocations: 39.95 kB / 1.294 GB, free: 117.1 MB / 0.6589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/2.29, allocations: 32.33 kB / 1.294 GB, free: 117.1 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.251e-05/2.29, allocations: 19.98 kB / 1.294 GB, free: 117.1 MB / 0.6589 GB Notification: Performance of sort global known variables: time 0.001029/2.291, allocations: 0.5434 MB / 1.295 GB, free: 116.5 MB / 0.6589 GB Notification: Performance of remove unused functions: time 0.002698/2.294, allocations: 0.5729 MB / 1.295 GB, free: 115.9 MB / 0.6589 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.001646/2.296, allocations: 0.7327 MB / 1.296 GB, free: 115.3 MB / 0.6589 GB Notification: Performance of simCode: created initialization part: time 0.001458/2.297, allocations: 0.7656 MB / 1.297 GB, free: 114.5 MB / 0.6589 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/2.297, allocations: 0 / 1.297 GB, free: 114.5 MB / 0.6589 GB Notification: Performance of simCode: created simulation system equations: time 0.000335/2.298, allocations: 232.6 kB / 1.297 GB, free: 114.3 MB / 0.6589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/2.299, allocations: 403.4 kB / 1.297 GB, free: 113.9 MB / 0.6589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/2.303, allocations: 1.348 MB / 1.299 GB, free: 112.5 MB / 0.6589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/2.304, allocations: 1.207 MB / 1.3 GB, free: 111.3 MB / 0.6589 GB Notification: Performance of SimCode: time 1.002e-06/2.304, allocations: 0 / 1.3 GB, free: 111.3 MB / 0.6589 GB Notification: Performance of Templates: time 0.03593/2.34, allocations: 22.45 MB / 1.322 GB, free: 89.41 MB / 0.6589 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)