Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") [: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.638/1.638, 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.001222/0.001222, allocations: 169.3 kB / 361.1 MB, free: 7.125 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.877/1.877, allocations: 205.1 MB / 0.6195 GB, free: 11.95 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.000964/0.0009643, allocations: 77.19 kB / 0.7325 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.747e-06/8.937e-06, allocations: 0 / 0.8511 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7817/0.7818, allocations: 115.3 MB / 0.9637 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.064/5.846, allocations: 2.065 GB / 3.029 GB, free: 336.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/5.846, allocations: 92.16 kB / 3.029 GB, free: 336.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.704/9.55, allocations: 1.081 GB / 4.11 GB, free: 247.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001117/9.55, allocations: 32.92 kB / 4.11 GB, free: 247.3 MB / 0.9323 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.00416/9.555, allocations: 1.343 MB / 4.112 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/9.555, allocations: 8.281 kB / 4.112 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/9.556, allocations: 205.5 kB / 4.112 GB, free: 246.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003645/9.56, allocations: 1.458 MB / 4.113 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/9.56, allocations: 21.25 kB / 4.113 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.957e-05/9.56, allocations: 40.75 kB / 4.113 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001004/9.561, allocations: 0.7223 MB / 4.114 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/9.562, allocations: 0.8603 MB / 4.115 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/9.562, allocations: 0 / 4.115 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.076e-05/9.562, allocations: 7.875 kB / 4.115 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/9.562, allocations: 20.88 kB / 4.115 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/9.566, allocations: 4.703 MB / 4.119 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007183/9.567, allocations: 0.5122 MB / 4.12 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004355/9.567, allocations: 426.6 kB / 4.12 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003408/9.568, allocations: 207.2 kB / 4.121 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003574/9.568, allocations: 297.9 kB / 4.121 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=35): time 2.775e-06/9.568, allocations: 0 / 4.121 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=35): time 0.002005/9.57, allocations: 0.8826 MB / 4.122 GB, free: 242.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/9.57, allocations: 80.95 kB / 4.122 GB, free: 242.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/9.571, allocations: 0.924 MB / 4.123 GB, free: 242.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/9.571, allocations: 29.45 kB / 4.123 GB, free: 242.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/9.571, allocations: 355 kB / 4.123 GB, free: 242.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.728e-05/9.571, allocations: 123.2 kB / 4.123 GB, free: 242.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/9.571, allocations: 0 / 4.123 GB, free: 242.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/9.572, allocations: 321.3 kB / 4.123 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/9.572, allocations: 219.8 kB / 4.124 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/9.572, allocations: 0.5447 MB / 4.124 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/9.573, allocations: 314.7 kB / 4.125 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/9.573, allocations: 0 / 4.125 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001717/9.574, allocations: 1.019 MB / 4.126 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004262/9.575, allocations: 2.098 MB / 4.128 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/9.575, allocations: 3.875 kB / 4.128 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/9.575, allocations: 308 kB / 4.128 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/9.576, allocations: 78.25 kB / 4.128 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/9.578, allocations: 1.304 MB / 4.129 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/9.579, allocations: 116.5 kB / 4.129 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/9.579, allocations: 22.38 kB / 4.129 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.074e-06/9.579, allocations: 7.531 kB / 4.129 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001211/9.58, allocations: 0.6837 MB / 4.13 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/9.58, allocations: 10.03 kB / 4.13 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/9.581, allocations: 241.2 kB / 4.13 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/9.581, allocations: 66.52 kB / 4.13 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003506/9.584, allocations: 2.957 MB / 4.133 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/9.585, allocations: 104 kB / 4.133 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/9.586, allocations: 26.12 kB / 4.133 GB, free: 237.3 MB / 0.9323 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001796/9.586, allocations: 124.5 kB / 4.133 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/9.586, allocations: 111.9 kB / 4.134 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/9.587, allocations: 0.7741 MB / 4.134 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/9.587, allocations: 4.844 kB / 4.134 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/9.587, allocations: 3.906 kB / 4.134 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/9.587, allocations: 2.562 kB / 4.134 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/9.589, allocations: 1.701 MB / 4.136 GB, free: 236.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/9.59, allocations: 0 / 4.136 GB, free: 236.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/9.59, allocations: 39.19 kB / 4.136 GB, free: 236.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004358/9.59, allocations: 260.7 kB / 4.136 GB, free: 236.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/9.59, allocations: 5.062 kB / 4.136 GB, free: 236.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/9.591, allocations: 1.144 MB / 4.137 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/9.591, allocations: 2.938 kB / 4.137 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001114/9.592, allocations: 0.9698 MB / 4.138 GB, free: 235.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/9.593, allocations: 235.5 kB / 4.139 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/9.593, allocations: 7.25 kB / 4.139 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007308/9.594, allocations: 77.05 kB / 4.139 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/9.594, allocations: 39.66 kB / 4.139 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/9.594, allocations: 11.19 kB / 4.139 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.000806/9.595, allocations: 0.721 MB / 4.139 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001729/9.596, allocations: 0.545 MB / 4.14 GB, free: 235.4 MB / 0.9323 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 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001673/9.598, allocations: 1.289 MB / 4.141 GB, free: 235.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002256/9.6, allocations: 1.142 MB / 4.142 GB, free: 235 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/9.6, allocations: 0.8438 kB / 4.142 GB, free: 235 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005141/9.601, allocations: 298.8 kB / 4.143 GB, free: 235 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/9.604, allocations: 0.5769 MB / 4.143 GB, free: 235 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/9.606, allocations: 1.476 MB / 4.145 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007276/9.607, allocations: 1.301 MB / 4.146 GB, free: 233.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.363e-06/9.607, allocations: 0.75 kB / 4.146 GB, free: 233.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.04884/9.656, allocations: 27.02 MB / 4.172 GB, free: 233.3 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)