Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.Validation.PumpCurveConstruction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Annex60.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.PumpCurveConstruction") [: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/Annex60 1.0.0/package.mo): time 0.2961/0.2961, allocations: 54.39 MB / 61.68 MB, free: 11.14 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001498/0.001498, allocations: 183.7 kB / 75.37 MB, free: 1.453 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.883/1.883, allocations: 194.2 MB / 283.2 MB, free: 3.543 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002156/0.002156, allocations: 115.3 kB / 341.3 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.01e-05/1.013e-05, allocations: 8 kB / 404.9 MB, free: 27.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1452, allocations: 57.65 MB / 462.6 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9995/1.145, allocations: 379.9 MB / 0.8228 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.145, allocations: 89.52 kB / 0.8229 GB, free: 12.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.843/5.988, allocations: 1.186 GB / 2.009 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0009066/5.989, allocations: 95.11 kB / 2.009 GB, free: 28.59 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01663/6.006, allocations: 3.518 MB / 2.013 GB, free: 26.78 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.461e-05/6.006, allocations: 22.56 kB / 2.013 GB, free: 26.77 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/6.017, allocations: 1.381 MB / 2.014 GB, free: 26.46 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09117/6.108, allocations: 26.26 MB / 2.04 GB, free: 20.67 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003788/6.109, allocations: 66.34 kB / 2.04 GB, free: 20.67 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/6.11, allocations: 136.9 kB / 2.04 GB, free: 20.67 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007437/6.118, allocations: 1.783 MB / 2.042 GB, free: 19.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00837/6.126, allocations: 2.166 MB / 2.044 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.041e-05/6.126, allocations: 4 kB / 2.044 GB, free: 17.83 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006738/6.127, allocations: 8 kB / 2.044 GB, free: 17.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-05/6.127, allocations: 49.31 kB / 2.044 GB, free: 17.78 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02916/6.156, allocations: 11.76 MB / 2.055 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002863/6.159, allocations: 1.713 MB / 2.057 GB, free: 4.738 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/6.16, allocations: 0.7105 MB / 2.058 GB, free: 4.023 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007773/6.168, allocations: 3.195 MB / 2.061 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/6.168, allocations: 43.56 kB / 2.061 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=113): time 3.566e-06/6.168, allocations: 0 / 2.061 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of matching and sorting (n=113): time 0.01225/6.18, allocations: 2.879 MB / 2.064 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/6.18, allocations: 86.11 kB / 2.064 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008527/6.189, allocations: 2.416 MB / 2.066 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008031/6.19, allocations: 29.7 kB / 2.066 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001779/6.192, allocations: 1.002 MB / 2.067 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/6.193, allocations: 378.2 kB / 2.067 GB, free: 9.684 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005458/6.193, allocations: 4 kB / 2.067 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003522/6.194, allocations: 377.9 kB / 2.068 GB, free: 9.305 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/6.196, allocations: 0.7263 MB / 2.068 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00317/6.199, allocations: 1.459 MB / 2.07 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004873/6.204, allocations: 1.098 MB / 2.071 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-05/6.204, allocations: 4 kB / 2.071 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01097/6.215, allocations: 3.04 MB / 2.074 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.422/6.637, allocations: 8.055 MB / 2.082 GB, free: 70.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.09e-05/6.637, allocations: 18.31 kB / 2.082 GB, free: 70.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002455/6.64, allocations: 0.7878 MB / 2.083 GB, free: 70.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/6.642, allocations: 391.8 kB / 2.083 GB, free: 70.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004669/6.647, allocations: 5.573 MB / 2.088 GB, free: 65.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004266/6.651, allocations: 340.9 kB / 2.089 GB, free: 65.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005744/6.652, allocations: 159.8 kB / 2.089 GB, free: 65.92 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/6.652, allocations: 3.344 kB / 2.089 GB, free: 65.92 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006182/6.658, allocations: 2.353 MB / 2.091 GB, free: 65.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.105e-05/6.658, allocations: 17.12 kB / 2.091 GB, free: 65.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002224/6.66, allocations: 0.8293 MB / 2.092 GB, free: 65.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/6.662, allocations: 364.8 kB / 2.092 GB, free: 65.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/6.677, allocations: 12.2 MB / 2.104 GB, free: 58.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003993/6.681, allocations: 236.2 kB / 2.104 GB, free: 58.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008959/6.682, allocations: 134.9 kB / 2.105 GB, free: 58.3 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_no.vol.QSen_flow.y:VARIABLE(protected = true ) "Value of Real output" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_m_flow.vol.QSen_flow.y:VARIABLE(protected = true ) "Value of Real output" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_dp.vol.QSen_flow.y:VARIABLE(protected = true ) "Value of Real output" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.QSen_flow.y:VARIABLE(protected = true ) "Value of Real output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 176 * 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.001323/6.683, allocations: 176 kB / 2.105 GB, free: 58.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/6.685, allocations: 319.4 kB / 2.105 GB, free: 58.11 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/6.695, allocations: 2.916 MB / 2.108 GB, free: 57.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-05/6.695, allocations: 18.98 kB / 2.108 GB, free: 57.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/6.695, allocations: 0 / 2.108 GB, free: 57.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/6.696, allocations: 7.078 kB / 2.108 GB, free: 57.91 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007305/6.703, allocations: 2.006 MB / 2.11 GB, free: 57.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/6.703, allocations: 1.219 kB / 2.11 GB, free: 57.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/6.704, allocations: 203.4 kB / 2.11 GB, free: 57.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001746/6.706, allocations: 0.5845 MB / 2.111 GB, free: 57.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000323/6.706, allocations: 22.19 kB / 2.111 GB, free: 57.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005437/6.712, allocations: 5.133 MB / 2.116 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/6.712, allocations: 3.906 kB / 2.116 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00919/6.721, allocations: 2.486 MB / 2.118 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003171/6.724, allocations: 0.5696 MB / 2.119 GB, free: 52.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001816/6.726, allocations: 0 / 2.119 GB, free: 52.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00388/6.73, allocations: 189.8 kB / 2.119 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/6.73, allocations: 80 kB / 2.119 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002783/6.731, allocations: 69.38 kB / 2.119 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.005971/6.737, allocations: 1.843 MB / 2.121 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0138/6.751, allocations: 1.752 MB / 2.122 GB, free: 52.52 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 6,1 4,1 6,1 4,1 6,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006237/6.757, allocations: 2.194 MB / 2.125 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008842/6.766, allocations: 3.509 MB / 2.128 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/6.766, allocations: 0 / 2.128 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002015/6.768, allocations: 0.7605 MB / 2.129 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008552/6.776, allocations: 1.331 MB / 2.13 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/6.799, allocations: 5.444 MB / 2.135 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005146/6.804, allocations: 2.476 MB / 2.138 GB, free: 49.7 MB / 0.5573 GB Notification: Performance of SimCode: time 2.004e-06/6.804, allocations: 0 / 2.138 GB, free: 49.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.1711/6.976, allocations: 84.84 MB / 2.221 GB, free: 43.81 MB / 0.5573 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)