Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2925/0.2925, allocations: 54.4 MB / 61.68 MB, free: 11.2 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.001349/0.00135, allocations: 192.2 kB / 75.38 MB, free: 1.508 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.7/1.7, allocations: 194.2 MB / 283.2 MB, free: 3.539 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.001751/0.001751, allocations: 119 kB / 341.3 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.005e-05/1.008e-05, allocations: 0 / 404.9 MB, free: 27.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1452, allocations: 57.64 MB / 462.6 MB, free: 2.027 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9962/1.141, allocations: 381.2 MB / 0.824 GB, free: 11.94 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/1.142, allocations: 86.14 kB / 0.8241 GB, free: 11.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.25/5.392, allocations: 1.138 GB / 1.962 GB, free: 37.89 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0009606/5.393, allocations: 103.1 kB / 1.962 GB, free: 37.88 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.01611/5.409, allocations: 3.659 MB / 1.966 GB, free: 36 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.016e-05/5.409, allocations: 13.34 kB / 1.966 GB, free: 36 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/5.419, allocations: 1.403 MB / 1.967 GB, free: 35.76 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07196/5.491, allocations: 27.15 MB / 1.994 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/5.491, allocations: 69.91 kB / 1.994 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/5.493, allocations: 142.9 kB / 1.994 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006348/5.499, allocations: 1.918 MB / 1.996 GB, free: 33.79 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006733/5.506, allocations: 2.341 MB / 1.998 GB, free: 33.33 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-05/5.506, allocations: 6.312 kB / 1.998 GB, free: 33.32 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004954/5.507, allocations: 7.953 kB / 1.998 GB, free: 33.32 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.671e-05/5.507, allocations: 56.64 kB / 1.998 GB, free: 33.32 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02587/5.533, allocations: 12.51 MB / 2.01 GB, free: 26.11 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004463/5.537, allocations: 1.992 MB / 2.012 GB, free: 25.42 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/5.539, allocations: 0.8047 MB / 2.013 GB, free: 25.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/5.549, allocations: 3.344 MB / 2.016 GB, free: 22.83 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/5.549, allocations: 45.66 kB / 2.016 GB, free: 22.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=113): time 5.932e-06/5.549, allocations: 4 kB / 2.016 GB, free: 22.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=113): time 0.01221/5.561, allocations: 3.141 MB / 2.019 GB, free: 21.79 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/5.561, allocations: 115 kB / 2.019 GB, free: 21.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/5.571, allocations: 2.614 MB / 2.022 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0008299/5.572, allocations: 29.61 kB / 2.022 GB, free: 20.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001607/5.574, allocations: 1.055 MB / 2.023 GB, free: 19.87 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009808/5.575, allocations: 377.6 kB / 2.023 GB, free: 19.58 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/5.575, allocations: 3.938 kB / 2.023 GB, free: 19.57 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002052/5.576, allocations: 386.5 kB / 2.024 GB, free: 19.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/5.577, allocations: 0.8581 MB / 2.025 GB, free: 18.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/5.58, allocations: 1.674 MB / 2.026 GB, free: 17.47 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005078/5.585, allocations: 1.246 MB / 2.027 GB, free: 16.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.753e-05/5.585, allocations: 8 kB / 2.027 GB, free: 16.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=255) (initialization): time 0.01051/5.596, allocations: 3.44 MB / 2.031 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.003146/5.599, allocations: 9.028 MB / 2.04 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/5.599, allocations: 20 kB / 2.04 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/5.602, allocations: 0.9438 MB / 2.041 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/5.604, allocations: 410.7 kB / 2.041 GB, free: 3.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006598/5.611, allocations: 6.015 MB / 2.047 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005518/5.617, allocations: 353 kB / 2.047 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007639/5.617, allocations: 182.7 kB / 2.047 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/5.617, allocations: 0 / 2.047 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00967/5.627, allocations: 2.811 MB / 2.05 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-05/5.627, allocations: 20 kB / 2.05 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003112/5.63, allocations: 1.028 MB / 2.051 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/5.632, allocations: 387.8 kB / 2.051 GB, free: 9.094 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3953/6.028, allocations: 13.88 MB / 2.065 GB, free: 79.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/6.032, allocations: 259 kB / 2.065 GB, free: 79.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004585/6.032, allocations: 151.6 kB / 2.065 GB, free: 79.71 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.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: pum2.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: pum1.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: 91 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 187 * 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.0008696/6.033, allocations: 180.5 kB / 2.066 GB, free: 79.61 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/6.034, allocations: 343.3 kB / 2.066 GB, free: 79.61 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008944/6.043, allocations: 3.019 MB / 2.069 GB, free: 79.47 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/6.043, allocations: 15.19 kB / 2.069 GB, free: 79.47 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/6.043, allocations: 2.5 kB / 2.069 GB, free: 79.47 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/6.043, allocations: 6.609 kB / 2.069 GB, free: 79.47 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006269/6.049, allocations: 2.097 MB / 2.071 GB, free: 79.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/6.049, allocations: 0 / 2.071 GB, free: 79.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/6.051, allocations: 204.3 kB / 2.071 GB, free: 79.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/6.052, allocations: 0.6147 MB / 2.072 GB, free: 79.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/6.052, allocations: 28.94 kB / 2.072 GB, free: 79.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003573/6.056, allocations: 5.257 MB / 2.077 GB, free: 75.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/6.056, allocations: 0 / 2.077 GB, free: 75.09 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007231/6.063, allocations: 2.573 MB / 2.079 GB, free: 74.72 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002442/6.065, allocations: 0.5943 MB / 2.08 GB, free: 74.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008785/6.066, allocations: 2.469 kB / 2.08 GB, free: 74.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/6.069, allocations: 204 kB / 2.08 GB, free: 74.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/6.069, allocations: 74.11 kB / 2.08 GB, free: 74.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/6.069, allocations: 78.45 kB / 2.08 GB, free: 74.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.004353/6.074, allocations: 1.987 MB / 2.082 GB, free: 74.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01079/6.085, allocations: 1.847 MB / 2.084 GB, free: 74.16 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.004152/6.089, allocations: 2.237 MB / 2.086 GB, free: 73.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008056/6.097, allocations: 3.895 MB / 2.09 GB, free: 73.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/6.097, allocations: 0 / 2.09 GB, free: 73.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/6.099, allocations: 0.7751 MB / 2.091 GB, free: 73.19 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008829/6.108, allocations: 1.504 MB / 2.092 GB, free: 73.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/6.127, allocations: 5.704 MB / 2.098 GB, free: 72.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002882/6.13, allocations: 2.587 MB / 2.1 GB, free: 71.26 MB / 0.5573 GB Notification: Performance of SimCode: time 1.572e-06/6.13, allocations: 0 / 2.1 GB, free: 71.26 MB / 0.5573 GB Notification: Performance of Templates: time 0.1716/6.301, allocations: 90.85 MB / 2.189 GB, free: 65.23 MB / 0.5573 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)