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.666/1.666, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001185/0.001185, allocations: 176.9 kB / 361.4 MB, free: 6.82 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.69/1.69, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008161/0.0008164, allocations: 86.27 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.83e-05, allocations: 4 kB / 0.8517 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7143/0.7143, allocations: 115.3 MB / 0.9644 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.441/6.155, allocations: 2.354 GB / 3.319 GB, free: 174.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/6.155, allocations: 97.22 kB / 3.319 GB, free: 174.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 21.2/27.35, allocations: 5.363 GB / 8.682 GB, free: 57.5 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.214e-06/27.35, allocations: 0 / 8.682 GB, free: 57.5 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.002883/27.36, allocations: 202.7 kB / 8.682 GB, free: 57.47 MB / 1.026 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.04009/27.4, allocations: 8.862 MB / 8.691 GB, free: 54.39 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/27.4, allocations: 6.875 kB / 8.691 GB, free: 54.39 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/27.41, allocations: 1.852 MB / 8.693 GB, free: 53.89 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04256/27.46, allocations: 14.88 MB / 8.707 GB, free: 52.54 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000606/27.46, allocations: 204.9 kB / 8.707 GB, free: 52.54 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005159/27.46, allocations: 382.7 kB / 8.708 GB, free: 52.54 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03214/27.49, allocations: 9.86 MB / 8.717 GB, free: 50.88 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03679/27.53, allocations: 10.44 MB / 8.728 GB, free: 43.84 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005314/27.53, allocations: 19.84 kB / 8.728 GB, free: 43.82 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003287/27.53, allocations: 8 kB / 8.728 GB, free: 43.81 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003431/27.53, allocations: 298.1 kB / 8.728 GB, free: 43.54 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or 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.09101/27.63, allocations: 48.52 MB / 8.775 GB, free: 12.48 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/27.64, allocations: 8.014 MB / 8.783 GB, free: 4.234 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007177/27.64, allocations: 4.415 MB / 8.787 GB, free: 15.82 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/27.65, allocations: 0.9317 MB / 8.788 GB, free: 14.71 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/27.65, allocations: 85.47 kB / 8.788 GB, free: 14.62 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009009/27.66, allocations: 1.293 MB / 8.79 GB, free: 13.33 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 3.302e-05/27.66, allocations: 0 / 8.79 GB, free: 13.33 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.9706/28.63, allocations: 15.11 MB / 8.804 GB, free: 96.53 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/28.63, allocations: 89.95 kB / 8.804 GB, free: 96.46 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01776/28.64, allocations: 7.619 MB / 8.812 GB, free: 96.13 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.002117/28.65, allocations: 32.84 kB / 8.812 GB, free: 96.1 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.006361/28.65, allocations: 3.598 MB / 8.815 GB, free: 95.97 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.004294/28.66, allocations: 1.279 MB / 8.817 GB, free: 95.59 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004497/28.66, allocations: 0 / 8.817 GB, free: 95.59 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0004811/28.66, allocations: 492.5 kB / 8.817 GB, free: 95.28 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005234/28.66, allocations: 3.166 MB / 8.82 GB, free: 95.27 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00527/28.67, allocations: 4.379 MB / 8.825 GB, free: 94.19 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005923/28.67, allocations: 4.185 MB / 8.829 GB, free: 94.14 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/28.67, allocations: 6.219 kB / 8.829 GB, free: 94.14 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01493/28.69, allocations: 8.019 MB / 8.836 GB, free: 93.71 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002361/28.69, allocations: 9.116 MB / 8.845 GB, free: 84.48 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.205e-05/28.69, allocations: 18.53 kB / 8.845 GB, free: 84.48 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007058/28.69, allocations: 220.6 kB / 8.846 GB, free: 84.47 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00538/28.7, allocations: 1.118 MB / 8.847 GB, free: 84.47 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/28.7, allocations: 2.765 MB / 8.849 GB, free: 83.26 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/28.71, allocations: 1.083 MB / 8.85 GB, free: 83.23 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/28.71, allocations: 168.2 kB / 8.851 GB, free: 83.23 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/28.71, allocations: 3.531 kB / 8.851 GB, free: 83.23 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01286/28.73, allocations: 7.377 MB / 8.858 GB, free: 83.13 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-05/28.73, allocations: 20.48 kB / 8.858 GB, free: 83.13 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006987/28.73, allocations: 223 kB / 8.858 GB, free: 83.12 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005131/28.73, allocations: 1.118 MB / 8.859 GB, free: 83.12 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/28.74, allocations: 2.771 MB / 8.862 GB, free: 81.92 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/28.75, allocations: 1.068 MB / 8.863 GB, free: 81.89 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/28.75, allocations: 169.1 kB / 8.863 GB, free: 81.89 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.003232/28.75, allocations: 192.1 kB / 8.863 GB, free: 81.79 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003723/28.76, allocations: 0.5987 MB / 8.864 GB, free: 81.48 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02152/28.78, allocations: 7.513 MB / 8.871 GB, free: 81.26 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.717e-05/28.78, allocations: 37.34 kB / 8.871 GB, free: 81.26 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.285e-05/28.78, allocations: 7.203 kB / 8.871 GB, free: 81.26 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01407/28.79, allocations: 6.366 MB / 8.877 GB, free: 80.72 MB / 1.057 GB Warning: The model contains alias variables with conflicting start and/or 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.05544/28.85, allocations: 19.25 MB / 8.896 GB, free: 79.12 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/28.85, allocations: 5.703 kB / 8.896 GB, free: 79.12 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006309/28.85, allocations: 1.087 MB / 8.897 GB, free: 79.12 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009936/28.86, allocations: 198.6 kB / 8.897 GB, free: 79.11 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001477/28.86, allocations: 79.86 kB / 8.898 GB, free: 79.11 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004499/28.86, allocations: 2.739 MB / 8.9 GB, free: 77.91 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.635e-05/28.86, allocations: 11.12 kB / 8.9 GB, free: 77.91 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02824/28.89, allocations: 12.26 MB / 8.912 GB, free: 76.39 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008563/28.9, allocations: 2.095 MB / 8.914 GB, free: 75.98 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003935/28.9, allocations: 56.67 kB / 8.914 GB, free: 75.98 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01055/28.91, allocations: 0.881 MB / 8.915 GB, free: 75.96 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001501/28.91, allocations: 234.6 kB / 8.915 GB, free: 75.95 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001246/28.92, allocations: 142 kB / 8.916 GB, free: 75.95 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01812/28.93, allocations: 5.987 MB / 8.921 GB, free: 75.73 MB / 1.057 GB Notification: Performance of sort global known variables: time 8.11e-07/28.93, allocations: 0 / 8.921 GB, free: 75.73 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.02869/28.96, allocations: 4.325 MB / 8.926 GB, free: 75.73 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 () * 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.009444/28.97, allocations: 4.646 MB / 8.93 GB, free: 73.89 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02079/28.99, allocations: 11.23 MB / 8.941 GB, free: 73.59 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.912e-05/28.99, allocations: 7.562 kB / 8.941 GB, free: 73.59 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.005899/29, allocations: 3.42 MB / 8.944 GB, free: 73.47 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02718/29.03, allocations: 4.737 MB / 8.949 GB, free: 73.38 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06536/29.09, allocations: 20.78 MB / 8.969 GB, free: 70.61 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01796/29.11, allocations: 7.112 MB / 8.976 GB, free: 69.7 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0346/29.14, allocations: 11.83 MB / 8.988 GB, free: 69.61 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00405/29.15, allocations: 388.7 kB / 8.988 GB, free: 69.6 MB / 1.057 GB Notification: Performance of SimCode: time 2.225e-06/29.15, allocations: 2.031 kB / 8.988 GB, free: 69.6 MB / 1.057 GB Notification: Performance of Templates: time 0.2898/29.44, allocations: 179.4 MB / 9.163 GB, free: 10.25 MB / 1.073 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)