Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.355/2.355, allocations: 284.9 MB / 292.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001608/0.001608, allocations: 175.9 kB / 360.4 MB, free: 7.453 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.1 MB / 0.6188 GB, free: 12.39 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001262/0.001261, allocations: 99.61 kB / 0.7318 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.348e-06/9.438e-06, allocations: 0 / 0.8502 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6382/0.6382, allocations: 115.2 MB / 0.9628 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.644/5.283, allocations: 2.065 GB / 3.028 GB, free: 46.73 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/5.283, allocations: 92.27 kB / 3.028 GB, free: 46.69 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.037/14.32, allocations: 1.993 GB / 5.021 GB, free: 252.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002384/14.32, allocations: 33.33 kB / 5.021 GB, free: 252.5 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.0081/14.33, allocations: 1.352 MB / 5.023 GB, free: 251.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/14.33, allocations: 9.188 kB / 5.023 GB, free: 251.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/14.33, allocations: 202.8 kB / 5.023 GB, free: 251.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007456/14.34, allocations: 1.456 MB / 5.024 GB, free: 251.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/14.34, allocations: 16.84 kB / 5.024 GB, free: 251.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/14.34, allocations: 47.91 kB / 5.024 GB, free: 251.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001965/14.34, allocations: 0.7261 MB / 5.025 GB, free: 250.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/14.34, allocations: 0.8604 MB / 5.026 GB, free: 250.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/14.34, allocations: 6.375 kB / 5.026 GB, free: 250.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.663e-05/14.34, allocations: 2.562 kB / 5.026 GB, free: 250.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/14.34, allocations: 13.84 kB / 5.026 GB, free: 250.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007198/14.35, allocations: 4.705 MB / 5.031 GB, free: 246.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/14.35, allocations: 0.5006 MB / 5.031 GB, free: 246.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/14.35, allocations: 434.5 kB / 5.031 GB, free: 246.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000394/14.35, allocations: 194.9 kB / 5.032 GB, free: 246.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006044/14.35, allocations: 306.3 kB / 5.032 GB, free: 246.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 3.887e-06/14.35, allocations: 0 / 5.032 GB, free: 246.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.003372/14.36, allocations: 0.8665 MB / 5.033 GB, free: 246 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/14.36, allocations: 82.16 kB / 5.033 GB, free: 245.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/14.36, allocations: 0.9246 MB / 5.034 GB, free: 245.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/14.36, allocations: 30.67 kB / 5.034 GB, free: 245.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/14.36, allocations: 352.4 kB / 5.034 GB, free: 245.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/14.36, allocations: 112.5 kB / 5.034 GB, free: 245.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/14.36, allocations: 2.969 kB / 5.034 GB, free: 245.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/14.36, allocations: 327.4 kB / 5.035 GB, free: 244.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/14.36, allocations: 222.9 kB / 5.035 GB, free: 244.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/14.36, allocations: 0.5413 MB / 5.035 GB, free: 244.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/14.36, allocations: 320.8 kB / 5.036 GB, free: 244.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/14.36, allocations: 3.031 kB / 5.036 GB, free: 244.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003309/14.36, allocations: 0.9985 MB / 5.037 GB, free: 243.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004406/14.37, allocations: 2.1 MB / 5.039 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/14.37, allocations: 5.281 kB / 5.039 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/14.37, allocations: 276.5 kB / 5.039 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006633/14.37, allocations: 70.44 kB / 5.039 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/14.37, allocations: 1.217 MB / 5.04 GB, free: 240.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/14.37, allocations: 120.5 kB / 5.04 GB, free: 240.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/14.37, allocations: 28.64 kB / 5.04 GB, free: 240.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/14.37, allocations: 4.438 kB / 5.04 GB, free: 240.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002169/14.37, allocations: 0.6878 MB / 5.041 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/14.37, allocations: 5.844 kB / 5.041 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/14.37, allocations: 254.4 kB / 5.041 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/14.38, allocations: 74.88 kB / 5.041 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005697/14.38, allocations: 2.91 MB / 5.044 GB, free: 238.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/14.38, allocations: 101.2 kB / 5.044 GB, free: 238.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/14.38, allocations: 28.81 kB / 5.044 GB, free: 238.5 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.0002502/14.38, allocations: 113.8 kB / 5.044 GB, free: 238.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/14.38, allocations: 102.6 kB / 5.044 GB, free: 238.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/14.39, allocations: 0.7794 MB / 5.045 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/14.39, allocations: 5.625 kB / 5.045 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/14.39, allocations: 3.984 kB / 5.045 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/14.39, allocations: 0 / 5.045 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004362/14.39, allocations: 1.693 MB / 5.047 GB, free: 236.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/14.39, allocations: 2.969 kB / 5.047 GB, free: 236.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/14.39, allocations: 38.88 kB / 5.047 GB, free: 236.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007922/14.39, allocations: 234.3 kB / 5.047 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/14.39, allocations: 8.25 kB / 5.047 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/14.39, allocations: 1.068 MB / 5.048 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/14.39, allocations: 6.75 kB / 5.048 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002159/14.4, allocations: 0.9669 MB / 5.049 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008022/14.4, allocations: 234.2 kB / 5.049 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/14.4, allocations: 2.344 kB / 5.049 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/14.4, allocations: 79.59 kB / 5.049 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/14.4, allocations: 36.95 kB / 5.049 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/14.4, allocations: 12.78 kB / 5.049 GB, free: 235.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001439/14.4, allocations: 0.7183 MB / 5.05 GB, free: 234.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002827/14.4, allocations: 0.5454 MB / 5.051 GB, free: 234.6 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.002206/14.41, allocations: 1.285 MB / 5.052 GB, free: 234.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002727/14.41, allocations: 1.008 MB / 5.053 GB, free: 233.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/14.41, allocations: 2.219 kB / 5.053 GB, free: 233.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007187/14.41, allocations: 246.9 kB / 5.053 GB, free: 233.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006118/14.41, allocations: 0.5753 MB / 5.054 GB, free: 233.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/14.42, allocations: 1.469 MB / 5.055 GB, free: 232.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/14.42, allocations: 1.301 MB / 5.056 GB, free: 231.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.485e-06/14.42, allocations: 0 / 5.056 GB, free: 231.1 MB / 0.948 GB Notification: Performance of Templates: time 0.06893/14.49, allocations: 27.31 MB / 5.083 GB, free: 204.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)