Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.59/1.59, 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.001269/0.001269, allocations: 183.5 kB / 361.1 MB, free: 7.109 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.462/1.462, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008622/0.0008625, allocations: 94.56 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.328e-05/1.385e-05, allocations: 8 kB / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7411/0.7412, allocations: 115.3 MB / 0.9637 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.436/5.177, allocations: 2.063 GB / 3.026 GB, free: 93.43 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/5.178, allocations: 88.94 kB / 3.027 GB, free: 93.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.661/11.84, allocations: 1.79 GB / 4.817 GB, free: 142.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001833/11.84, allocations: 35.97 kB / 4.817 GB, free: 142.7 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.004451/11.84, allocations: 1.187 MB / 4.818 GB, free: 141.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/11.84, allocations: 8.531 kB / 4.818 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/11.84, allocations: 194.4 kB / 4.818 GB, free: 141.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00443/11.85, allocations: 1.37 MB / 4.819 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.481e-05/11.85, allocations: 16 kB / 4.819 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/11.85, allocations: 43.84 kB / 4.819 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008729/11.85, allocations: 0.5017 MB / 4.82 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008954/11.85, allocations: 0.7129 MB / 4.821 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/11.85, allocations: 7.938 kB / 4.821 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.632e-05/11.85, allocations: 0 / 4.821 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/11.85, allocations: 16 kB / 4.821 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003845/11.85, allocations: 4.165 MB / 4.825 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/11.86, allocations: 475 kB / 4.825 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/11.86, allocations: 342 kB / 4.825 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/11.86, allocations: 194.7 kB / 4.826 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/11.86, allocations: 286.9 kB / 4.826 GB, free: 132.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.846e-06/11.86, allocations: 0 / 4.826 GB, free: 132.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001805/11.86, allocations: 0.8103 MB / 4.827 GB, free: 131.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/11.86, allocations: 85.09 kB / 4.827 GB, free: 131.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009751/11.86, allocations: 0.8791 MB / 4.828 GB, free: 130.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/11.86, allocations: 25.7 kB / 4.828 GB, free: 130.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/11.86, allocations: 336.2 kB / 4.828 GB, free: 130.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/11.86, allocations: 114.3 kB / 4.828 GB, free: 130.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/11.86, allocations: 0 / 4.828 GB, free: 130.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.858e-05/11.86, allocations: 330 kB / 4.828 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/11.86, allocations: 204.9 kB / 4.829 GB, free: 129.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/11.86, allocations: 0.528 MB / 4.829 GB, free: 129.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/11.86, allocations: 294.1 kB / 4.829 GB, free: 129 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/11.86, allocations: 0 / 4.829 GB, free: 129 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001574/11.86, allocations: 0.9474 MB / 4.83 GB, free: 128 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004017/11.86, allocations: 2.101 MB / 4.832 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/11.86, allocations: 11.94 kB / 4.832 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004973/11.86, allocations: 247.2 kB / 4.833 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/11.86, allocations: 64.02 kB / 4.833 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/11.86, allocations: 1.188 MB / 4.834 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009712/11.87, allocations: 103.5 kB / 4.834 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/11.87, allocations: 27.98 kB / 4.834 GB, free: 124.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/11.87, allocations: 4 kB / 4.834 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001054/11.87, allocations: 0.6384 MB / 4.835 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/11.87, allocations: 8.625 kB / 4.835 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/11.87, allocations: 231.5 kB / 4.835 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/11.87, allocations: 71.91 kB / 4.835 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/11.87, allocations: 2.794 MB / 4.838 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009879/11.87, allocations: 91.8 kB / 4.838 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/11.87, allocations: 27.98 kB / 4.838 GB, free: 120.1 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.000164/11.87, allocations: 132.6 kB / 4.838 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/11.87, allocations: 94.78 kB / 4.838 GB, free: 119.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/11.87, allocations: 0.722 MB / 4.839 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/11.87, allocations: 0 / 4.839 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/11.87, allocations: 4 kB / 4.839 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/11.87, allocations: 3.906 kB / 4.839 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/11.88, allocations: 1.605 MB / 4.84 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/11.88, allocations: 4 kB / 4.84 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/11.88, allocations: 23.98 kB / 4.84 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003709/11.88, allocations: 213.2 kB / 4.841 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/11.88, allocations: 7.984 kB / 4.841 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008192/11.88, allocations: 1.044 MB / 4.842 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/11.88, allocations: 3.906 kB / 4.842 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001148/11.88, allocations: 0.923 MB / 4.842 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004668/11.88, allocations: 219.8 kB / 4.843 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/11.88, allocations: 3.984 kB / 4.843 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000758/11.88, allocations: 59.84 kB / 4.843 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/11.88, allocations: 35.86 kB / 4.843 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/11.88, allocations: 8 kB / 4.843 GB, free: 114.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007515/11.88, allocations: 0.6884 MB / 4.843 GB, free: 114.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001628/11.88, allocations: 0.4993 MB / 4.844 GB, free: 113.6 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.001328/11.88, allocations: 1.047 MB / 4.845 GB, free: 112.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001425/11.88, allocations: 0.9674 MB / 4.846 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/11.88, allocations: 0 / 4.846 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/11.89, allocations: 219.4 kB / 4.846 GB, free: 111.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/11.89, allocations: 0.5216 MB / 4.847 GB, free: 110.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/11.89, allocations: 1.406 MB / 4.848 GB, free: 109.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007261/11.89, allocations: 1.259 MB / 4.849 GB, free: 108.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.163e-06/11.89, allocations: 7.938 kB / 4.849 GB, free: 108.1 MB / 0.948 GB Notification: Performance of Templates: time 0.03579/11.93, allocations: 24.51 MB / 4.873 GB, free: 83.7 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)