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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 293 MB / 309 MB, free: 4.848 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.001172/0.001172, allocations: 180.2 kB / 378.7 MB, free: 1.016 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.873/1.873, allocations: 205.4 MB / 0.6383 GB, free: 9.145 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.0008111/0.0008111, allocations: 88.09 kB / 0.7527 GB, free: 62.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004368, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3039, allocations: 116.4 MB / 0.9904 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.732/6.036, allocations: 2.356 GB / 3.346 GB, free: 224 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/6.037, allocations: 89.06 kB / 3.347 GB, free: 223.9 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.67/26.71, allocations: 5.362 GB / 8.708 GB, free: 62.45 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.326e-06/26.71, allocations: 0 / 8.708 GB, free: 62.45 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.00258/26.71, allocations: 207.9 kB / 8.708 GB, free: 62.42 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.04688/26.76, allocations: 11.18 MB / 8.719 GB, free: 58.91 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/26.76, allocations: 15.12 kB / 8.719 GB, free: 58.91 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/26.78, allocations: 1.85 MB / 8.721 GB, free: 58.42 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04406/26.82, allocations: 14.93 MB / 8.736 GB, free: 57 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008257/26.82, allocations: 478.1 kB / 8.736 GB, free: 56.99 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0048/26.83, allocations: 0.6423 MB / 8.737 GB, free: 56.98 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04056/26.87, allocations: 11.58 MB / 8.748 GB, free: 56.38 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006645/26.87, allocations: 23.31 kB / 8.748 GB, free: 56.37 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004104/26.87, allocations: 260.5 kB / 8.748 GB, free: 56.37 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004301/26.87, allocations: 293.4 kB / 8.749 GB, free: 56.36 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02888/26.9, allocations: 10.69 MB / 8.759 GB, free: 56.29 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.1083/27.01, allocations: 49.65 MB / 8.808 GB, free: 39.27 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01429/27.02, allocations: 7.473 MB / 8.815 GB, free: 38.41 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01072/27.03, allocations: 4.67 MB / 8.819 GB, free: 38.37 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/27.04, allocations: 0.9341 MB / 8.82 GB, free: 37.43 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/27.04, allocations: 83.44 kB / 8.82 GB, free: 37.38 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01088/27.05, allocations: 1.366 MB / 8.822 GB, free: 37.25 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 3.203e-05/27.05, allocations: 0 / 8.822 GB, free: 37.25 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.0591/27.11, allocations: 19.65 MB / 8.841 GB, free: 32.7 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.68e-05/27.11, allocations: 92.08 kB / 8.841 GB, free: 32.63 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02519/27.13, allocations: 8.539 MB / 8.849 GB, free: 30.25 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.002343/27.13, allocations: 108.5 kB / 8.85 GB, free: 30.17 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.007352/27.14, allocations: 3.619 MB / 8.853 GB, free: 27.46 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.003969/27.15, allocations: 1.322 MB / 8.854 GB, free: 26.44 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/27.15, allocations: 82.41 kB / 8.854 GB, free: 26.38 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0006519/27.15, allocations: 495.3 kB / 8.855 GB, free: 26.01 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006224/27.15, allocations: 3.404 MB / 8.858 GB, free: 25.04 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007421/27.16, allocations: 4.647 MB / 8.863 GB, free: 22.63 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01346/27.18, allocations: 8.184 MB / 8.871 GB, free: 15.45 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.792e-05/27.18, allocations: 8 kB / 8.871 GB, free: 15.44 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02301/27.2, allocations: 8.622 MB / 8.879 GB, free: 8.145 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004613/27.2, allocations: 0.6495 MB / 8.88 GB, free: 7.285 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.042e-05/27.2, allocations: 16 kB / 8.88 GB, free: 7.27 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007304/27.2, allocations: 220 kB / 8.88 GB, free: 7.094 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005199/27.2, allocations: 1.112 MB / 8.881 GB, free: 6.223 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/27.21, allocations: 2.863 MB / 8.884 GB, free: 3.535 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01109/27.22, allocations: 1.157 MB / 8.885 GB, free: 2.828 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001535/27.22, allocations: 171.6 kB / 8.885 GB, free: 2.68 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/27.22, allocations: 4 kB / 8.885 GB, free: 2.676 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01941/27.24, allocations: 8.176 MB / 8.893 GB, free: 12.18 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.666e-05/27.24, allocations: 20 kB / 8.893 GB, free: 12.16 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007383/27.24, allocations: 224.9 kB / 8.893 GB, free: 11.98 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00562/27.25, allocations: 1.112 MB / 8.895 GB, free: 11.11 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/27.25, allocations: 2.861 MB / 8.897 GB, free: 8.43 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/27.26, allocations: 1.148 MB / 8.898 GB, free: 7.734 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00168/27.26, allocations: 165.5 kB / 8.899 GB, free: 7.586 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 (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.01336/27.28, allocations: 5.254 MB / 8.904 GB, free: 3.344 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003705/27.28, allocations: 0.6137 MB / 8.904 GB, free: 2.723 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02639/27.31, allocations: 8.509 MB / 8.913 GB, free: 12.97 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.682e-05/27.31, allocations: 36 kB / 8.913 GB, free: 12.93 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.907e-05/27.31, allocations: 4 kB / 8.913 GB, free: 12.93 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01321/27.32, allocations: 6.858 MB / 8.919 GB, free: 6.98 MB / 1.089 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.9252/28.25, allocations: 21.04 MB / 8.94 GB, free: 96.88 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/28.25, allocations: 3.812 kB / 8.94 GB, free: 96.88 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005699/28.25, allocations: 1.087 MB / 8.941 GB, free: 96.88 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007714/28.25, allocations: 207 kB / 8.941 GB, free: 96.88 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008227/28.25, allocations: 127.8 kB / 8.941 GB, free: 96.88 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003214/28.26, allocations: 2.825 MB / 8.944 GB, free: 95.64 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/28.26, allocations: 5.406 kB / 8.944 GB, free: 95.64 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02281/28.28, allocations: 12.45 MB / 8.956 GB, free: 95.14 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008186/28.29, allocations: 2.085 MB / 8.958 GB, free: 95.05 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003549/28.29, allocations: 117.1 kB / 8.958 GB, free: 95.05 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01008/28.3, allocations: 0.9365 MB / 8.959 GB, free: 95.05 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001644/28.3, allocations: 235.8 kB / 8.96 GB, free: 95.04 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001367/28.3, allocations: 140.2 kB / 8.96 GB, free: 95.04 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.01634/28.32, allocations: 6.177 MB / 8.966 GB, free: 94.83 MB / 1.089 GB Notification: Performance of sort global known variables: time 7.51e-07/28.32, allocations: 0 / 8.966 GB, free: 94.83 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02633/28.35, allocations: 4.576 MB / 8.97 GB, free: 94.83 MB / 1.089 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.008625/28.36, allocations: 4.382 MB / 8.974 GB, free: 92.97 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.02356/28.38, allocations: 11.83 MB / 8.986 GB, free: 92.66 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/28.38, allocations: 3.031 kB / 8.986 GB, free: 92.66 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.007188/28.39, allocations: 3.669 MB / 8.99 GB, free: 92.53 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04038/28.43, allocations: 4.879 MB / 8.994 GB, free: 92.43 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06474/28.49, allocations: 25.56 MB / 9.019 GB, free: 85.46 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02232/28.51, allocations: 6.952 MB / 9.026 GB, free: 84.55 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.02853/28.54, allocations: 6.715 MB / 9.033 GB, free: 84.48 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004725/28.55, allocations: 498.2 kB / 9.033 GB, free: 84.48 MB / 1.089 GB Notification: Performance of SimCode: time 1.533e-06/28.55, allocations: 2.875 kB / 9.033 GB, free: 84.48 MB / 1.089 GB Notification: Performance of Templates: time 0.324/28.87, allocations: 215.5 MB / 9.244 GB, free: 35.38 MB / 1.089 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)