Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") [: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.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 7.035 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.00112/0.00112, allocations: 181.2 kB / 316 MB, free: 3.504 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.057/1.057, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0008196/0.0008198, allocations: 102.8 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.574e-06/7.594e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1556, allocations: 106.4 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.969/4.124, allocations: 2.5 GB / 3.385 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/4.125, allocations: 103.9 kB / 3.385 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.349/8.473, allocations: 1.622 GB / 5.007 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002034/8.473, allocations: 75.5 kB / 5.007 GB, free: 108.4 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.007456/8.481, allocations: 2.94 MB / 5.009 GB, free: 107.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/8.481, allocations: 11.31 kB / 5.009 GB, free: 107.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/8.486, allocations: 0.7752 MB / 5.01 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006291/8.492, allocations: 2.84 MB / 5.013 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/8.492, allocations: 58.59 kB / 5.013 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/8.493, allocations: 119.1 kB / 5.013 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00288/8.496, allocations: 1.79 MB / 5.015 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/8.498, allocations: 1.978 MB / 5.017 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/8.498, allocations: 6.812 kB / 5.017 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/8.499, allocations: 7.406 kB / 5.017 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.703e-05/8.499, allocations: 74.89 kB / 5.017 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01195/8.511, allocations: 9.825 MB / 5.027 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/8.512, allocations: 1.15 MB / 5.028 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007086/8.513, allocations: 0.6156 MB / 5.028 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003555/8.516, allocations: 2.479 MB / 5.031 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/8.517, allocations: 43.06 kB / 5.031 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=104): time 2.605e-06/8.517, allocations: 0 / 5.031 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=106): time 0.007535/8.524, allocations: 3.186 MB / 5.034 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/8.524, allocations: 64.55 kB / 5.034 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/8.526, allocations: 1.447 MB / 5.035 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-05/8.526, allocations: 29.17 kB / 5.035 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/8.526, allocations: 0.8151 MB / 5.036 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/8.527, allocations: 360.9 kB / 5.036 GB, free: 99.87 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/8.527, allocations: 0 / 5.036 GB, free: 99.87 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.394e-05/8.527, allocations: 361.9 kB / 5.037 GB, free: 99.57 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/8.528, allocations: 471.8 kB / 5.037 GB, free: 99.56 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007729/8.528, allocations: 1.036 MB / 5.038 GB, free: 98.87 MB / 0.9323 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01905/8.547, allocations: 3.341 MB / 5.042 GB, free: 98.75 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/8.547, allocations: 5.406 kB / 5.042 GB, free: 98.75 MB / 0.9323 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003833/8.551, allocations: 1.832 MB / 5.043 GB, free: 98.58 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008352/8.552, allocations: 5.87 MB / 5.049 GB, free: 92.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/8.552, allocations: 13.91 kB / 5.049 GB, free: 92.51 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/8.554, allocations: 372.7 kB / 5.049 GB, free: 92.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/8.555, allocations: 296.9 kB / 5.05 GB, free: 92.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009115/8.556, allocations: 1.044 MB / 5.051 GB, free: 91.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/8.558, allocations: 133.7 kB / 5.051 GB, free: 91.96 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/8.558, allocations: 82.44 kB / 5.051 GB, free: 91.96 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/8.558, allocations: 3.5 kB / 5.051 GB, free: 91.96 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003124/8.561, allocations: 1.569 MB / 5.052 GB, free: 91.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/8.561, allocations: 13.53 kB / 5.052 GB, free: 91.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/8.562, allocations: 372 kB / 5.053 GB, free: 91.91 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/8.564, allocations: 293.1 kB / 5.053 GB, free: 91.91 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008606/8.564, allocations: 1.052 MB / 5.054 GB, free: 91.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/8.566, allocations: 112.3 kB / 5.054 GB, free: 91.37 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/8.566, allocations: 86.12 kB / 5.054 GB, free: 91.37 MB / 0.9323 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 0 * 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 {3 21} Notification: Performance of prepare postOptimizeDAE: time 0.0002766/8.567, allocations: 145.2 kB / 5.054 GB, free: 91.27 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/8.567, allocations: 210.4 kB / 5.055 GB, free: 91.16 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/8.57, allocations: 1.496 MB / 5.056 GB, free: 91.05 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/8.57, allocations: 9.719 kB / 5.056 GB, free: 91.05 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/8.57, allocations: 7.406 kB / 5.056 GB, free: 91.05 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002145/8.572, allocations: 1.144 MB / 5.057 GB, free: 90.95 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004899/8.577, allocations: 3.529 MB / 5.061 GB, free: 90.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/8.577, allocations: 10.91 kB / 5.061 GB, free: 90.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008698/8.578, allocations: 184.9 kB / 5.061 GB, free: 90.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/8.579, allocations: 333.2 kB / 5.061 GB, free: 90.32 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/8.579, allocations: 16.77 kB / 5.061 GB, free: 90.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007867/8.58, allocations: 0.9778 MB / 5.062 GB, free: 89.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/8.58, allocations: 14.64 kB / 5.062 GB, free: 89.8 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002427/8.583, allocations: 2.638 MB / 5.065 GB, free: 88.63 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/8.583, allocations: 423.6 kB / 5.065 GB, free: 88.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/8.584, allocations: 13.61 kB / 5.065 GB, free: 88.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/8.585, allocations: 83.47 kB / 5.065 GB, free: 88.42 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/8.585, allocations: 64.8 kB / 5.065 GB, free: 88.41 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-05/8.585, allocations: 51.23 kB / 5.065 GB, free: 88.41 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001207/8.586, allocations: 1.082 MB / 5.066 GB, free: 88.27 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003212/8.59, allocations: 1.262 MB / 5.068 GB, free: 88.23 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.003808/8.593, allocations: 3.909 MB / 5.072 GB, free: 86.76 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002819/8.596, allocations: 2.017 MB / 5.073 GB, free: 86.71 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/8.596, allocations: 3.469 kB / 5.073 GB, free: 86.71 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007287/8.597, allocations: 0.5422 MB / 5.074 GB, free: 86.71 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004125/8.601, allocations: 1.067 MB / 5.075 GB, free: 86.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007466/8.609, allocations: 4.003 MB / 5.079 GB, free: 85.69 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/8.61, allocations: 1.918 MB / 5.081 GB, free: 84.95 MB / 0.9323 GB Notification: Performance of SimCode: time 9.61e-07/8.61, allocations: 0 / 5.081 GB, free: 84.95 MB / 0.9323 GB Notification: Performance of Templates: time 0.08258/8.693, allocations: 66.7 MB / 5.146 GB, free: 82.88 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches