Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.076/2.076, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 176.3 kB / 487 MB, free: 5.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 0.7819 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 102 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.544e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3123, allocations: 142.3 MB / 1.205 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.663/4.975, allocations: 1.869 GB / 3.074 GB, free: 436.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/4.975, allocations: 87.84 kB / 3.074 GB, free: 436.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 6.136/11.11, allocations: 1.804 GB / 4.878 GB, free: 369.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001103/11.11, allocations: 28.91 kB / 4.878 GB, free: 369.8 MB / 1.151 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.003552/11.12, allocations: 1.185 MB / 4.879 GB, free: 369.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/11.12, allocations: 9.938 kB / 4.879 GB, free: 369.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009524/11.12, allocations: 196.1 kB / 4.879 GB, free: 369.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/11.12, allocations: 1.366 MB / 4.88 GB, free: 368.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/11.12, allocations: 15.59 kB / 4.88 GB, free: 368.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.762e-05/11.12, allocations: 46.12 kB / 4.88 GB, free: 368.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006895/11.12, allocations: 0.5053 MB / 4.881 GB, free: 368.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008081/11.12, allocations: 0.7067 MB / 4.882 GB, free: 368.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/11.12, allocations: 0 / 4.882 GB, free: 368.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/11.12, allocations: 3.625 kB / 4.882 GB, free: 368.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/11.12, allocations: 15.38 kB / 4.882 GB, free: 368.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/11.12, allocations: 4.165 MB / 4.886 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005415/11.12, allocations: 480.8 kB / 4.886 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/11.13, allocations: 344.7 kB / 4.886 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003101/11.13, allocations: 200.4 kB / 4.887 GB, free: 365.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/11.13, allocations: 288.6 kB / 4.887 GB, free: 365.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 3.166e-06/11.13, allocations: 3.891 kB / 4.887 GB, free: 365.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001702/11.13, allocations: 0.819 MB / 4.888 GB, free: 365.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/11.13, allocations: 82.23 kB / 4.888 GB, free: 365.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009038/11.13, allocations: 0.8762 MB / 4.889 GB, free: 365.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/11.13, allocations: 29.58 kB / 4.889 GB, free: 365.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/11.13, allocations: 335.7 kB / 4.889 GB, free: 365.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/11.13, allocations: 117.5 kB / 4.889 GB, free: 365 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/11.13, allocations: 0 / 4.889 GB, free: 365 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.326e-05/11.13, allocations: 321.4 kB / 4.889 GB, free: 364.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/11.13, allocations: 211 kB / 4.89 GB, free: 364.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/11.13, allocations: 0.528 MB / 4.89 GB, free: 364.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/11.13, allocations: 297.6 kB / 4.89 GB, free: 364.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/11.13, allocations: 0 / 4.89 GB, free: 364.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001988/11.13, allocations: 0.9417 MB / 4.891 GB, free: 364.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005075/11.13, allocations: 2.1 MB / 4.893 GB, free: 362 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/11.13, allocations: 5.312 kB / 4.893 GB, free: 362 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007058/11.13, allocations: 251.1 kB / 4.894 GB, free: 362 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/11.13, allocations: 69.95 kB / 4.894 GB, free: 362 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/11.13, allocations: 1.178 MB / 4.895 GB, free: 361.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/11.14, allocations: 100.6 kB / 4.895 GB, free: 361.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/11.14, allocations: 28.06 kB / 4.895 GB, free: 361.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/11.14, allocations: 3.781 kB / 4.895 GB, free: 361.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/11.14, allocations: 0.6453 MB / 4.896 GB, free: 361.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/11.14, allocations: 5.625 kB / 4.896 GB, free: 361.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006411/11.14, allocations: 220.6 kB / 4.896 GB, free: 361.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/11.14, allocations: 79.88 kB / 4.896 GB, free: 361.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/11.14, allocations: 2.802 MB / 4.899 GB, free: 360.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/11.14, allocations: 90.19 kB / 4.899 GB, free: 360.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/11.14, allocations: 21.59 kB / 4.899 GB, free: 360.1 MB / 1.151 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.0002053/11.14, allocations: 132.6 kB / 4.899 GB, free: 360 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/11.14, allocations: 97.47 kB / 4.899 GB, free: 360 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/11.14, allocations: 0.7105 MB / 4.9 GB, free: 359.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/11.14, allocations: 6.562 kB / 4.9 GB, free: 359.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/11.14, allocations: 0 / 4.9 GB, free: 359.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/11.14, allocations: 7 kB / 4.9 GB, free: 359.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/11.15, allocations: 1.601 MB / 4.901 GB, free: 359.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/11.15, allocations: 2 kB / 4.901 GB, free: 359.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/11.15, allocations: 36.39 kB / 4.901 GB, free: 359.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004275/11.15, allocations: 209.3 kB / 4.901 GB, free: 359.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/11.15, allocations: 5.547 kB / 4.901 GB, free: 359.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009103/11.15, allocations: 1.046 MB / 4.902 GB, free: 358.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/11.15, allocations: 6.719 kB / 4.902 GB, free: 358.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001208/11.15, allocations: 0.9106 MB / 4.903 GB, free: 358.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/11.15, allocations: 224.2 kB / 4.904 GB, free: 358.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/11.15, allocations: 3.734 kB / 4.904 GB, free: 358.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006663/11.15, allocations: 68.88 kB / 4.904 GB, free: 358.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/11.15, allocations: 26.67 kB / 4.904 GB, free: 358.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/11.15, allocations: 18.58 kB / 4.904 GB, free: 358.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009908/11.15, allocations: 0.6868 MB / 4.904 GB, free: 358.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001868/11.15, allocations: 0.4981 MB / 4.905 GB, free: 358.2 MB / 1.151 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.001661/11.16, allocations: 1.038 MB / 4.906 GB, free: 358 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001852/11.16, allocations: 0.9675 MB / 4.907 GB, free: 357.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/11.16, allocations: 0 / 4.907 GB, free: 357.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000423/11.16, allocations: 222.2 kB / 4.907 GB, free: 357.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/11.16, allocations: 0.5246 MB / 4.908 GB, free: 357.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/11.16, allocations: 1.408 MB / 4.909 GB, free: 357.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/11.16, allocations: 1.26 MB / 4.91 GB, free: 356.7 MB / 1.151 GB Notification: Performance of SimCode: time 5.61e-07/11.16, allocations: 0 / 4.91 GB, free: 356.7 MB / 1.151 GB Notification: Performance of Templates: time 0.04877/11.21, allocations: 24.53 MB / 4.934 GB, free: 351.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches