Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 288.4 MB / 304.3 MB, free: 8.086 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.001034/0.001034, allocations: 190.8 kB / 373 MB, free: 10.15 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.515/1.515, allocations: 205.4 MB / 0.6317 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008246/0.0008248, allocations: 94.36 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004661, allocations: 13.78 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2188, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.051/5.27, allocations: 2.355 GB / 3.336 GB, free: 332.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/5.27, allocations: 94.59 kB / 3.336 GB, free: 332.8 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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 - DAE generated: time 18.02/23.29, allocations: 5.362 GB / 8.697 GB, free: 89.68 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.893e-06/23.29, allocations: 0 / 8.697 GB, free: 89.68 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.002208/23.29, allocations: 210.6 kB / 8.698 GB, free: 89.65 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1600 * Number of variables: 1600 Notification: Performance of Generate backend data structure: time 0.04159/23.33, allocations: 11.19 MB / 8.709 GB, free: 86.58 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/23.33, allocations: 7.844 kB / 8.709 GB, free: 86.58 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/23.34, allocations: 1.847 MB / 8.71 GB, free: 86.09 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03439/23.38, allocations: 14.94 MB / 8.725 GB, free: 84.68 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006427/23.38, allocations: 479.4 kB / 8.725 GB, free: 84.66 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003566/23.38, allocations: 0.639 MB / 8.726 GB, free: 84.66 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02835/23.41, allocations: 11.58 MB / 8.737 GB, free: 84.05 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000217/23.41, allocations: 13.72 kB / 8.737 GB, free: 84.05 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001428/23.41, allocations: 261.8 kB / 8.738 GB, free: 84.05 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002562/23.41, allocations: 296.5 kB / 8.738 GB, free: 84.03 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/23.44, allocations: 10.69 MB / 8.748 GB, free: 83.97 MB / 1.057 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09214/23.53, allocations: 49.66 MB / 8.797 GB, free: 66.94 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/23.54, allocations: 7.459 MB / 8.804 GB, free: 66.09 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00754/23.55, allocations: 4.68 MB / 8.809 GB, free: 66.05 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/23.55, allocations: 0.9339 MB / 8.81 GB, free: 65.11 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/23.55, allocations: 80.78 kB / 8.81 GB, free: 65.06 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008637/23.56, allocations: 1.367 MB / 8.811 GB, free: 64.93 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 4.347e-05/23.56, allocations: 0 / 8.811 GB, free: 64.93 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.05299/23.61, allocations: 19.64 MB / 8.83 GB, free: 62.83 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/23.61, allocations: 91.23 kB / 8.83 GB, free: 62.76 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02106/23.63, allocations: 8.539 MB / 8.839 GB, free: 62.37 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.00165/23.63, allocations: 109.5 kB / 8.839 GB, free: 62.34 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.005349/23.64, allocations: 3.627 MB / 8.842 GB, free: 61.18 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.00291/23.64, allocations: 1.325 MB / 8.844 GB, free: 60.33 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/23.64, allocations: 76.12 kB / 8.844 GB, free: 60.33 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000553/23.64, allocations: 496.4 kB / 8.844 GB, free: 60.02 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00596/23.65, allocations: 3.397 MB / 8.847 GB, free: 60.01 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007297/23.66, allocations: 4.661 MB / 8.852 GB, free: 58.93 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/23.67, allocations: 8.177 MB / 8.86 GB, free: 58.21 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.573e-05/23.67, allocations: 3.125 kB / 8.86 GB, free: 58.21 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01985/23.69, allocations: 8.625 MB / 8.868 GB, free: 57.77 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004628/23.69, allocations: 0.6412 MB / 8.869 GB, free: 57.01 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-05/23.69, allocations: 21.19 kB / 8.869 GB, free: 57.01 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007376/23.69, allocations: 232.4 kB / 8.869 GB, free: 57 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005322/23.7, allocations: 1.111 MB / 8.87 GB, free: 57 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/23.7, allocations: 2.865 MB / 8.873 GB, free: 55.73 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01108/23.71, allocations: 1.156 MB / 8.874 GB, free: 55.68 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/23.71, allocations: 164.2 kB / 8.874 GB, free: 55.68 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/23.71, allocations: 3.656 kB / 8.874 GB, free: 55.68 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01907/23.73, allocations: 8.056 MB / 8.882 GB, free: 55.58 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.453e-05/23.73, allocations: 21.84 kB / 8.882 GB, free: 55.58 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006575/23.73, allocations: 223.8 kB / 8.883 GB, free: 55.57 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005211/23.74, allocations: 1.112 MB / 8.884 GB, free: 55.57 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/23.74, allocations: 2.857 MB / 8.886 GB, free: 54.3 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/23.75, allocations: 1.142 MB / 8.888 GB, free: 54.25 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/23.75, allocations: 166.2 kB / 8.888 GB, free: 54.25 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (482): * Single equations (assignments): 481 * Array equations: 0 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01116/23.76, allocations: 5.262 MB / 8.893 GB, free: 54.05 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003115/23.77, allocations: 0.6133 MB / 8.893 GB, free: 53.73 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01811/23.79, allocations: 8.126 MB / 8.901 GB, free: 53.52 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.877e-05/23.79, allocations: 36.16 kB / 8.901 GB, free: 53.52 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.724e-05/23.79, allocations: 7.031 kB / 8.901 GB, free: 53.52 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01128/23.8, allocations: 6.859 MB / 8.908 GB, free: 52.97 MB / 1.057 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05087/23.85, allocations: 20.66 MB / 8.928 GB, free: 45.25 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.929e-05/23.85, allocations: 7.281 kB / 8.928 GB, free: 45.25 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005247/23.85, allocations: 1.084 MB / 8.929 GB, free: 45.23 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006682/23.85, allocations: 208.5 kB / 8.93 GB, free: 45.18 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000965/23.85, allocations: 131.7 kB / 8.93 GB, free: 45.12 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/23.86, allocations: 2.826 MB / 8.932 GB, free: 43.24 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/23.86, allocations: 8.625 kB / 8.932 GB, free: 43.24 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/23.88, allocations: 12.45 MB / 8.945 GB, free: 36.34 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007474/23.89, allocations: 2.088 MB / 8.947 GB, free: 34.4 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003179/23.89, allocations: 112.1 kB / 8.947 GB, free: 34.3 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009281/23.9, allocations: 0.9397 MB / 8.948 GB, free: 33.73 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/23.9, allocations: 235.1 kB / 8.948 GB, free: 33.58 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001048/23.9, allocations: 138.4 kB / 8.948 GB, free: 33.46 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01422/23.91, allocations: 6.183 MB / 8.954 GB, free: 28.44 MB / 1.057 GB Notification: Performance of sort global known variables: time 8.01e-07/23.91, allocations: 0 / 8.954 GB, free: 28.44 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.02799/23.94, allocations: 4.576 MB / 8.959 GB, free: 23.89 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 25 (hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (378): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00839/23.95, allocations: 4.376 MB / 8.963 GB, free: 20.54 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02163/23.97, allocations: 11.83 MB / 8.974 GB, free: 10.72 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/23.97, allocations: 4 kB / 8.974 GB, free: 10.71 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.006298/23.98, allocations: 3.671 MB / 8.978 GB, free: 7.66 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03471/24.01, allocations: 4.879 MB / 8.983 GB, free: 4.441 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0601/24.07, allocations: 25.69 MB / 9.008 GB, free: 14.67 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01768/24.09, allocations: 6.952 MB / 9.015 GB, free: 9.027 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0229/24.11, allocations: 6.711 MB / 9.021 GB, free: 4.645 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004375/24.12, allocations: 497.5 kB / 9.022 GB, free: 4.195 MB / 1.089 GB Notification: Performance of SimCode: time 1.072e-06/24.12, allocations: 4 kB / 9.022 GB, free: 4.191 MB / 1.089 GB Notification: Performance of Templates: time 1.124/25.24, allocations: 215.6 MB / 9.232 GB, free: 110 MB / 1.104 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)