Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.591/1.591, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001083/0.001083, allocations: 181.2 kB / 366.3 MB, free: 1.941 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.893/1.893, allocations: 205.1 MB / 0.6256 GB, free: 7.414 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.001137/0.001136, allocations: 95.19 kB / 0.7395 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.317e-05/1.32e-05, allocations: 4 kB / 0.859 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8318/0.8319, allocations: 116.3 MB / 0.9726 GB, free: 76.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.667/5.499, allocations: 2.066 GB / 3.039 GB, free: 38.66 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/5.5, allocations: 91.94 kB / 3.039 GB, free: 38.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.697/9.197, allocations: 1.081 GB / 4.12 GB, free: 49.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001731/9.197, allocations: 31.98 kB / 4.12 GB, free: 49.66 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.004885/9.202, allocations: 1.341 MB / 4.121 GB, free: 48.26 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/9.202, allocations: 8.031 kB / 4.121 GB, free: 48.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/9.204, allocations: 202.3 kB / 4.122 GB, free: 48.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/9.208, allocations: 1.453 MB / 4.123 GB, free: 46.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/9.208, allocations: 16 kB / 4.123 GB, free: 46.53 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/9.208, allocations: 40 kB / 4.123 GB, free: 46.49 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001132/9.21, allocations: 0.7248 MB / 4.124 GB, free: 45.77 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/9.211, allocations: 0.8681 MB / 4.125 GB, free: 44.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/9.211, allocations: 4 kB / 4.125 GB, free: 44.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.119e-05/9.211, allocations: 0 / 4.125 GB, free: 44.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/9.211, allocations: 16 kB / 4.125 GB, free: 44.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004426/9.215, allocations: 4.699 MB / 4.129 GB, free: 39.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007219/9.216, allocations: 0.5111 MB / 4.13 GB, free: 39.25 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/9.216, allocations: 430.5 kB / 4.13 GB, free: 38.83 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/9.217, allocations: 198.4 kB / 4.13 GB, free: 38.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003366/9.217, allocations: 312.8 kB / 4.131 GB, free: 38.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 2.294e-06/9.217, allocations: 0 / 4.131 GB, free: 38.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.001984/9.219, allocations: 0.8844 MB / 4.132 GB, free: 37.38 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/9.219, allocations: 85.02 kB / 4.132 GB, free: 37.28 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/9.22, allocations: 0.9182 MB / 4.133 GB, free: 36.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.55e-05/9.22, allocations: 29.7 kB / 4.133 GB, free: 36.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/9.22, allocations: 354.3 kB / 4.133 GB, free: 35.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/9.221, allocations: 114.3 kB / 4.133 GB, free: 35.85 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/9.221, allocations: 0 / 4.133 GB, free: 35.85 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.647e-05/9.221, allocations: 333.9 kB / 4.133 GB, free: 35.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/9.221, allocations: 216.9 kB / 4.134 GB, free: 35.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/9.221, allocations: 0.5459 MB / 4.134 GB, free: 34.61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/9.222, allocations: 313.9 kB / 4.134 GB, free: 34.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/9.222, allocations: 3.906 kB / 4.134 GB, free: 34.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001705/9.223, allocations: 1.008 MB / 4.135 GB, free: 33.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004221/9.224, allocations: 2.116 MB / 4.137 GB, free: 31.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/9.224, allocations: 4 kB / 4.137 GB, free: 31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/9.224, allocations: 304.1 kB / 4.138 GB, free: 30.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/9.225, allocations: 71.83 kB / 4.138 GB, free: 30.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/9.226, allocations: 1.303 MB / 4.139 GB, free: 29.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/9.227, allocations: 119.4 kB / 4.139 GB, free: 29.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/9.228, allocations: 24 kB / 4.139 GB, free: 29.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/9.228, allocations: 4 kB / 4.139 GB, free: 29.16 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00111/9.229, allocations: 0.6846 MB / 4.14 GB, free: 28.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/9.229, allocations: 12.03 kB / 4.14 GB, free: 28.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005552/9.229, allocations: 250.2 kB / 4.14 GB, free: 28.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/9.23, allocations: 75.89 kB / 4.14 GB, free: 28.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/9.233, allocations: 2.94 MB / 4.143 GB, free: 25.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/9.234, allocations: 99.64 kB / 4.143 GB, free: 25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/9.234, allocations: 24 kB / 4.143 GB, free: 24.97 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001609/9.234, allocations: 125.1 kB / 4.143 GB, free: 24.84 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/9.234, allocations: 110.6 kB / 4.143 GB, free: 24.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/9.235, allocations: 0.7842 MB / 4.144 GB, free: 23.94 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/9.235, allocations: 4 kB / 4.144 GB, free: 23.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/9.235, allocations: 0 / 4.144 GB, free: 23.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/9.235, allocations: 4 kB / 4.144 GB, free: 23.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/9.237, allocations: 1.689 MB / 4.146 GB, free: 22.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/9.237, allocations: 7.906 kB / 4.146 GB, free: 22.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/9.238, allocations: 36.19 kB / 4.146 GB, free: 22.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004033/9.238, allocations: 263.9 kB / 4.146 GB, free: 21.87 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/9.238, allocations: 4 kB / 4.146 GB, free: 21.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009422/9.239, allocations: 1.143 MB / 4.147 GB, free: 20.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/9.239, allocations: 4 kB / 4.147 GB, free: 20.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009578/9.24, allocations: 0.9715 MB / 4.148 GB, free: 19.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/9.24, allocations: 231.8 kB / 4.148 GB, free: 19.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/9.241, allocations: 11.97 kB / 4.148 GB, free: 19.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007062/9.241, allocations: 79.75 kB / 4.149 GB, free: 19.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/9.241, allocations: 27.88 kB / 4.149 GB, free: 19.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/9.241, allocations: 19.98 kB / 4.149 GB, free: 19.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007154/9.242, allocations: 0.718 MB / 4.149 GB, free: 18.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001756/9.244, allocations: 0.5423 MB / 4.15 GB, free: 17.99 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 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001742/9.246, allocations: 1.286 MB / 4.151 GB, free: 16.68 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002181/9.248, allocations: 1.16 MB / 4.152 GB, free: 15.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/9.248, allocations: 4.062 kB / 4.152 GB, free: 15.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005036/9.248, allocations: 292.3 kB / 4.152 GB, free: 15.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/9.251, allocations: 0.5725 MB / 4.153 GB, free: 14.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/9.253, allocations: 1.487 MB / 4.154 GB, free: 13.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006423/9.254, allocations: 1.288 MB / 4.156 GB, free: 11.79 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/9.254, allocations: 0 / 4.156 GB, free: 11.79 MB / 0.948 GB Notification: Performance of Templates: time 0.4607/9.715, allocations: 27.01 MB / 4.182 GB, free: 330 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)