Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001294/0.001294, allocations: 179.2 kB / 7.459 MB, free: 476 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6881/0.6881, allocations: 130.6 MB / 138.5 MB, free: 6.336 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.707/1.707, allocations: 221.3 MB / 391.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001302, allocations: 87.11 kB / 473.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 1.08e-05/1.091e-05, allocations: 4 kB / 0.5479 GB, free: 496 kB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.544, allocations: 81.56 MB / 0.6276 GB, free: 46.27 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.756, allocations: 402.2 MB / 1.02 GB, free: 255.8 MB / 0.67 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004163/1.757, allocations: 96.91 kB / 1.02 GB, free: 255.8 MB / 0.67 GB Notification: Performance of FrontEnd: time 5.23/6.987, allocations: 1.468 GB / 2.488 GB, free: 49.6 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0009317/6.988, allocations: 101.7 kB / 2.488 GB, free: 49.59 MB / 0.7169 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.01386/7.002, allocations: 3.738 MB / 2.492 GB, free: 47.71 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/7.002, allocations: 13.16 kB / 2.492 GB, free: 47.71 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008838/7.011, allocations: 1.212 MB / 2.493 GB, free: 47.46 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08142/7.092, allocations: 29.06 MB / 2.521 GB, free: 45.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/7.092, allocations: 76.56 kB / 2.522 GB, free: 45.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/7.094, allocations: 149.5 kB / 2.522 GB, free: 45.47 MB / 0.7169 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005914/7.1, allocations: 1.914 MB / 2.524 GB, free: 45.46 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007031/7.107, allocations: 2.289 MB / 2.526 GB, free: 44.87 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.319e-05/7.107, allocations: 2.719 kB / 2.526 GB, free: 44.87 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003293/7.107, allocations: 4.719 kB / 2.526 GB, free: 44.87 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/7.107, allocations: 56.69 kB / 2.526 GB, free: 44.87 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/7.126, allocations: 12.08 MB / 2.538 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/7.129, allocations: 1.95 MB / 2.54 GB, free: 35.71 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/7.13, allocations: 0.8439 MB / 2.54 GB, free: 35.39 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007668/7.137, allocations: 3.981 MB / 2.544 GB, free: 32.61 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/7.138, allocations: 49.53 kB / 2.544 GB, free: 32.56 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=119): time 3.567e-06/7.138, allocations: 0 / 2.544 GB, free: 32.56 MB / 0.7169 GB Notification: Performance of matching and sorting (n=119): time 0.01028/7.148, allocations: 2.811 MB / 2.547 GB, free: 31.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/7.148, allocations: 67.84 kB / 2.547 GB, free: 31.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006072/7.154, allocations: 2.646 MB / 2.55 GB, free: 29.61 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005363/7.155, allocations: 25.7 kB / 2.55 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006183/7.155, allocations: 1.029 MB / 2.551 GB, free: 28.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005559/7.156, allocations: 390.5 kB / 2.551 GB, free: 28.35 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/7.156, allocations: 4 kB / 2.551 GB, free: 28.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001243/7.156, allocations: 381.5 kB / 2.551 GB, free: 27.99 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/7.157, allocations: 0.8449 MB / 2.552 GB, free: 27.21 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/7.159, allocations: 1.625 MB / 2.554 GB, free: 25.33 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003856/7.163, allocations: 1.279 MB / 2.555 GB, free: 24.29 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/7.163, allocations: 4 kB / 2.555 GB, free: 24.29 MB / 0.7169 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008619/7.171, allocations: 3.381 MB / 2.558 GB, free: 21.29 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.001821/7.173, allocations: 8.066 MB / 2.566 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.165e-05/7.173, allocations: 16 kB / 2.566 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/7.175, allocations: 0.8783 MB / 2.567 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/7.177, allocations: 395.4 kB / 2.568 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/7.182, allocations: 5.941 MB / 2.573 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004199/7.186, allocations: 313.7 kB / 2.574 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006344/7.187, allocations: 183.9 kB / 2.574 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/7.187, allocations: 4 kB / 2.574 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008363/7.195, allocations: 2.827 MB / 2.577 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.074e-05/7.195, allocations: 24.03 kB / 2.577 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/7.198, allocations: 1.023 MB / 2.578 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/7.2, allocations: 375.4 kB / 2.578 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/7.222, allocations: 13.88 MB / 2.592 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004332/7.226, allocations: 262.5 kB / 2.592 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000817/7.227, allocations: 158 kB / 2.592 GB, free: 1.656 MB / 0.7325 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.001312/7.228, allocations: 167.9 kB / 2.592 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001484/7.23, allocations: 347.4 kB / 2.592 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4632/7.693, allocations: 2.959 MB / 2.595 GB, free: 95.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.752e-05/7.693, allocations: 15.03 kB / 2.595 GB, free: 95.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/7.693, allocations: 0 / 2.595 GB, free: 95.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/7.693, allocations: 14.48 kB / 2.595 GB, free: 95.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/7.705, allocations: 4.861 MB / 2.6 GB, free: 94.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/7.705, allocations: 3.906 kB / 2.6 GB, free: 94.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/7.707, allocations: 218 kB / 2.6 GB, free: 94.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/7.708, allocations: 0.551 MB / 2.601 GB, free: 94.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/7.708, allocations: 33.83 kB / 2.601 GB, free: 94.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003298/7.711, allocations: 5.192 MB / 2.606 GB, free: 90.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/7.711, allocations: 2.031 kB / 2.606 GB, free: 90.71 MB / 0.7325 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006446/7.718, allocations: 2.688 MB / 2.609 GB, free: 90.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002312/7.72, allocations: 0.618 MB / 2.609 GB, free: 90.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007831/7.721, allocations: 3.406 kB / 2.609 GB, free: 90.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/7.723, allocations: 186.3 kB / 2.609 GB, free: 90.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/7.723, allocations: 85.45 kB / 2.609 GB, free: 90.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/7.723, allocations: 82.7 kB / 2.609 GB, free: 90.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 0.003382/7.727, allocations: 1.965 MB / 2.611 GB, free: 89.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00945/7.736, allocations: 1.919 MB / 2.613 GB, free: 89.88 MB / 0.7325 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.004491/7.741, allocations: 2.312 MB / 2.616 GB, free: 89.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007742/7.749, allocations: 3.915 MB / 2.619 GB, free: 88.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/7.749, allocations: 0 / 2.619 GB, free: 88.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/7.75, allocations: 0.8641 MB / 2.62 GB, free: 88.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/7.761, allocations: 1.51 MB / 2.622 GB, free: 88.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/7.772, allocations: 4.762 MB / 2.626 GB, free: 87.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002517/7.775, allocations: 2.622 MB / 2.629 GB, free: 86.96 MB / 0.7325 GB Notification: Performance of SimCode: time 1.503e-06/7.775, allocations: 0 / 2.629 GB, free: 86.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.1562/7.931, allocations: 91.48 MB / 2.718 GB, free: 82.51 MB / 0.7325 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)