Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") [: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.556/1.556, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001108/0.001108, allocations: 171.8 kB / 366.3 MB, free: 1.953 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.499/1.499, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.001232/0.001232, allocations: 100 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/6.883e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7108/0.7108, allocations: 116.3 MB / 0.9726 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.514/5.225, allocations: 2.064 GB / 3.036 GB, free: 8.406 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/5.225, allocations: 87.89 kB / 3.036 GB, free: 8.32 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.212/11.44, allocations: 1.79 GB / 4.826 GB, free: 31.54 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001752/11.44, allocations: 31.98 kB / 4.827 GB, free: 31.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004313/11.44, allocations: 1.195 MB / 4.828 GB, free: 30.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/11.44, allocations: 8.031 kB / 4.828 GB, free: 30.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/11.44, allocations: 186.5 kB / 4.828 GB, free: 30.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004243/11.45, allocations: 1.381 MB / 4.829 GB, free: 28.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/11.45, allocations: 16 kB / 4.829 GB, free: 28.61 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/11.45, allocations: 36 kB / 4.829 GB, free: 28.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009098/11.45, allocations: 0.5055 MB / 4.83 GB, free: 28.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009375/11.45, allocations: 0.7123 MB / 4.83 GB, free: 27.28 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/11.45, allocations: 0 / 4.83 GB, free: 27.28 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/11.45, allocations: 4 kB / 4.83 GB, free: 27.28 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/11.45, allocations: 12 kB / 4.83 GB, free: 27.27 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004091/11.45, allocations: 4.166 MB / 4.835 GB, free: 22.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/11.45, allocations: 478.4 kB / 4.835 GB, free: 22.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/11.46, allocations: 341.6 kB / 4.835 GB, free: 22.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/11.46, allocations: 198.2 kB / 4.836 GB, free: 21.81 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/11.46, allocations: 290.9 kB / 4.836 GB, free: 21.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.354e-06/11.46, allocations: 3.938 kB / 4.836 GB, free: 21.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001886/11.46, allocations: 0.8067 MB / 4.837 GB, free: 20.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/11.46, allocations: 85.05 kB / 4.837 GB, free: 20.58 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/11.46, allocations: 0.8791 MB / 4.838 GB, free: 19.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/11.46, allocations: 33.7 kB / 4.838 GB, free: 19.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/11.46, allocations: 332.2 kB / 4.838 GB, free: 19.32 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/11.46, allocations: 114.4 kB / 4.838 GB, free: 19.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/11.46, allocations: 0 / 4.838 GB, free: 19.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/11.46, allocations: 325.9 kB / 4.838 GB, free: 18.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/11.46, allocations: 212.9 kB / 4.838 GB, free: 18.67 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/11.46, allocations: 0.5277 MB / 4.839 GB, free: 18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/11.46, allocations: 302.3 kB / 4.839 GB, free: 17.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/11.46, allocations: 4 kB / 4.839 GB, free: 17.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001612/11.46, allocations: 0.9354 MB / 4.84 GB, free: 16.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004755/11.46, allocations: 2.1 MB / 4.842 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/11.46, allocations: 4 kB / 4.842 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/11.46, allocations: 253.2 kB / 4.843 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/11.46, allocations: 68.05 kB / 4.843 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/11.46, allocations: 1.183 MB / 4.844 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/11.47, allocations: 99.61 kB / 4.844 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/11.47, allocations: 27.94 kB / 4.844 GB, free: 12.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/11.47, allocations: 4 kB / 4.844 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001024/11.47, allocations: 0.6521 MB / 4.844 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/11.47, allocations: 4.625 kB / 4.844 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/11.47, allocations: 228.8 kB / 4.845 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/11.47, allocations: 75.84 kB / 4.845 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/11.47, allocations: 2.792 MB / 4.848 GB, free: 8.969 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/11.47, allocations: 91.66 kB / 4.848 GB, free: 8.879 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/11.47, allocations: 20 kB / 4.848 GB, free: 8.859 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002074/11.47, allocations: 128.8 kB / 4.848 GB, free: 8.727 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/11.47, allocations: 94.88 kB / 4.848 GB, free: 8.633 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/11.47, allocations: 0.7179 MB / 4.849 GB, free: 7.902 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/11.47, allocations: 4 kB / 4.849 GB, free: 7.898 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/11.47, allocations: 0 / 4.849 GB, free: 7.898 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/11.47, allocations: 3.984 kB / 4.849 GB, free: 7.895 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/11.48, allocations: 1.601 MB / 4.85 GB, free: 6.223 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/11.48, allocations: 96 / 4.85 GB, free: 6.223 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/11.48, allocations: 35.91 kB / 4.85 GB, free: 6.188 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003742/11.48, allocations: 219.8 kB / 4.85 GB, free: 5.973 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/11.48, allocations: 4 kB / 4.85 GB, free: 5.969 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008207/11.48, allocations: 1.044 MB / 4.851 GB, free: 4.898 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/11.48, allocations: 4 kB / 4.851 GB, free: 4.895 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001055/11.48, allocations: 0.9209 MB / 4.852 GB, free: 3.895 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005389/11.48, allocations: 215.9 kB / 4.852 GB, free: 3.664 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/11.48, allocations: 8 kB / 4.852 GB, free: 3.656 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007718/11.48, allocations: 71.67 kB / 4.853 GB, free: 3.586 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/11.48, allocations: 27.95 kB / 4.853 GB, free: 3.559 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/11.48, allocations: 8 kB / 4.853 GB, free: 3.551 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008267/11.48, allocations: 0.6884 MB / 4.853 GB, free: 2.852 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001881/11.48, allocations: 0.4955 MB / 4.854 GB, free: 2.355 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001849/11.48, allocations: 1.04 MB / 4.855 GB, free: 1.312 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001685/11.49, allocations: 0.9616 MB / 4.856 GB, free: 336 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/11.49, allocations: 3.938 kB / 4.856 GB, free: 332 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003564/11.49, allocations: 219.2 kB / 4.856 GB, free: 112 kB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4578/11.94, allocations: 0.5299 MB / 4.856 GB, free: 360.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/11.95, allocations: 1.405 MB / 4.858 GB, free: 359.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006484/11.95, allocations: 1.256 MB / 4.859 GB, free: 359.2 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/11.95, allocations: 3.125 kB / 4.859 GB, free: 359.2 MB / 0.948 GB Notification: Performance of Templates: time 0.04107/11.99, allocations: 24.52 MB / 4.883 GB, free: 358.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)