Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.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 7.0.3-maint.7.0.x/package.mo): time 1.202/1.202, allocations: 249.4 MB / 256.7 MB, free: 7.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 195.8 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.053/1.053, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008056/0.0008056, allocations: 97.38 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.122e-06/6.142e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1491, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.391/3.54, allocations: 2.182 GB / 3.067 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/3.54, allocations: 91.94 kB / 3.067 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.261/7.802, allocations: 1.727 GB / 4.794 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.349e-05/7.802, allocations: 26.11 kB / 4.794 GB, free: 154.8 MB / 0.8698 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.003001/7.805, allocations: 1.186 MB / 4.795 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/7.805, allocations: 8.031 kB / 4.795 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008372/7.806, allocations: 190.5 kB / 4.795 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/7.809, allocations: 1.371 MB / 4.797 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/7.809, allocations: 16 kB / 4.797 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.216e-05/7.809, allocations: 39.98 kB / 4.797 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006072/7.81, allocations: 0.5017 MB / 4.797 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006864/7.81, allocations: 0.7123 MB / 4.798 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/7.81, allocations: 4 kB / 4.798 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/7.81, allocations: 3.984 kB / 4.798 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/7.81, allocations: 19.91 kB / 4.798 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/7.813, allocations: 4.148 MB / 4.802 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/7.813, allocations: 494.2 kB / 4.802 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/7.814, allocations: 351.3 kB / 4.803 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/7.814, allocations: 192.1 kB / 4.803 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/7.814, allocations: 286.8 kB / 4.803 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/7.814, allocations: 0 / 4.803 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001455/7.816, allocations: 0.8132 MB / 4.804 GB, free: 144 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/7.816, allocations: 89 kB / 4.804 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007281/7.816, allocations: 0.8675 MB / 4.805 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/7.816, allocations: 29.7 kB / 4.805 GB, free: 143 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/7.817, allocations: 340.1 kB / 4.805 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/7.817, allocations: 106.5 kB / 4.805 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/7.817, allocations: 0 / 4.805 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.169e-05/7.817, allocations: 333.9 kB / 4.806 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/7.817, allocations: 204.9 kB / 4.806 GB, free: 142 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/7.817, allocations: 0.5319 MB / 4.806 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/7.818, allocations: 294.3 kB / 4.807 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/7.818, allocations: 0 / 4.807 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00132/7.819, allocations: 0.9463 MB / 4.808 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/7.819, allocations: 2.1 MB / 4.81 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/7.819, allocations: 7.938 kB / 4.81 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004286/7.82, allocations: 254.8 kB / 4.81 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/7.82, allocations: 71.89 kB / 4.81 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008588/7.821, allocations: 1.177 MB / 4.811 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007962/7.821, allocations: 107.6 kB / 4.811 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/7.822, allocations: 31.92 kB / 4.811 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-06/7.822, allocations: 4 kB / 4.811 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009054/7.822, allocations: 0.6341 MB / 4.812 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/7.822, allocations: 8 kB / 4.812 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/7.823, allocations: 231.3 kB / 4.812 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/7.823, allocations: 67.89 kB / 4.812 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/7.826, allocations: 2.793 MB / 4.815 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/7.826, allocations: 91.72 kB / 4.815 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/7.826, allocations: 24 kB / 4.815 GB, free: 132.2 MB / 0.8698 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.0001002/7.827, allocations: 128.7 kB / 4.815 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/7.827, allocations: 90.88 kB / 4.815 GB, free: 132 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009215/7.828, allocations: 0.7209 MB / 4.816 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/7.828, allocations: 4 kB / 4.816 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/7.828, allocations: 4 kB / 4.816 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/7.828, allocations: 4 kB / 4.816 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/7.829, allocations: 1.596 MB / 4.817 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/7.829, allocations: 7.906 kB / 4.817 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/7.829, allocations: 32.14 kB / 4.817 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000315/7.83, allocations: 205 kB / 4.818 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/7.83, allocations: 7.984 kB / 4.818 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006212/7.83, allocations: 1.047 MB / 4.819 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/7.83, allocations: 0 / 4.819 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008274/7.831, allocations: 0.9171 MB / 4.82 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/7.832, allocations: 211.8 kB / 4.82 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/7.832, allocations: 7.984 kB / 4.82 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005991/7.832, allocations: 71.77 kB / 4.82 GB, free: 127 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/7.832, allocations: 23.97 kB / 4.82 GB, free: 127 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/7.832, allocations: 19.92 kB / 4.82 GB, free: 127 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005645/7.833, allocations: 0.6806 MB / 4.821 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001161/7.834, allocations: 0.497 MB / 4.821 GB, free: 125.8 MB / 0.8698 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.000981/7.835, allocations: 1.044 MB / 4.822 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001101/7.836, allocations: 0.9661 MB / 4.823 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/7.836, allocations: 8 kB / 4.823 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/7.837, allocations: 219 kB / 4.823 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/7.839, allocations: 0.521 MB / 4.824 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/7.84, allocations: 1.41 MB / 4.825 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/7.841, allocations: 1.259 MB / 4.826 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/7.841, allocations: 3.938 kB / 4.826 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.02905/7.87, allocations: 24.52 MB / 4.85 GB, free: 96.02 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches