Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 387.2 MB / 394.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 185.2 kB / 487 MB, free: 5.336 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 88.69 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.969e-06/1.015e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2643, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9738/1.238, allocations: 440.6 MB / 1.635 GB, free: 15.14 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/1.238, allocations: 89.64 kB / 1.636 GB, free: 15.1 MB / 1.073 GB Notification: Performance of FrontEnd: time 5.361/6.6, allocations: 1.462 GB / 3.097 GB, free: 147.6 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0008161/6.6, allocations: 104.1 kB / 3.097 GB, free: 147.6 MB / 1.182 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.01282/6.613, allocations: 3.725 MB / 3.101 GB, free: 146.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/6.613, allocations: 11.53 kB / 3.101 GB, free: 146.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/6.624, allocations: 1.601 MB / 3.103 GB, free: 146 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07118/6.695, allocations: 29.21 MB / 3.131 GB, free: 144.4 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/6.696, allocations: 71 kB / 3.131 GB, free: 144.4 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/6.697, allocations: 146.2 kB / 3.131 GB, free: 144.4 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004768/6.701, allocations: 1.968 MB / 3.133 GB, free: 144.4 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003612/6.705, allocations: 2.328 MB / 3.135 GB, free: 144 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/6.705, allocations: 0 / 3.135 GB, free: 144 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/6.705, allocations: 5.812 kB / 3.135 GB, free: 144 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/6.705, allocations: 56.27 kB / 3.136 GB, free: 144 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02244/6.728, allocations: 12.25 MB / 3.147 GB, free: 138 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/6.73, allocations: 1.998 MB / 3.149 GB, free: 138 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/6.731, allocations: 0.8651 MB / 3.15 GB, free: 137.9 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007136/6.739, allocations: 4.065 MB / 3.154 GB, free: 136.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/6.739, allocations: 48.36 kB / 3.154 GB, free: 136 MB / 1.182 GB Notification: Performance of pre-optimization done (n=119): time 3.376e-06/6.739, allocations: 0 / 3.154 GB, free: 136 MB / 1.182 GB Notification: Performance of matching and sorting (n=119): time 0.008508/6.747, allocations: 2.855 MB / 3.157 GB, free: 135.7 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/6.747, allocations: 63.06 kB / 3.157 GB, free: 135.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00606/6.753, allocations: 2.632 MB / 3.16 GB, free: 135.4 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001003/6.754, allocations: 31.61 kB / 3.16 GB, free: 135.3 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/6.755, allocations: 1.032 MB / 3.161 GB, free: 134.8 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008809/6.756, allocations: 393.5 kB / 3.161 GB, free: 134.6 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/6.757, allocations: 3.781 kB / 3.161 GB, free: 134.6 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001998/6.757, allocations: 374.1 kB / 3.161 GB, free: 134.3 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/6.758, allocations: 0.8699 MB / 3.162 GB, free: 134.3 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/6.76, allocations: 1.649 MB / 3.164 GB, free: 133.3 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003762/6.764, allocations: 1.292 MB / 3.165 GB, free: 133.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/6.764, allocations: 3.281 kB / 3.165 GB, free: 133.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007846/6.772, allocations: 3.414 MB / 3.169 GB, free: 133 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001533/6.773, allocations: 8.072 MB / 3.176 GB, free: 124.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/6.774, allocations: 26.7 kB / 3.176 GB, free: 124.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/6.776, allocations: 0.8721 MB / 3.177 GB, free: 124.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/6.778, allocations: 433.5 kB / 3.178 GB, free: 124.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00454/6.782, allocations: 5.945 MB / 3.184 GB, free: 120.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/6.787, allocations: 351.2 kB / 3.184 GB, free: 120.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000717/6.788, allocations: 179.5 kB / 3.184 GB, free: 120.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/6.788, allocations: 3.719 kB / 3.184 GB, free: 120.3 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007633/6.795, allocations: 2.869 MB / 3.187 GB, free: 120.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.193e-05/6.796, allocations: 18.19 kB / 3.187 GB, free: 120.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/6.798, allocations: 1.024 MB / 3.188 GB, free: 120.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/6.8, allocations: 409.4 kB / 3.188 GB, free: 120.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/6.818, allocations: 13.88 MB / 3.202 GB, free: 112.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004502/6.823, allocations: 291 kB / 3.202 GB, free: 112.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000833/6.824, allocations: 150.5 kB / 3.202 GB, free: 112.4 MB / 1.182 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.001408/6.825, allocations: 181.8 kB / 3.202 GB, free: 112.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/6.827, allocations: 351.1 kB / 3.203 GB, free: 112 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009909/6.836, allocations: 3.012 MB / 3.206 GB, free: 111.8 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.98e-05/6.837, allocations: 21.72 kB / 3.206 GB, free: 111.8 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/6.837, allocations: 0 / 3.206 GB, free: 111.8 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.73e-05/6.837, allocations: 8.688 kB / 3.206 GB, free: 111.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/6.852, allocations: 4.96 MB / 3.211 GB, free: 111.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/6.852, allocations: 6.703 kB / 3.211 GB, free: 111.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/6.854, allocations: 261.9 kB / 3.211 GB, free: 111.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/6.855, allocations: 0.5536 MB / 3.211 GB, free: 111.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/6.855, allocations: 29.23 kB / 3.211 GB, free: 111.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004033/6.859, allocations: 5.198 MB / 3.216 GB, free: 107.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/6.859, allocations: 10.66 kB / 3.216 GB, free: 107.1 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007733/6.867, allocations: 2.72 MB / 3.219 GB, free: 106.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002443/6.87, allocations: 0.6304 MB / 3.22 GB, free: 106.2 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/6.871, allocations: 0 / 3.22 GB, free: 106.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003709/6.875, allocations: 218.1 kB / 3.22 GB, free: 106.1 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/6.875, allocations: 87.48 kB / 3.22 GB, free: 106.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002517/6.875, allocations: 88.97 kB / 3.22 GB, free: 106.1 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.005211/6.88, allocations: 1.969 MB / 3.222 GB, free: 106 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01031/6.891, allocations: 1.917 MB / 3.224 GB, free: 105.7 MB / 1.182 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.004665/6.896, allocations: 2.308 MB / 3.226 GB, free: 105 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.008069/6.904, allocations: 3.979 MB / 3.23 GB, free: 104.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/6.904, allocations: 3.688 kB / 3.23 GB, free: 104.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/6.905, allocations: 0.8824 MB / 3.231 GB, free: 104.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008845/6.914, allocations: 1.516 MB / 3.232 GB, free: 104.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/6.93, allocations: 4.776 MB / 3.237 GB, free: 103.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004542/6.935, allocations: 2.626 MB / 3.24 GB, free: 102.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.133e-06/6.935, allocations: 3.938 kB / 3.24 GB, free: 102.6 MB / 1.182 GB Notification: Performance of Templates: time 0.1705/7.105, allocations: 93.19 MB / 3.331 GB, free: 97.09 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches