Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.991/1.991, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.00135/0.00135, allocations: 185.2 kB / 487 MB, free: 5.395 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.517/1.517, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.001087/0.001087, allocations: 88.62 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.306e-06/8.326e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3253, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.712/5.037, allocations: 1.869 GB / 3.074 GB, free: 435.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/5.037, allocations: 91.23 kB / 3.074 GB, free: 435.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 6.525/11.56, allocations: 1.998 GB / 5.072 GB, free: 207.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000179/11.56, allocations: 35.92 kB / 5.072 GB, free: 207.6 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004777/11.57, allocations: 1.342 MB / 5.073 GB, free: 206.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/11.57, allocations: 8.031 kB / 5.073 GB, free: 206.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/11.57, allocations: 198.4 kB / 5.073 GB, free: 206 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/11.57, allocations: 1.445 MB / 5.075 GB, free: 204.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/11.57, allocations: 20 kB / 5.075 GB, free: 204.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/11.57, allocations: 40 kB / 5.075 GB, free: 204.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001129/11.58, allocations: 0.7248 MB / 5.076 GB, free: 203.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/11.58, allocations: 0.8681 MB / 5.076 GB, free: 202.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/11.58, allocations: 3.938 kB / 5.076 GB, free: 202.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/11.58, allocations: 4 kB / 5.076 GB, free: 202.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/11.58, allocations: 16 kB / 5.076 GB, free: 202.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00438/11.58, allocations: 4.708 MB / 5.081 GB, free: 197.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/11.58, allocations: 0.5345 MB / 5.082 GB, free: 197.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000408/11.58, allocations: 450.5 kB / 5.082 GB, free: 196.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/11.58, allocations: 194.5 kB / 5.082 GB, free: 196.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/11.58, allocations: 313 kB / 5.083 GB, free: 196.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 2.435e-06/11.58, allocations: 0 / 5.083 GB, free: 196.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.002056/11.58, allocations: 0.9494 MB / 5.083 GB, free: 195.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/11.58, allocations: 85.05 kB / 5.084 GB, free: 195.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/11.59, allocations: 0.9179 MB / 5.084 GB, free: 194.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.28e-05/11.59, allocations: 29.7 kB / 5.084 GB, free: 194.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/11.59, allocations: 348.4 kB / 5.085 GB, free: 193.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/11.59, allocations: 126.2 kB / 5.085 GB, free: 193.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/11.59, allocations: 0 / 5.085 GB, free: 193.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/11.59, allocations: 326 kB / 5.085 GB, free: 193.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/11.59, allocations: 224.9 kB / 5.085 GB, free: 193.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/11.59, allocations: 0.5537 MB / 5.086 GB, free: 192.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/11.59, allocations: 321.6 kB / 5.086 GB, free: 192.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/11.59, allocations: 4 kB / 5.086 GB, free: 192.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001752/11.59, allocations: 1.078 MB / 5.087 GB, free: 191 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00041/11.59, allocations: 2.096 MB / 5.089 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/11.59, allocations: 8 kB / 5.089 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006717/11.59, allocations: 328.6 kB / 5.09 GB, free: 188.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/11.59, allocations: 67.84 kB / 5.09 GB, free: 188.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/11.59, allocations: 1.344 MB / 5.091 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/11.59, allocations: 115.7 kB / 5.091 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/11.59, allocations: 27.98 kB / 5.091 GB, free: 186.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/11.59, allocations: 8.688 kB / 5.091 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/11.59, allocations: 0.7573 MB / 5.092 GB, free: 186.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/11.59, allocations: 8 kB / 5.092 GB, free: 186.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007435/11.59, allocations: 311.1 kB / 5.092 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/11.6, allocations: 63.91 kB / 5.092 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003742/11.6, allocations: 3.431 MB / 5.096 GB, free: 182.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/11.6, allocations: 107.6 kB / 5.096 GB, free: 182.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/11.6, allocations: 27.98 kB / 5.096 GB, free: 182 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 (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.0001652/11.6, allocations: 126.5 kB / 5.096 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/11.6, allocations: 102.7 kB / 5.096 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/11.6, allocations: 0.847 MB / 5.097 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/11.6, allocations: 8 kB / 5.097 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/11.6, allocations: 0 / 5.097 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/11.6, allocations: 7.891 kB / 5.097 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/11.6, allocations: 1.785 MB / 5.099 GB, free: 179.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/11.6, allocations: 8.031 kB / 5.099 GB, free: 179.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/11.6, allocations: 23.92 kB / 5.099 GB, free: 179 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005263/11.61, allocations: 290.2 kB / 5.099 GB, free: 178.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/11.61, allocations: 4 kB / 5.099 GB, free: 178.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009803/11.61, allocations: 1.206 MB / 5.1 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/11.61, allocations: 0 / 5.1 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001234/11.61, allocations: 1.039 MB / 5.101 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/11.61, allocations: 227.8 kB / 5.101 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/11.61, allocations: 4 kB / 5.101 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008868/11.61, allocations: 75.75 kB / 5.101 GB, free: 176.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/11.61, allocations: 35.86 kB / 5.101 GB, free: 176.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/11.61, allocations: 16 kB / 5.101 GB, free: 176 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009702/11.61, allocations: 0.7139 MB / 5.102 GB, free: 175.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002303/11.61, allocations: 0.5617 MB / 5.103 GB, free: 174.8 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 (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.002414/11.62, allocations: 1.217 MB / 5.104 GB, free: 173.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001794/11.62, allocations: 1.085 MB / 5.105 GB, free: 172.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/11.62, allocations: 0 / 5.105 GB, free: 172.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003983/11.62, allocations: 263 kB / 5.105 GB, free: 172.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/11.62, allocations: 0.5647 MB / 5.106 GB, free: 171.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/11.62, allocations: 1.484 MB / 5.107 GB, free: 170.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006246/11.62, allocations: 1.292 MB / 5.108 GB, free: 168.8 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/11.62, allocations: 0 / 5.108 GB, free: 168.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03905/11.66, allocations: 27.39 MB / 5.135 GB, free: 141.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches