Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.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.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.6 MB / 307.5 MB, free: 5.238 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.00119/0.00119, allocations: 177 kB / 377.1 MB, free: 1.543 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.667/1.667, allocations: 205.4 MB / 0.6367 GB, free: 8.559 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.0009248/0.0009248, allocations: 91.19 kB / 0.751 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 12 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.33, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.818/7.148, allocations: 2.356 GB / 3.344 GB, free: 187.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/7.148, allocations: 91.61 kB / 3.344 GB, free: 187.5 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 - DAE generated: time 20.96/28.1, allocations: 5.416 GB / 8.76 GB, free: 53.14 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.864e-06/28.1, allocations: 0 / 8.76 GB, free: 53.14 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.002388/28.11, allocations: 212.1 kB / 8.76 GB, free: 53.09 MB / 1.042 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.05001/28.16, allocations: 11.26 MB / 8.771 GB, free: 49.29 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/28.16, allocations: 14.8 kB / 8.771 GB, free: 49.29 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/28.17, allocations: 1.865 MB / 8.773 GB, free: 48.78 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04772/28.22, allocations: 14.97 MB / 8.788 GB, free: 47.29 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007556/28.22, allocations: 479.9 kB / 8.788 GB, free: 47.27 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004674/28.23, allocations: 0.6347 MB / 8.789 GB, free: 47.26 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0379/28.26, allocations: 11.52 MB / 8.8 GB, free: 45.24 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004003/28.26, allocations: 15.53 kB / 8.8 GB, free: 45.23 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003464/28.27, allocations: 264.4 kB / 8.801 GB, free: 45.03 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003675/28.27, allocations: 286.8 kB / 8.801 GB, free: 45 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02919/28.3, allocations: 10.69 MB / 8.811 GB, free: 37.31 MB / 1.042 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.1119/28.41, allocations: 49.79 MB / 8.86 GB, free: 4.027 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01435/28.42, allocations: 7.477 MB / 8.867 GB, free: 12.43 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001557/28.42, allocations: 0.9276 MB / 8.868 GB, free: 11.32 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/28.42, allocations: 89.45 kB / 8.868 GB, free: 11.22 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01058/28.44, allocations: 1.371 MB / 8.869 GB, free: 9.848 MB / 1.073 GB Notification: Performance of pre-optimization done (n=369): time 3.665e-05/28.44, allocations: 0 / 8.869 GB, free: 9.848 MB / 1.073 GB Notification: Performance of matching and sorting (n=375): time 1.095/29.53, allocations: 19.38 MB / 8.888 GB, free: 93.25 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/29.53, allocations: 93.48 kB / 8.889 GB, free: 93.19 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02388/29.55, allocations: 8.063 MB / 8.896 GB, free: 92.84 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.002117/29.56, allocations: 108.5 kB / 8.896 GB, free: 92.81 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.006508/29.56, allocations: 3.621 MB / 8.9 GB, free: 92 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003909/29.57, allocations: 1.328 MB / 8.901 GB, free: 91.34 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005599/29.57, allocations: 73.66 kB / 8.901 GB, free: 91.34 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0005615/29.57, allocations: 497.4 kB / 8.902 GB, free: 91.04 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007146/29.58, allocations: 3.374 MB / 8.905 GB, free: 91.03 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008262/29.58, allocations: 4.615 MB / 8.91 GB, free: 89.96 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007956/29.59, allocations: 4.356 MB / 8.914 GB, free: 89.91 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-05/29.59, allocations: 6.719 kB / 8.914 GB, free: 89.91 MB / 1.073 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02041/29.61, allocations: 8.606 MB / 8.922 GB, free: 89.47 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002446/29.61, allocations: 8.946 MB / 8.931 GB, free: 80.15 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.432e-05/29.62, allocations: 17.38 kB / 8.931 GB, free: 80.15 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000889/29.62, allocations: 255.2 kB / 8.931 GB, free: 80.14 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006311/29.62, allocations: 1.101 MB / 8.932 GB, free: 80.14 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/29.63, allocations: 3.563 MB / 8.936 GB, free: 78.8 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01381/29.64, allocations: 1.165 MB / 8.937 GB, free: 78.77 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/29.64, allocations: 167.4 kB / 8.937 GB, free: 78.77 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/29.64, allocations: 6 kB / 8.937 GB, free: 78.77 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02221/29.67, allocations: 8.038 MB / 8.945 GB, free: 78.67 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/29.67, allocations: 21.86 kB / 8.945 GB, free: 78.66 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/29.67, allocations: 257.4 kB / 8.945 GB, free: 78.66 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007503/29.67, allocations: 1.095 MB / 8.946 GB, free: 78.66 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005048/29.68, allocations: 3.562 MB / 8.95 GB, free: 77.31 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01344/29.69, allocations: 1.149 MB / 8.951 GB, free: 77.29 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001976/29.69, allocations: 163.6 kB / 8.951 GB, free: 77.29 MB / 1.073 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.01514/29.71, allocations: 5.258 MB / 8.956 GB, free: 77.09 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004216/29.71, allocations: 0.6116 MB / 8.957 GB, free: 76.78 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02799/29.74, allocations: 8.099 MB / 8.965 GB, free: 76.56 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001419/29.74, allocations: 36.81 kB / 8.965 GB, free: 76.56 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.664e-05/29.74, allocations: 3.641 kB / 8.965 GB, free: 76.56 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01847/29.76, allocations: 6.847 MB / 8.971 GB, free: 76.02 MB / 1.073 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.08754/29.85, allocations: 20.65 MB / 8.992 GB, free: 74.39 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/29.85, allocations: 11.16 kB / 8.992 GB, free: 74.39 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005128/29.85, allocations: 1.077 MB / 8.993 GB, free: 74.39 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007222/29.85, allocations: 234 kB / 8.993 GB, free: 74.38 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006474/29.86, allocations: 126.7 kB / 8.993 GB, free: 74.38 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003591/29.86, allocations: 3.538 MB / 8.997 GB, free: 73.03 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/29.86, allocations: 8.031 kB / 8.997 GB, free: 73.03 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02234/29.88, allocations: 12.98 MB / 9.009 GB, free: 71.51 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01239/29.89, allocations: 2.124 MB / 9.011 GB, free: 71.09 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004751/29.9, allocations: 120.5 kB / 9.011 GB, free: 71.09 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01047/29.91, allocations: 0.9386 MB / 9.012 GB, free: 71.07 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001561/29.91, allocations: 244.9 kB / 9.013 GB, free: 71.06 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00131/29.91, allocations: 134.9 kB / 9.013 GB, free: 71.06 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01615/29.93, allocations: 6.401 MB / 9.019 GB, free: 70.85 MB / 1.073 GB Notification: Performance of sort global known variables: time 7.51e-07/29.93, allocations: 0 / 9.019 GB, free: 70.85 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.03025/29.96, allocations: 4.686 MB / 9.024 GB, free: 70.85 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.009208/29.97, allocations: 4.36 MB / 9.028 GB, free: 68.97 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.02459/29.99, allocations: 11.85 MB / 9.039 GB, free: 68.65 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.139e-05/29.99, allocations: 5.234 kB / 9.039 GB, free: 68.65 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.007847/30, allocations: 3.691 MB / 9.043 GB, free: 68.51 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02626/30.03, allocations: 4.874 MB / 9.048 GB, free: 68.42 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06253/30.09, allocations: 25.51 MB / 9.073 GB, free: 61.41 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02039/30.11, allocations: 7.105 MB / 9.08 GB, free: 60.5 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.02536/30.13, allocations: 6.675 MB / 9.086 GB, free: 60.43 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004849/30.14, allocations: 487.3 kB / 9.087 GB, free: 60.43 MB / 1.073 GB Notification: Performance of SimCode: time 1.693e-06/30.14, allocations: 2.219 kB / 9.087 GB, free: 60.43 MB / 1.073 GB Notification: Performance of Templates: time 1.27/31.41, allocations: 214.3 MB / 9.296 GB, free: 143.4 MB / 1.12 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)