Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization") [: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 8.1.4-maint.8.1.x/package.mo): time 1.592/1.592, allocations: 289.8 MB / 297.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 177.3 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.1 MB / 0.6256 GB, free: 7.426 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009269/0.0009272, allocations: 88.98 kB / 0.7396 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.689e-06/1.023e-05, allocations: 0 / 0.859 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7952/0.7953, allocations: 116.3 MB / 0.9726 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.591/6.387, allocations: 2.364 GB / 3.337 GB, free: 80.58 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/6.387, allocations: 91.14 kB / 3.337 GB, free: 80.54 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd: time 80.14/86.53, allocations: 19.61 GB / 22.94 GB, free: 79.3 MB / 1.386 GB Notification: Performance of Transformations before backend: time 0.00779/86.54, allocations: 0.654 MB / 22.94 GB, free: 79.21 MB / 1.386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5513 * Number of variables: 5513 Notification: Performance of Generate backend data structure: time 0.1257/86.66, allocations: 27.25 MB / 22.97 GB, free: 70.21 MB / 1.386 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/86.66, allocations: 11.25 kB / 22.97 GB, free: 70.21 MB / 1.386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05226/86.72, allocations: 6.216 MB / 22.98 GB, free: 68.59 MB / 1.386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1642/86.88, allocations: 54.95 MB / 23.03 GB, free: 64.93 MB / 1.386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002121/86.88, allocations: 0.6687 MB / 23.03 GB, free: 64.93 MB / 1.386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01583/86.9, allocations: 1.281 MB / 23.03 GB, free: 64.92 MB / 1.386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.09707/87, allocations: 34.28 MB / 23.07 GB, free: 64.84 MB / 1.386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.15/87.15, allocations: 35.99 MB / 23.1 GB, free: 63.2 MB / 1.386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003284/87.15, allocations: 39.27 kB / 23.1 GB, free: 63.2 MB / 1.386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01484/87.16, allocations: 25.95 kB / 23.1 GB, free: 63.2 MB / 1.386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001472/87.17, allocations: 0.9784 MB / 23.1 GB, free: 63.15 MB / 1.386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3641/87.53, allocations: 163.9 MB / 23.26 GB, free: 22.18 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03239/87.56, allocations: 14.56 MB / 23.28 GB, free: 20.44 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03391/87.6, allocations: 14.44 MB / 23.29 GB, free: 16.34 MB / 1.401 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005623/87.6, allocations: 2.863 MB / 23.29 GB, free: 13.3 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/87.6, allocations: 181 kB / 23.29 GB, free: 13.11 MB / 1.401 GB Notification: Performance of pre-optimization done (n=1205): time 1.399e-05/87.6, allocations: 0 / 23.29 GB, free: 13.11 MB / 1.401 GB Notification: Performance of matching and sorting (n=1271): time 0.235/87.84, allocations: 60.48 MB / 23.35 GB, free: 0.7031 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002656/87.84, allocations: 177.4 kB / 23.35 GB, free: 0.5156 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.446/89.28, allocations: 24.14 MB / 23.38 GB, free: 204.7 MB / 1.448 GB Notification: Performance of collectPreVariables (initialization): time 0.006257/89.29, allocations: 44.98 kB / 23.38 GB, free: 204.7 MB / 1.448 GB Notification: Performance of collectInitialEqns (initialization): time 0.01953/89.31, allocations: 8.066 MB / 23.38 GB, free: 204.4 MB / 1.448 GB Notification: Performance of collectInitialBindings (initialization): time 0.02214/89.33, allocations: 4.29 MB / 23.39 GB, free: 203.8 MB / 1.448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004395/89.34, allocations: 3.656 kB / 23.39 GB, free: 203.8 MB / 1.448 GB Notification: Performance of setup shared object (initialization): time 0.001957/89.34, allocations: 0.9224 MB / 23.39 GB, free: 203.4 MB / 1.448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02058/89.36, allocations: 10.99 MB / 23.4 GB, free: 203.4 MB / 1.448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03297/89.39, allocations: 15.09 MB / 23.41 GB, free: 199.5 MB / 1.448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03173/89.42, allocations: 14.6 MB / 23.43 GB, free: 199.4 MB / 1.448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002772/89.42, allocations: 21.12 kB / 23.43 GB, free: 199.4 MB / 1.448 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.106/89.53, allocations: 32.63 MB / 23.46 GB, free: 197.8 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 0.01309/89.54, allocations: 52.32 MB / 23.51 GB, free: 144.7 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000509/89.54, allocations: 74.12 kB / 23.51 GB, free: 144.7 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04171/89.59, allocations: 11.19 MB / 23.52 GB, free: 144.5 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01671/89.6, allocations: 2.575 MB / 23.53 GB, free: 144.5 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04638/89.65, allocations: 29.68 MB / 23.55 GB, free: 138.9 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03411/89.68, allocations: 2.397 MB / 23.56 GB, free: 138.9 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007994/89.69, allocations: 0.5483 MB / 23.56 GB, free: 138.9 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/89.69, allocations: 7.938 kB / 23.56 GB, free: 138.9 MB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08561/89.78, allocations: 30.62 MB / 23.59 GB, free: 138.3 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005417/89.78, allocations: 69.41 kB / 23.59 GB, free: 138.3 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04039/89.82, allocations: 11.19 MB / 23.6 GB, free: 138.2 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01481/89.83, allocations: 2.568 MB / 23.6 GB, free: 138.2 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03941/89.87, allocations: 29.09 MB / 23.63 GB, free: 133.2 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03442/89.91, allocations: 2.357 MB / 23.63 GB, free: 133.1 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007674/89.92, allocations: 0.5475 MB / 23.63 GB, free: 133.1 MB / 1.448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 2} * Non-linear torn systems: 2 {24 208,24 148} Notification: Performance of prepare postOptimizeDAE: time 0.009887/89.92, allocations: 384.6 kB / 23.63 GB, free: 133 MB / 1.448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0105/89.94, allocations: 1.939 MB / 23.63 GB, free: 132 MB / 1.448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08883/90.02, allocations: 28.45 MB / 23.66 GB, free: 131.3 MB / 1.448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003729/90.02, allocations: 129.1 kB / 23.66 GB, free: 131.3 MB / 1.448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001576/90.02, allocations: 6.656 kB / 23.66 GB, free: 131.3 MB / 1.448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07191/90.1, allocations: 23.33 MB / 23.68 GB, free: 130.7 MB / 1.448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2217/90.32, allocations: 66.28 MB / 23.75 GB, free: 127.7 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-05/90.32, allocations: 19.62 kB / 23.75 GB, free: 127.7 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01868/90.34, allocations: 2.866 MB / 23.75 GB, free: 127.7 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01507/90.35, allocations: 4.105 MB / 23.76 GB, free: 127.6 MB / 1.448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00524/90.36, allocations: 229.6 kB / 23.76 GB, free: 127.6 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02651/90.38, allocations: 17.32 MB / 23.77 GB, free: 122.1 MB / 1.448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.685e-05/90.38, allocations: 26.16 kB / 23.77 GB, free: 122.1 MB / 1.448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1157/90.5, allocations: 51.12 MB / 23.82 GB, free: 111.3 MB / 1.448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03308/90.53, allocations: 6.227 MB / 23.83 GB, free: 107.7 MB / 1.448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01243/90.55, allocations: 154.2 kB / 23.83 GB, free: 107.6 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03067/90.58, allocations: 2.153 MB / 23.83 GB, free: 106.3 MB / 1.448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005243/90.58, allocations: 0.6559 MB / 23.83 GB, free: 106 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003336/90.59, allocations: 461.8 kB / 23.83 GB, free: 105.7 MB / 1.448 GB Notification: Performance of sort global known variables: time 0.04781/90.63, allocations: 18.4 MB / 23.85 GB, free: 95.07 MB / 1.448 GB Notification: Performance of remove unused functions: time 0.09154/90.72, allocations: 12.61 MB / 23.86 GB, free: 83.29 MB / 1.448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 50 (hexFixIni.hexReg[1].ele[1,1].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,1].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,1].mas.T,hexFixIni.hexReg[1].ele[1,2].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,2].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,2].mas.T,hexFixIni.hexReg[1].ele[1,3].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,3].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,3].mas.T,hexFixIni.hexReg[2].ele[1,1].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,1].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,1].mas.T,hexFixIni.hexReg[2].ele[1,2].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,2].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,2].mas.T,hexFixIni.hexReg[2].ele[1,3].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.m,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,3].mas.T,hexSteStaIni.port_b1.h_outflow,hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,1].mas.T,hexSteStaIni.hexReg[1].ele[1,2].port_b1.h_outflow,hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,2].mas.T,hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,3].mas.T,hexSteStaIni.hexReg[1].port_a1[1].h_outflow,hexSteStaIni.hexReg[1].port_b1[1].h_outflow,hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,1].mas.T,hexSteStaIni.hexReg[2].ele[1,2].port_b1.h_outflow,hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,2].mas.T,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.m,hexSteStaIni.hexReg[2].ele[1,3].mas.T,hexSteStaIni.hexReg[2].port_b1[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1104): * Single equations (assignments): 1086 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 12,(1,100.0%) 12,(1,100.0%) 2} * Non-linear torn systems: 1 {24 148} Notification: Performance of Backend phase and start with SimCode phase: time 0.03516/90.76, allocations: 18.57 MB / 23.88 GB, free: 67.11 MB / 1.448 GB Notification: Performance of simCode: created initialization part: time 0.08192/90.84, allocations: 41.07 MB / 23.92 GB, free: 32.66 MB / 1.448 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-05/90.84, allocations: 9 kB / 23.92 GB, free: 32.65 MB / 1.448 GB Notification: Performance of simCode: created simulation system equations: time 0.02428/90.87, allocations: 12.69 MB / 23.93 GB, free: 21.84 MB / 1.448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07852/90.94, allocations: 13.6 MB / 23.95 GB, free: 12.68 MB / 1.448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.584/92.53, allocations: 68.85 MB / 24.01 GB, free: 173.9 MB / 1.448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.07785/92.61, allocations: 24.08 MB / 24.04 GB, free: 172.5 MB / 1.448 GB Notification: Performance of SimCode: time 1.322e-06/92.61, allocations: 9.312 kB / 24.04 GB, free: 172.5 MB / 1.448 GB Notification: Performance of Templates: time 2.647/95.25, allocations: 0.7143 GB / 24.75 GB, free: 165.6 MB / 1.448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe 2>&1)