Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") [: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.288/2.288, 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.001636/0.001635, allocations: 189.2 kB / 360.4 MB, free: 7.492 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.815/1.815, allocations: 205.1 MB / 0.6188 GB, free: 12.42 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.001243/0.001242, allocations: 87.98 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.143e-05/1.152e-05, allocations: 4 kB / 0.8502 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6257/0.6258, allocations: 115.2 MB / 0.9628 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.121/5.747, allocations: 2.063 GB / 3.025 GB, free: 280.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/5.747, allocations: 87.36 kB / 3.026 GB, free: 280.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.485/14.23, allocations: 1.983 GB / 5.008 GB, free: 205.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002351/14.23, allocations: 31.91 kB / 5.008 GB, free: 205.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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.007752/14.24, allocations: 1.355 MB / 5.01 GB, free: 204.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/14.24, allocations: 12.47 kB / 5.01 GB, free: 204.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/14.24, allocations: 206.3 kB / 5.01 GB, free: 203.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006779/14.25, allocations: 1.424 MB / 5.011 GB, free: 202.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/14.25, allocations: 16 kB / 5.011 GB, free: 202.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/14.25, allocations: 43.91 kB / 5.011 GB, free: 202.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001891/14.25, allocations: 0.7287 MB / 5.012 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/14.25, allocations: 0.8642 MB / 5.013 GB, free: 200.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/14.25, allocations: 0 / 5.013 GB, free: 200.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.979e-05/14.25, allocations: 4 kB / 5.013 GB, free: 200.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/14.25, allocations: 16 kB / 5.013 GB, free: 200.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006541/14.26, allocations: 4.722 MB / 5.018 GB, free: 195.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/14.26, allocations: 0.5243 MB / 5.018 GB, free: 195.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/14.26, allocations: 447.6 kB / 5.018 GB, free: 194.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003925/14.26, allocations: 202.4 kB / 5.019 GB, free: 194.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005635/14.26, allocations: 297.3 kB / 5.019 GB, free: 194.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 2.945e-06/14.26, allocations: 0 / 5.019 GB, free: 194.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.00342/14.27, allocations: 0.9499 MB / 5.02 GB, free: 193.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/14.27, allocations: 85.11 kB / 5.02 GB, free: 193.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/14.27, allocations: 0.9139 MB / 5.021 GB, free: 192.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/14.27, allocations: 29.7 kB / 5.021 GB, free: 192.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/14.27, allocations: 348.4 kB / 5.021 GB, free: 191.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/14.27, allocations: 122.3 kB / 5.021 GB, free: 191.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/14.27, allocations: 0 / 5.021 GB, free: 191.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/14.27, allocations: 325.9 kB / 5.022 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/14.27, allocations: 228.8 kB / 5.022 GB, free: 191.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007184/14.27, allocations: 0.5536 MB / 5.022 GB, free: 190.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006229/14.27, allocations: 333.9 kB / 5.023 GB, free: 190.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/14.27, allocations: 0 / 5.023 GB, free: 190.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003233/14.27, allocations: 1.07 MB / 5.024 GB, free: 189 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004332/14.27, allocations: 2.1 MB / 5.026 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/14.27, allocations: 8 kB / 5.026 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/14.28, allocations: 333.4 kB / 5.026 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/14.28, allocations: 63.91 kB / 5.026 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/14.28, allocations: 1.35 MB / 5.028 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/14.28, allocations: 111.5 kB / 5.028 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/14.28, allocations: 24 kB / 5.028 GB, free: 184.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/14.28, allocations: 4 kB / 5.028 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002191/14.28, allocations: 0.7611 MB / 5.028 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/14.28, allocations: 8 kB / 5.028 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/14.28, allocations: 313.3 kB / 5.029 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/14.29, allocations: 71.84 kB / 5.029 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006526/14.29, allocations: 3.433 MB / 5.032 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/14.29, allocations: 111.5 kB / 5.032 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.286e-05/14.29, allocations: 24 kB / 5.032 GB, free: 180 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 (34): * Single equations (assignments): 32 * 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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002185/14.29, allocations: 121.1 kB / 5.032 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/14.29, allocations: 102.8 kB / 5.032 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/14.3, allocations: 0.8553 MB / 5.033 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/14.3, allocations: 4 kB / 5.033 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/14.3, allocations: 0 / 5.033 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/14.3, allocations: 0 / 5.033 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/14.3, allocations: 1.786 MB / 5.035 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/14.3, allocations: 4 kB / 5.035 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/14.3, allocations: 23.98 kB / 5.035 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009581/14.3, allocations: 285.1 kB / 5.035 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/14.3, allocations: 8 kB / 5.035 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/14.3, allocations: 1.205 MB / 5.037 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/14.3, allocations: 7.891 kB / 5.037 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002157/14.31, allocations: 1.037 MB / 5.038 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007321/14.31, allocations: 235.7 kB / 5.038 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/14.31, allocations: 4 kB / 5.038 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/14.31, allocations: 79.75 kB / 5.038 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/14.31, allocations: 31.86 kB / 5.038 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/14.31, allocations: 16 kB / 5.038 GB, free: 174.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001339/14.31, allocations: 0.7139 MB / 5.039 GB, free: 173.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00272/14.31, allocations: 0.554 MB / 5.039 GB, free: 172.8 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 (12): * Single equations (assignments): 9 * 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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001986/14.31, allocations: 1.217 MB / 5.04 GB, free: 171.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00283/14.32, allocations: 1.079 MB / 5.041 GB, free: 170.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/14.32, allocations: 0 / 5.041 GB, free: 170.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007742/14.32, allocations: 263.5 kB / 5.042 GB, free: 170.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005758/14.32, allocations: 0.5752 MB / 5.042 GB, free: 169.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/14.33, allocations: 1.491 MB / 5.044 GB, free: 168.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/14.33, allocations: 1.296 MB / 5.045 GB, free: 166.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.453e-06/14.33, allocations: 0 / 5.045 GB, free: 166.9 MB / 0.948 GB Notification: Performance of Templates: time 0.06747/14.4, allocations: 27.37 MB / 5.072 GB, free: 139.9 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)