Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") [: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.001854/0.001854, allocations: 176.2 kB / 7.46 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6013/0.6013, 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.15/1.15, allocations: 221.3 MB / 395 MB, free: 10.05 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.0008905/0.0008905, allocations: 109.5 kB / 477.8 MB, free: 10.63 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.542e-06, allocations: 0 / 0.5528 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 82.3 MB / 0.6332 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7763/0.8949, allocations: 402.5 MB / 1.026 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001698/0.8951, allocations: 87.52 kB / 1.026 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.802/4.697, allocations: 1.468 GB / 2.494 GB, free: 46.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0006201/4.698, allocations: 111 kB / 2.494 GB, free: 46.88 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.009051/4.707, allocations: 3.729 MB / 2.498 GB, free: 45.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/4.707, allocations: 11.19 kB / 2.498 GB, free: 45.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00631/4.713, allocations: 1.218 MB / 2.499 GB, free: 44.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06165/4.775, allocations: 29.05 MB / 2.527 GB, free: 42.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/4.775, allocations: 71.59 kB / 2.527 GB, free: 42.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007986/4.776, allocations: 145.3 kB / 2.528 GB, free: 42.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003895/4.78, allocations: 1.914 MB / 2.529 GB, free: 42.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/4.784, allocations: 2.293 MB / 2.532 GB, free: 42.51 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/4.784, allocations: 7.688 kB / 2.532 GB, free: 42.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/4.784, allocations: 5.469 kB / 2.532 GB, free: 42.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/4.784, allocations: 54.59 kB / 2.532 GB, free: 42.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01561/4.8, allocations: 12.06 MB / 2.543 GB, free: 36.38 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/4.802, allocations: 1.957 MB / 2.545 GB, free: 35.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000898/4.803, allocations: 0.8373 MB / 2.546 GB, free: 35.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005294/4.808, allocations: 4.002 MB / 2.55 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/4.809, allocations: 48.69 kB / 2.55 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 2.294e-06/4.809, allocations: 0 / 2.55 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.006229/4.815, allocations: 2.803 MB / 2.553 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/4.815, allocations: 75.36 kB / 2.553 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/4.818, allocations: 2.632 MB / 2.556 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/4.818, allocations: 29.02 kB / 2.556 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005583/4.819, allocations: 1.034 MB / 2.557 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/4.819, allocations: 397.1 kB / 2.557 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/4.819, allocations: 0 / 2.557 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001148/4.819, allocations: 383.9 kB / 2.557 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/4.821, allocations: 0.8446 MB / 2.558 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/4.822, allocations: 1.623 MB / 2.56 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003589/4.826, allocations: 1.28 MB / 2.561 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/4.826, allocations: 5.562 kB / 2.561 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007177/4.833, allocations: 3.378 MB / 2.564 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001074/4.834, allocations: 8.069 MB / 2.572 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/4.834, allocations: 17.91 kB / 2.572 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/4.836, allocations: 0.872 MB / 2.573 GB, free: 17.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/4.838, allocations: 395.5 kB / 2.573 GB, free: 17.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004409/4.842, allocations: 5.946 MB / 2.579 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003173/4.845, allocations: 305 kB / 2.58 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003478/4.846, allocations: 186.9 kB / 2.58 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/4.846, allocations: 4.719 kB / 2.58 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00648/4.852, allocations: 2.827 MB / 2.582 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/4.852, allocations: 23.14 kB / 2.582 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002355/4.854, allocations: 1.024 MB / 2.583 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/4.856, allocations: 376.4 kB / 2.584 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01628/4.872, allocations: 13.87 MB / 2.597 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/4.875, allocations: 262.3 kB / 2.598 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/4.875, allocations: 155.5 kB / 2.598 GB, free: 11.14 MB / 0.7448 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006771/4.876, allocations: 170.2 kB / 2.598 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005452/4.876, allocations: 352.3 kB / 2.598 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00674/4.883, allocations: 2.962 MB / 2.601 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/4.883, allocations: 16 kB / 2.601 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/4.883, allocations: 3.938 kB / 2.601 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/4.883, allocations: 7.453 kB / 2.601 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009666/4.893, allocations: 4.867 MB / 2.606 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/4.893, allocations: 0 / 2.606 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/4.894, allocations: 223.8 kB / 2.606 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/4.895, allocations: 0.5489 MB / 2.607 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/4.895, allocations: 31.95 kB / 2.607 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2583/5.154, allocations: 5.201 MB / 2.612 GB, free: 104.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/5.154, allocations: 0 / 2.612 GB, free: 104.8 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005297/5.159, allocations: 2.682 MB / 2.614 GB, free: 104.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/5.16, allocations: 0.619 MB / 2.615 GB, free: 104.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004211/5.161, allocations: 0 / 2.615 GB, free: 104.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/5.162, allocations: 186.4 kB / 2.615 GB, free: 104.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/5.163, allocations: 92.88 kB / 2.615 GB, free: 104.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/5.163, allocations: 85.16 kB / 2.615 GB, free: 104.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.002305/5.165, allocations: 1.966 MB / 2.617 GB, free: 104.1 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005127/5.17, allocations: 1.91 MB / 2.619 GB, free: 104.1 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002573/5.173, allocations: 2.319 MB / 2.621 GB, free: 103.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005195/5.178, allocations: 3.912 MB / 2.625 GB, free: 103.1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/5.178, allocations: 0.8438 kB / 2.625 GB, free: 103.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/5.179, allocations: 0.8567 MB / 2.626 GB, free: 103.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005273/5.184, allocations: 1.516 MB / 2.628 GB, free: 103.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007659/5.192, allocations: 4.771 MB / 2.632 GB, free: 101.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/5.194, allocations: 2.626 MB / 2.635 GB, free: 101.1 MB / 0.7448 GB Notification: Performance of SimCode: time 6.42e-07/5.194, allocations: 0 / 2.635 GB, free: 101.1 MB / 0.7448 GB Notification: Performance of Templates: time 0.1186/5.313, allocations: 91.48 MB / 2.724 GB, free: 96.8 MB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)