Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.659/1.659, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001133, allocations: 178.7 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 0.6626 GB, free: 4.188 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008969/0.000897, allocations: 96.09 kB / 0.7808 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004394, allocations: 12 kB / 0.9088 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7974/0.7978, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.215/5.013, allocations: 2.187 GB / 3.214 GB, free: 42.3 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/5.013, allocations: 91.95 kB / 3.214 GB, free: 42.21 MB / 0.9792 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.89/23.9, allocations: 5.416 GB / 8.63 GB, free: 63.29 MB / 1.073 GB Notification: Performance of FrontEnd: time 4.379e-06/23.9, allocations: 0 / 8.63 GB, free: 63.29 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.002515/23.91, allocations: 211.9 kB / 8.63 GB, free: 63.25 MB / 1.073 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.047/23.95, allocations: 11.18 MB / 8.641 GB, free: 59.54 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/23.95, allocations: 10.28 kB / 8.641 GB, free: 59.54 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/23.97, allocations: 1.853 MB / 8.643 GB, free: 59.03 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03941/24.01, allocations: 14.94 MB / 8.658 GB, free: 57.23 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007542/24.01, allocations: 478.9 kB / 8.658 GB, free: 57.21 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00432/24.01, allocations: 0.643 MB / 8.659 GB, free: 57.2 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03651/24.05, allocations: 11.58 MB / 8.67 GB, free: 56.55 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005576/24.05, allocations: 23.09 kB / 8.67 GB, free: 56.54 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003804/24.05, allocations: 260.5 kB / 8.67 GB, free: 56.54 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000436/24.05, allocations: 292.2 kB / 8.67 GB, free: 56.52 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02945/24.08, allocations: 10.68 MB / 8.681 GB, free: 55.75 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 preOpt removeSimpleEquations (simulation): time 0.08914/24.17, allocations: 49.65 MB / 8.729 GB, free: 13.43 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009889/24.18, allocations: 7.484 MB / 8.737 GB, free: 6.234 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00624/24.19, allocations: 4.668 MB / 8.741 GB, free: 1.559 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009819/24.19, allocations: 0.9275 MB / 8.742 GB, free: 456 kB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.041e-05/24.19, allocations: 89.47 kB / 8.742 GB, free: 356 kB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009441/24.2, allocations: 1.356 MB / 8.744 GB, free: 14.99 MB / 1.089 GB Notification: Performance of pre-optimization done (n=369): time 2.795e-05/24.2, allocations: 0 / 8.744 GB, free: 14.99 MB / 1.089 GB Notification: Performance of matching and sorting (n=375): time 0.05139/24.25, allocations: 19.66 MB / 8.763 GB, free: 11.17 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/24.25, allocations: 90.36 kB / 8.763 GB, free: 11.07 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01942/24.27, allocations: 8.537 MB / 8.771 GB, free: 2.527 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001727/24.27, allocations: 105.7 kB / 8.771 GB, free: 2.418 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.8111/25.08, allocations: 3.611 MB / 8.775 GB, free: 103.6 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.003173/25.09, allocations: 1.327 MB / 8.776 GB, free: 103.6 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004833/25.09, allocations: 78.84 kB / 8.776 GB, free: 103.6 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.000409/25.09, allocations: 0.4883 MB / 8.777 GB, free: 103.3 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005338/25.09, allocations: 3.399 MB / 8.78 GB, free: 103.2 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006809/25.1, allocations: 4.653 MB / 8.785 GB, free: 102.2 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/25.11, allocations: 8.182 MB / 8.793 GB, free: 101.4 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.401e-05/25.11, allocations: 5.125 kB / 8.793 GB, free: 101.4 MB / 1.104 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01881/25.13, allocations: 8.624 MB / 8.801 GB, free: 101.1 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004348/25.13, allocations: 0.6499 MB / 8.802 GB, free: 100.3 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/25.13, allocations: 17.94 kB / 8.802 GB, free: 100.3 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006493/25.13, allocations: 220.4 kB / 8.802 GB, free: 100.3 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005226/25.14, allocations: 1.114 MB / 8.803 GB, free: 100.3 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/25.14, allocations: 2.856 MB / 8.806 GB, free: 99.07 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/25.15, allocations: 1.158 MB / 8.807 GB, free: 99.04 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001498/25.15, allocations: 169.5 kB / 8.807 GB, free: 99.04 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/25.15, allocations: 3.219 kB / 8.807 GB, free: 99.04 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01414/25.17, allocations: 8.057 MB / 8.815 GB, free: 98.93 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.778e-05/25.17, allocations: 19.75 kB / 8.815 GB, free: 98.93 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006426/25.17, allocations: 222.9 kB / 8.815 GB, free: 98.93 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005175/25.17, allocations: 1.11 MB / 8.816 GB, free: 98.93 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/25.18, allocations: 2.856 MB / 8.819 GB, free: 97.66 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0116/25.19, allocations: 1.145 MB / 8.82 GB, free: 97.64 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/25.19, allocations: 162.5 kB / 8.82 GB, free: 97.64 MB / 1.104 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.01212/25.2, allocations: 5.266 MB / 8.825 GB, free: 97.45 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002824/25.21, allocations: 0.6106 MB / 8.826 GB, free: 97.13 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/25.22, allocations: 8.12 MB / 8.834 GB, free: 96.92 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/25.22, allocations: 37.23 kB / 8.834 GB, free: 96.92 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/25.22, allocations: 2.406 kB / 8.834 GB, free: 96.92 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01063/25.23, allocations: 6.857 MB / 8.841 GB, free: 96.38 MB / 1.104 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.05208/25.29, allocations: 20.66 MB / 8.861 GB, free: 94.75 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/25.29, allocations: 4.625 kB / 8.861 GB, free: 94.75 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005587/25.29, allocations: 1.088 MB / 8.862 GB, free: 94.75 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006821/25.29, allocations: 208.1 kB / 8.862 GB, free: 94.74 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006453/25.29, allocations: 126.6 kB / 8.862 GB, free: 94.74 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/25.3, allocations: 2.833 MB / 8.865 GB, free: 93.48 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/25.3, allocations: 10.44 kB / 8.865 GB, free: 93.47 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02252/25.32, allocations: 12.45 MB / 8.877 GB, free: 92.65 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007934/25.33, allocations: 2.085 MB / 8.879 GB, free: 92.24 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003371/25.33, allocations: 114 kB / 8.879 GB, free: 92.24 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009229/25.34, allocations: 0.9436 MB / 8.88 GB, free: 92.22 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00148/25.34, allocations: 229.7 kB / 8.88 GB, free: 92.21 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001266/25.34, allocations: 142.8 kB / 8.881 GB, free: 92.21 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.01481/25.36, allocations: 6.177 MB / 8.887 GB, free: 92 MB / 1.104 GB Notification: Performance of sort global known variables: time 5.11e-07/25.36, allocations: 1.375 kB / 8.887 GB, free: 92 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.02571/25.38, allocations: 4.587 MB / 8.891 GB, free: 91.99 MB / 1.104 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.0104/25.39, allocations: 4.375 MB / 8.895 GB, free: 90.16 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.02308/25.42, allocations: 11.83 MB / 8.907 GB, free: 89.84 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-05/25.42, allocations: 3.812 kB / 8.907 GB, free: 89.84 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.006572/25.42, allocations: 3.668 MB / 8.91 GB, free: 89.71 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03554/25.46, allocations: 4.873 MB / 8.915 GB, free: 89.67 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05825/25.52, allocations: 25.56 MB / 8.94 GB, free: 82.67 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01847/25.53, allocations: 6.951 MB / 8.947 GB, free: 81.76 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.02374/25.56, allocations: 6.752 MB / 8.954 GB, free: 81.7 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00445/25.56, allocations: 498.5 kB / 8.954 GB, free: 81.69 MB / 1.104 GB Notification: Performance of SimCode: time 1.192e-06/25.56, allocations: 0 / 8.954 GB, free: 81.69 MB / 1.104 GB Notification: Performance of Templates: time 0.3312/25.89, allocations: 215.6 MB / 9.165 GB, free: 12.2 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)