Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") [: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 8.0.1-maint.8.0.x/package.mo): time 1.597/1.597, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 177.3 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 91.27 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.029e-05/1.032e-05, allocations: 4 kB / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7941/0.7941, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.618/5.412, allocations: 2.066 GB / 3.029 GB, free: 39.15 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/5.412, allocations: 87.44 kB / 3.029 GB, free: 39.11 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.04/12.45, allocations: 1.993 GB / 5.022 GB, free: 250.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002339/12.45, allocations: 33.09 kB / 5.022 GB, free: 250.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005902/12.46, allocations: 1.348 MB / 5.024 GB, free: 249.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/12.46, allocations: 9.156 kB / 5.024 GB, free: 249.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/12.46, allocations: 204.5 kB / 5.024 GB, free: 249.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00426/12.46, allocations: 1.456 MB / 5.025 GB, free: 248.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/12.46, allocations: 15.59 kB / 5.025 GB, free: 248.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/12.46, allocations: 45.09 kB / 5.025 GB, free: 248.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001135/12.47, allocations: 0.7202 MB / 5.026 GB, free: 248.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/12.47, allocations: 0.8636 MB / 5.027 GB, free: 247.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/12.47, allocations: 2.875 kB / 5.027 GB, free: 247.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.307e-05/12.47, allocations: 2.938 kB / 5.027 GB, free: 247.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/12.47, allocations: 17.28 kB / 5.027 GB, free: 247.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004556/12.47, allocations: 4.703 MB / 5.032 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/12.47, allocations: 0.5066 MB / 5.032 GB, free: 243.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/12.47, allocations: 430 kB / 5.033 GB, free: 243.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/12.47, allocations: 194.7 kB / 5.033 GB, free: 243 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/12.47, allocations: 306.3 kB / 5.033 GB, free: 242.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 2.675e-06/12.47, allocations: 3.938 kB / 5.033 GB, free: 242.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.002244/12.48, allocations: 0.8619 MB / 5.034 GB, free: 242.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/12.48, allocations: 88.44 kB / 5.034 GB, free: 242.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/12.48, allocations: 0.9202 MB / 5.035 GB, free: 241.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/12.48, allocations: 35.2 kB / 5.035 GB, free: 241.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/12.48, allocations: 355.7 kB / 5.035 GB, free: 241.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/12.48, allocations: 112.5 kB / 5.035 GB, free: 241.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/12.48, allocations: 0 / 5.035 GB, free: 241.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/12.48, allocations: 335.1 kB / 5.036 GB, free: 241.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/12.48, allocations: 217.3 kB / 5.036 GB, free: 241 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/12.48, allocations: 0.5494 MB / 5.036 GB, free: 240.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/12.48, allocations: 316.9 kB / 5.037 GB, free: 240.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/12.48, allocations: 1.281 kB / 5.037 GB, free: 240.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001844/12.48, allocations: 0.9975 MB / 5.038 GB, free: 239.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004608/12.48, allocations: 2.099 MB / 5.04 GB, free: 237.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/12.48, allocations: 5.781 kB / 5.04 GB, free: 237.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005897/12.48, allocations: 270.9 kB / 5.04 GB, free: 237.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/12.48, allocations: 73.39 kB / 5.04 GB, free: 237.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/12.48, allocations: 1.219 MB / 5.041 GB, free: 236.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/12.48, allocations: 110.6 kB / 5.041 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/12.48, allocations: 29.19 kB / 5.041 GB, free: 236.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/12.48, allocations: 4.062 kB / 5.041 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001239/12.49, allocations: 0.6895 MB / 5.042 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/12.49, allocations: 5.938 kB / 5.042 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007685/12.49, allocations: 248.5 kB / 5.042 GB, free: 236.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/12.49, allocations: 76.89 kB / 5.042 GB, free: 236.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/12.49, allocations: 2.913 MB / 5.045 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/12.49, allocations: 96.72 kB / 5.045 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/12.49, allocations: 31.89 kB / 5.045 GB, free: 233.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002247/12.49, allocations: 124.9 kB / 5.045 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/12.49, allocations: 102.7 kB / 5.046 GB, free: 233.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/12.49, allocations: 0.7705 MB / 5.046 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/12.49, allocations: 4 kB / 5.046 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/12.49, allocations: 4 kB / 5.046 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/12.49, allocations: 7.984 kB / 5.046 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/12.5, allocations: 1.695 MB / 5.048 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/12.5, allocations: 3.906 kB / 5.048 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/12.5, allocations: 35.91 kB / 5.048 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/12.5, allocations: 228.7 kB / 5.048 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/12.5, allocations: 7.984 kB / 5.048 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008157/12.5, allocations: 1.07 MB / 5.049 GB, free: 229.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/12.5, allocations: 4 kB / 5.049 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001051/12.5, allocations: 0.9711 MB / 5.05 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004284/12.5, allocations: 235.7 kB / 5.05 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/12.5, allocations: 7.984 kB / 5.05 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007454/12.5, allocations: 79.03 kB / 5.051 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.343e-05/12.5, allocations: 31.44 kB / 5.051 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/12.5, allocations: 19.98 kB / 5.051 GB, free: 228.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007936/12.5, allocations: 0.718 MB / 5.051 GB, free: 227.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001871/12.5, allocations: 0.5423 MB / 5.052 GB, free: 227 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001706/12.5, allocations: 1.288 MB / 5.053 GB, free: 226 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001785/12.51, allocations: 1.011 MB / 5.054 GB, free: 224.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/12.51, allocations: 0 / 5.054 GB, free: 224.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/12.51, allocations: 241.8 kB / 5.054 GB, free: 224.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/12.51, allocations: 0.573 MB / 5.055 GB, free: 224.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/12.51, allocations: 1.481 MB / 5.056 GB, free: 222.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000764/12.51, allocations: 1.297 MB / 5.058 GB, free: 221.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.664e-06/12.51, allocations: 0 / 5.058 GB, free: 221.4 MB / 0.948 GB Notification: Performance of Templates: time 0.04204/12.56, allocations: 27.3 MB / 5.084 GB, free: 194.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)