Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 289.8 MB / 297.1 MB, free: 12.56 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 183 kB / 366.3 MB, free: 11.88 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.1 MB / 0.6256 GB, free: 1.984 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009482/0.0009484, allocations: 89.53 kB / 0.7395 GB, free: 46.96 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 8.245e-06/8.265e-06, allocations: 4 kB / 0.859 GB, free: 7.148 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7621/0.7621, allocations: 116.3 MB / 0.9725 GB, free: 81.44 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.898/5.66, allocations: 2.064 GB / 3.036 GB, free: 25.85 MB / 0.9402 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/5.661, allocations: 94.34 kB / 3.036 GB, free: 25.76 MB / 0.9402 GB Notification: Performance of FrontEnd: time 7.345/13.01, allocations: 1.983 GB / 5.019 GB, free: 184.4 MB / 0.9402 GB Notification: Performance of Transformations before backend: time 0.0001123/13.01, allocations: 35.98 kB / 5.019 GB, free: 184.4 MB / 0.9402 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.004045/13.01, allocations: 1.343 MB / 5.021 GB, free: 183 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/13.01, allocations: 8.031 kB / 5.021 GB, free: 182.9 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/13.01, allocations: 206.3 kB / 5.021 GB, free: 182.7 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003468/13.01, allocations: 1.433 MB / 5.022 GB, free: 181.3 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/13.01, allocations: 16 kB / 5.022 GB, free: 181.2 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.904e-05/13.01, allocations: 47.91 kB / 5.022 GB, free: 181.2 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009739/13.02, allocations: 0.7209 MB / 5.023 GB, free: 180.5 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009524/13.02, allocations: 0.8682 MB / 5.024 GB, free: 179.5 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/13.02, allocations: 0 / 5.024 GB, free: 179.5 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/13.02, allocations: 4 kB / 5.024 GB, free: 179.5 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/13.02, allocations: 16 kB / 5.024 GB, free: 179.5 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/13.02, allocations: 4.709 MB / 5.028 GB, free: 174.5 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/13.02, allocations: 0.5229 MB / 5.029 GB, free: 174 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/13.02, allocations: 446 kB / 5.029 GB, free: 173.5 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003014/13.02, allocations: 198.5 kB / 5.03 GB, free: 173.3 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/13.02, allocations: 308.7 kB / 5.03 GB, free: 173 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=35): time 2.334e-06/13.02, allocations: 3.938 kB / 5.03 GB, free: 173 MB / 0.9402 GB Notification: Performance of matching and sorting (n=35): time 0.001878/13.02, allocations: 0.9467 MB / 5.031 GB, free: 172 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/13.02, allocations: 81.11 kB / 5.031 GB, free: 171.9 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009501/13.03, allocations: 0.9139 MB / 5.032 GB, free: 171 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/13.03, allocations: 33.7 kB / 5.032 GB, free: 170.9 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/13.03, allocations: 364.2 kB / 5.032 GB, free: 170.6 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 7.225e-05/13.03, allocations: 118.4 kB / 5.032 GB, free: 170.5 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/13.03, allocations: 0 / 5.032 GB, free: 170.5 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 6.09e-05/13.03, allocations: 329.8 kB / 5.033 GB, free: 170.1 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/13.03, allocations: 228.9 kB / 5.033 GB, free: 169.9 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/13.03, allocations: 0.5459 MB / 5.033 GB, free: 169.2 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/13.03, allocations: 330.2 kB / 5.034 GB, free: 168.9 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/13.03, allocations: 0 / 5.034 GB, free: 168.9 MB / 0.9402 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001647/13.03, allocations: 1.071 MB / 5.035 GB, free: 167.8 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004139/13.03, allocations: 2.104 MB / 5.037 GB, free: 165.6 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/13.03, allocations: 8 kB / 5.037 GB, free: 165.5 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006423/13.03, allocations: 331.9 kB / 5.037 GB, free: 165.2 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/13.03, allocations: 67.84 kB / 5.037 GB, free: 165.2 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/13.03, allocations: 1.349 MB / 5.038 GB, free: 163.8 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/13.03, allocations: 119.5 kB / 5.039 GB, free: 163.7 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/13.03, allocations: 27.94 kB / 5.039 GB, free: 163.6 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/13.03, allocations: 5.094 kB / 5.039 GB, free: 163.6 MB / 0.9402 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/13.03, allocations: 0.746 MB / 5.039 GB, free: 162.9 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/13.03, allocations: 8 kB / 5.039 GB, free: 162.9 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007609/13.03, allocations: 326.1 kB / 5.04 GB, free: 162.6 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/13.03, allocations: 59.91 kB / 5.04 GB, free: 162.5 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003662/13.04, allocations: 3.434 MB / 5.043 GB, free: 158.9 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/13.04, allocations: 107.6 kB / 5.043 GB, free: 158.8 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/13.04, allocations: 24 kB / 5.043 GB, free: 158.8 MB / 0.9402 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.000207/13.04, allocations: 119.8 kB / 5.043 GB, free: 158.7 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/13.04, allocations: 98.78 kB / 5.043 GB, free: 158.6 MB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/13.04, allocations: 0.8586 MB / 5.044 GB, free: 157.7 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/13.04, allocations: 4 kB / 5.044 GB, free: 157.7 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/13.04, allocations: 0 / 5.044 GB, free: 157.7 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/13.04, allocations: 7.984 kB / 5.044 GB, free: 157.7 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/13.04, allocations: 1.777 MB / 5.046 GB, free: 155.9 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/13.04, allocations: 4 kB / 5.046 GB, free: 155.9 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/13.04, allocations: 32.2 kB / 5.046 GB, free: 155.8 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/13.04, allocations: 284.9 kB / 5.046 GB, free: 155.6 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/13.04, allocations: 12 kB / 5.046 GB, free: 155.5 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008905/13.04, allocations: 1.198 MB / 5.047 GB, free: 154.3 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/13.04, allocations: 3.906 kB / 5.047 GB, free: 154.3 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00107/13.05, allocations: 1.038 MB / 5.048 GB, free: 153.2 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/13.05, allocations: 235.7 kB / 5.049 GB, free: 153 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/13.05, allocations: 7.984 kB / 5.049 GB, free: 152.9 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000724/13.05, allocations: 75.75 kB / 5.049 GB, free: 152.9 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/13.05, allocations: 31.88 kB / 5.049 GB, free: 152.8 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/13.05, allocations: 15.98 kB / 5.049 GB, free: 152.8 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.0007606/13.05, allocations: 0.7139 MB / 5.05 GB, free: 152.1 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.001683/13.05, allocations: 0.5578 MB / 5.05 GB, free: 151.5 MB / 0.9402 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.001495/13.05, allocations: 1.213 MB / 5.051 GB, free: 150.3 MB / 0.9402 GB Notification: Performance of simCode: created initialization part: time 0.001703/13.05, allocations: 1.079 MB / 5.052 GB, free: 149.2 MB / 0.9402 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/13.05, allocations: 0 / 5.052 GB, free: 149.2 MB / 0.9402 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/13.05, allocations: 267.1 kB / 5.053 GB, free: 149 MB / 0.9402 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/13.06, allocations: 0.5683 MB / 5.053 GB, free: 148.4 MB / 0.9402 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/13.06, allocations: 1.478 MB / 5.055 GB, free: 146.9 MB / 0.9402 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006043/13.06, allocations: 1.304 MB / 5.056 GB, free: 145.6 MB / 0.9402 GB Notification: Performance of SimCode: time 1.152e-06/13.06, allocations: 0 / 5.056 GB, free: 145.6 MB / 0.9402 GB Notification: Performance of Templates: time 0.04081/13.1, allocations: 27.37 MB / 5.083 GB, free: 118.3 MB / 0.9402 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)