Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,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.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,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.SeriesParallelDp") [: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.193/1.193, allocations: 249.4 MB / 256.7 MB, free: 6.926 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.0009784/0.0009785, allocations: 185.2 kB / 316 MB, free: 3.535 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.035/1.035, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.000838/0.000838, allocations: 93.94 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/5.971e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1553, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.36/3.516, allocations: 2.185 GB / 3.069 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/3.516, allocations: 91.94 kB / 3.069 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.516/6.032, allocations: 1.044 GB / 4.113 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.714e-05/6.032, allocations: 31.36 kB / 4.113 GB, free: 172.7 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003349/6.036, allocations: 1.349 MB / 4.114 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/6.036, allocations: 8.031 kB / 4.114 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009089/6.037, allocations: 206.2 kB / 4.115 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/6.04, allocations: 1.452 MB / 4.116 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/6.04, allocations: 23.91 kB / 4.116 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.881e-05/6.04, allocations: 40 kB / 4.116 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009149/6.041, allocations: 0.7248 MB / 4.117 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009174/6.042, allocations: 0.8683 MB / 4.118 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/6.042, allocations: 0 / 4.118 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/6.042, allocations: 8 kB / 4.118 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/6.042, allocations: 12 kB / 4.118 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/6.045, allocations: 4.691 MB / 4.122 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006141/6.046, allocations: 0.5201 MB / 4.123 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/6.046, allocations: 428.5 kB / 4.123 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/6.047, allocations: 202.4 kB / 4.123 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002964/6.047, allocations: 304.9 kB / 4.124 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 2.505e-06/6.047, allocations: 3.938 kB / 4.124 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.001717/6.049, allocations: 0.8826 MB / 4.124 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/6.049, allocations: 81.11 kB / 4.125 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008151/6.049, allocations: 0.922 MB / 4.125 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/6.049, allocations: 37.7 kB / 4.125 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/6.05, allocations: 348.2 kB / 4.126 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/6.05, allocations: 118.4 kB / 4.126 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/6.05, allocations: 0 / 4.126 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.726e-05/6.05, allocations: 329.9 kB / 4.126 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/6.05, allocations: 216.9 kB / 4.126 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/6.05, allocations: 0.5458 MB / 4.127 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/6.051, allocations: 321.6 kB / 4.127 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/6.051, allocations: 0 / 4.127 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001531/6.052, allocations: 1.012 MB / 4.128 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003141/6.053, allocations: 2.092 MB / 4.13 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/6.053, allocations: 4 kB / 4.13 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005092/6.053, allocations: 313 kB / 4.131 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/6.053, allocations: 71.89 kB / 4.131 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/6.055, allocations: 1.306 MB / 4.132 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009342/6.056, allocations: 111.4 kB / 4.132 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/6.056, allocations: 27.98 kB / 4.132 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-06/6.056, allocations: 4 kB / 4.132 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001048/6.057, allocations: 0.6915 MB / 4.133 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/6.057, allocations: 4 kB / 4.133 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/6.058, allocations: 249.6 kB / 4.133 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/6.058, allocations: 76.12 kB / 4.133 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/6.061, allocations: 2.946 MB / 4.136 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000822/6.062, allocations: 104 kB / 4.136 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/6.062, allocations: 24 kB / 4.136 GB, free: 148.1 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.000118/6.062, allocations: 129 kB / 4.136 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/6.062, allocations: 98.78 kB / 4.136 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/6.063, allocations: 0.7921 MB / 4.137 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/6.063, allocations: 7.984 kB / 4.137 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/6.063, allocations: 0 / 4.137 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/6.063, allocations: 4 kB / 4.137 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/6.065, allocations: 1.697 MB / 4.139 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/6.065, allocations: 224 / 4.139 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/6.065, allocations: 35.97 kB / 4.139 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003839/6.066, allocations: 264.8 kB / 4.139 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/6.066, allocations: 7.938 kB / 4.139 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008734/6.066, allocations: 1.146 MB / 4.14 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/6.067, allocations: 0 / 4.14 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000925/6.067, allocations: 0.9712 MB / 4.141 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/6.068, allocations: 227.8 kB / 4.141 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/6.068, allocations: 7.984 kB / 4.141 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/6.069, allocations: 87.66 kB / 4.141 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/6.069, allocations: 23.97 kB / 4.141 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/6.069, allocations: 11.98 kB / 4.141 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006365/6.069, allocations: 0.7219 MB / 4.142 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001379/6.071, allocations: 0.5551 MB / 4.143 GB, free: 141.1 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 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/6.072, allocations: 1.279 MB / 4.144 GB, free: 140 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001854/6.074, allocations: 1.153 MB / 4.145 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/6.074, allocations: 4.062 kB / 4.145 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004574/6.074, allocations: 300.6 kB / 4.145 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/6.077, allocations: 0.5682 MB / 4.146 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/6.079, allocations: 1.477 MB / 4.147 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/6.079, allocations: 1.3 MB / 4.149 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/6.079, allocations: 0 / 4.149 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.03406/6.114, allocations: 27.03 MB / 4.175 GB, free: 108.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches