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") [: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.003313/0.003313, allocations: 182.8 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6821/0.6821, allocations: 130.6 MB / 138.5 MB, free: 2.289 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.52/1.52, allocations: 221.3 MB / 391.4 MB, free: 13.18 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.001007/0.001007, allocations: 102.1 kB / 473.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.211e-05/1.214e-05, allocations: 1.906 kB / 0.5479 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1679, allocations: 81.58 MB / 0.6276 GB, free: 18.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.3, allocations: 358.9 MB / 0.9781 GB, free: 250.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.3, allocations: 85.41 kB / 0.9782 GB, free: 250.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.9695/2.269, allocations: 295.1 MB / 1.266 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003057/2.27, allocations: 35.67 kB / 1.266 GB, free: 143.7 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.005519/2.275, allocations: 1.239 MB / 1.268 GB, free: 143.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.259e-05/2.275, allocations: 10.81 kB / 1.268 GB, free: 143.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/2.277, allocations: 191.9 kB / 1.268 GB, free: 143.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01699/2.294, allocations: 6.465 MB / 1.274 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.409e-05/2.295, allocations: 23.38 kB / 1.274 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/2.295, allocations: 39.84 kB / 1.274 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00129/2.296, allocations: 464.9 kB / 1.275 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/2.297, allocations: 0.5793 MB / 1.275 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/2.297, allocations: 0 / 1.275 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.366e-05/2.297, allocations: 3.891 kB / 1.275 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/2.297, allocations: 14.47 kB / 1.275 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004812/2.302, allocations: 2.729 MB / 1.278 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/2.303, allocations: 337.8 kB / 1.278 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/2.303, allocations: 157.7 kB / 1.278 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002164/2.305, allocations: 1.488 MB / 1.28 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/2.306, allocations: 209.3 kB / 1.28 GB, free: 140.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 3.527e-06/2.306, allocations: 3.344 kB / 1.28 GB, free: 140.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.001324/2.307, allocations: 442.6 kB / 1.28 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/2.307, allocations: 58.41 kB / 1.28 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/2.308, allocations: 0.6811 MB / 1.281 GB, free: 140 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/2.308, allocations: 31 kB / 1.281 GB, free: 140 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/2.308, allocations: 342.9 kB / 1.281 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/2.309, allocations: 108.7 kB / 1.282 GB, free: 139.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/2.309, allocations: 0 / 1.282 GB, free: 139.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.37e-05/2.309, allocations: 328.5 kB / 1.282 GB, free: 139.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/2.309, allocations: 157.3 kB / 1.282 GB, free: 139.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/2.309, allocations: 372.5 kB / 1.282 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008714/2.31, allocations: 265.9 kB / 1.283 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/2.31, allocations: 5.312 kB / 1.283 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001471/2.312, allocations: 0.613 MB / 1.283 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005376/2.312, allocations: 2.272 MB / 1.285 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/2.312, allocations: 11.09 kB / 1.285 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/2.312, allocations: 6.812 kB / 1.285 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/2.313, allocations: 134.9 kB / 1.286 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/2.313, allocations: 14.69 kB / 1.286 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008802/2.314, allocations: 85.84 kB / 1.286 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.407e-05/2.314, allocations: 39.56 kB / 1.286 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/2.314, allocations: 3.594 kB / 1.286 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/2.315, allocations: 478.2 kB / 1.286 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/2.315, allocations: 7.438 kB / 1.286 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/2.315, allocations: 13.56 kB / 1.286 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/2.316, allocations: 127.2 kB / 1.286 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/2.316, allocations: 14.45 kB / 1.286 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/2.316, allocations: 75.58 kB / 1.286 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.966e-05/2.317, allocations: 30.56 kB / 1.286 GB, free: 136.7 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.0001852/2.317, allocations: 124.9 kB / 1.287 GB, free: 136.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/2.317, allocations: 85.41 kB / 1.287 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/2.318, allocations: 0.5963 MB / 1.287 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/2.318, allocations: 6.312 kB / 1.287 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/2.318, allocations: 3.531 kB / 1.287 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007856/2.319, allocations: 0.6114 MB / 1.288 GB, free: 136.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/2.322, allocations: 1.24 MB / 1.289 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/2.322, allocations: 0 / 1.289 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/2.322, allocations: 90.7 kB / 1.289 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/2.322, allocations: 3.969 kB / 1.289 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/2.322, allocations: 5.297 kB / 1.289 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/2.322, allocations: 5 kB / 1.289 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/2.322, allocations: 0 / 1.289 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001276/2.324, allocations: 0.8533 MB / 1.29 GB, free: 135.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004417/2.324, allocations: 218.1 kB / 1.29 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/2.324, allocations: 3.906 kB / 1.29 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/2.325, allocations: 37.69 kB / 1.29 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/2.325, allocations: 38.75 kB / 1.29 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/2.325, allocations: 19.41 kB / 1.29 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008212/2.326, allocations: 0.5178 MB / 1.291 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002461/2.328, allocations: 0.5633 MB / 1.291 GB, free: 135.2 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 (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.001809/2.33, allocations: 0.7436 MB / 1.292 GB, free: 135 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00148/2.332, allocations: 0.7286 MB / 1.293 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/2.332, allocations: 0 / 1.293 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003335/2.332, allocations: 211.7 kB / 1.293 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/2.334, allocations: 379.5 kB / 1.293 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/2.337, allocations: 1.219 MB / 1.295 GB, free: 134.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009512/2.338, allocations: 1.172 MB / 1.296 GB, free: 133.8 MB / 0.6667 GB Notification: Performance of SimCode: time 1.683e-06/2.338, allocations: 2.844 kB / 1.296 GB, free: 133.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.0378/2.376, allocations: 21.6 MB / 1.317 GB, free: 133.1 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)