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.891/1.891, allocations: 288.3 MB / 303.2 MB, free: 8.113 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.001003/0.001003, allocations: 181.1 kB / 371.8 MB, free: 10.27 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.438/1.438, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0008178/0.0008179, allocations: 87.48 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004075, allocations: 12.75 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.222, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.987/5.209, allocations: 2.355 GB / 3.334 GB, free: 333.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/5.209, allocations: 89.95 kB / 3.334 GB, free: 333.3 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.64/23.85, allocations: 5.416 GB / 8.75 GB, free: 80.46 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.455e-06/23.85, allocations: 0 / 8.75 GB, free: 80.46 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.002324/23.85, allocations: 209.8 kB / 8.751 GB, free: 80.43 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.04581/23.9, allocations: 11.26 MB / 8.762 GB, free: 77.18 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/23.9, allocations: 10.06 kB / 8.762 GB, free: 77.18 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/23.91, allocations: 1.862 MB / 8.763 GB, free: 76.68 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03776/23.95, allocations: 14.97 MB / 8.778 GB, free: 75.53 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006695/23.95, allocations: 486.7 kB / 8.778 GB, free: 75.51 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004011/23.95, allocations: 0.6305 MB / 8.779 GB, free: 75.51 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0331/23.99, allocations: 11.52 MB / 8.79 GB, free: 74.91 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005003/23.99, allocations: 18.91 kB / 8.79 GB, free: 74.9 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003273/23.99, allocations: 266.2 kB / 8.791 GB, free: 74.9 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003631/23.99, allocations: 296.6 kB / 8.791 GB, free: 74.88 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02698/24.02, allocations: 10.69 MB / 8.801 GB, free: 74.82 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.1018/24.12, allocations: 49.79 MB / 8.85 GB, free: 57.79 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/24.13, allocations: 7.479 MB / 8.857 GB, free: 56.94 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/24.13, allocations: 0.9306 MB / 8.858 GB, free: 56 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/24.13, allocations: 84.94 kB / 8.858 GB, free: 55.96 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01002/24.14, allocations: 1.371 MB / 8.86 GB, free: 55.82 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 4.162e-05/24.14, allocations: 2.078 kB / 8.86 GB, free: 55.82 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.05949/24.2, allocations: 19.39 MB / 8.879 GB, free: 53.8 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.266e-05/24.2, allocations: 95.56 kB / 8.879 GB, free: 53.73 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02228/24.22, allocations: 8.058 MB / 8.886 GB, free: 53.38 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.00186/24.23, allocations: 104.9 kB / 8.887 GB, free: 53.35 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.006001/24.23, allocations: 3.626 MB / 8.89 GB, free: 52.19 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.003414/24.24, allocations: 1.327 MB / 8.891 GB, free: 51.34 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/24.24, allocations: 75.91 kB / 8.891 GB, free: 51.34 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0007676/24.24, allocations: 493.4 kB / 8.892 GB, free: 51.04 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006634/24.24, allocations: 3.374 MB / 8.895 GB, free: 51.03 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007562/24.25, allocations: 4.623 MB / 8.9 GB, free: 49.95 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008072/24.26, allocations: 4.347 MB / 8.904 GB, free: 49.9 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.48e-05/24.26, allocations: 9.891 kB / 8.904 GB, free: 49.9 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02072/24.28, allocations: 8.607 MB / 8.912 GB, free: 49.46 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002519/24.28, allocations: 8.946 MB / 8.921 GB, free: 40.13 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.808e-05/24.28, allocations: 22.84 kB / 8.921 GB, free: 40.13 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009509/24.28, allocations: 265.1 kB / 8.921 GB, free: 40.12 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006841/24.29, allocations: 1.095 MB / 8.923 GB, free: 40.12 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004879/24.3, allocations: 3.547 MB / 8.926 GB, free: 38.77 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/24.31, allocations: 1.166 MB / 8.927 GB, free: 38.71 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001655/24.31, allocations: 168.4 kB / 8.927 GB, free: 38.71 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/24.31, allocations: 10.45 kB / 8.927 GB, free: 38.71 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01805/24.33, allocations: 8.037 MB / 8.935 GB, free: 38.61 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.476e-05/24.33, allocations: 18.44 kB / 8.935 GB, free: 38.61 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007232/24.33, allocations: 265.2 kB / 8.935 GB, free: 38.59 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005552/24.33, allocations: 1.094 MB / 8.936 GB, free: 38.59 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/24.34, allocations: 3.564 MB / 8.94 GB, free: 36.54 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/24.35, allocations: 1.157 MB / 8.941 GB, free: 36.42 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002128/24.35, allocations: 160.2 kB / 8.941 GB, free: 36.39 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 (478): * Single equations (assignments): 477 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01521/24.37, allocations: 5.261 MB / 8.946 GB, free: 34.75 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004009/24.37, allocations: 0.6158 MB / 8.947 GB, free: 34.43 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02007/24.39, allocations: 8.104 MB / 8.955 GB, free: 31.77 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.249e-05/24.39, allocations: 39.33 kB / 8.955 GB, free: 31.77 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/24.39, allocations: 3.625 kB / 8.955 GB, free: 31.77 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01236/24.41, allocations: 6.845 MB / 8.962 GB, free: 29.37 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.05366/24.46, allocations: 20.65 MB / 8.982 GB, free: 12.34 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.461e-05/24.46, allocations: 4 kB / 8.982 GB, free: 12.33 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005803/24.46, allocations: 1.076 MB / 8.983 GB, free: 11.54 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006889/24.47, allocations: 241.1 kB / 8.983 GB, free: 11.35 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000978/24.47, allocations: 129.3 kB / 8.983 GB, free: 11.24 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003598/24.47, allocations: 3.526 MB / 8.987 GB, free: 8.008 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.902e-06/24.47, allocations: 10.62 kB / 8.987 GB, free: 8.004 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03726/24.51, allocations: 14.28 MB / 9.001 GB, free: 15.87 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009841/24.52, allocations: 2.109 MB / 9.003 GB, free: 13.91 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003725/24.52, allocations: 119.9 kB / 9.003 GB, free: 13.81 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009894/24.53, allocations: 0.9461 MB / 9.004 GB, free: 13.23 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001334/24.53, allocations: 236.9 kB / 9.004 GB, free: 13.09 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001163/24.53, allocations: 134 kB / 9.004 GB, free: 12.97 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01592/24.55, allocations: 6.4 MB / 9.01 GB, free: 7.762 MB / 1.073 GB Notification: Performance of sort global known variables: time 7.92e-07/24.55, allocations: 5.469 kB / 9.01 GB, free: 7.762 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02888/24.58, allocations: 4.691 MB / 9.015 GB, free: 3.098 MB / 1.073 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 (374): * Single equations (assignments): 369 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00953/24.59, allocations: 4.367 MB / 9.019 GB, free: 15.77 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.02522/24.61, allocations: 11.85 MB / 9.031 GB, free: 5.926 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.898e-05/24.61, allocations: 4 kB / 9.031 GB, free: 5.922 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.007698/24.62, allocations: 3.685 MB / 9.034 GB, free: 2.855 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.7272/25.35, allocations: 4.992 MB / 9.039 GB, free: 109.2 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06185/25.41, allocations: 25.5 MB / 9.064 GB, free: 102.3 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01437/25.42, allocations: 7.108 MB / 9.071 GB, free: 101.4 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.02566/25.45, allocations: 6.669 MB / 9.078 GB, free: 101.3 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00475/25.46, allocations: 495.1 kB / 9.078 GB, free: 101.3 MB / 1.089 GB Notification: Performance of SimCode: time 1.473e-06/25.46, allocations: 0 / 9.078 GB, free: 101.3 MB / 1.089 GB Notification: Performance of Templates: time 0.3264/25.78, allocations: 214.3 MB / 9.287 GB, free: 83.19 MB / 1.089 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)