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.653/1.653, allocations: 285.4 MB / 298 MB, free: 5.977 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.001308/0.001308, allocations: 180.8 kB / 366.4 MB, free: 2.105 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.755/1.755, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.0009392/0.0009395, allocations: 93.31 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.435e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8163/0.8164, allocations: 115.3 MB / 0.9709 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.354/7.17, allocations: 2.355 GB / 3.326 GB, free: 98.14 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/7.171, allocations: 89.81 kB / 3.326 GB, free: 98.1 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 22.32/29.49, allocations: 5.407 GB / 8.733 GB, free: 27.07 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.204e-06/29.49, allocations: 3.938 kB / 8.733 GB, free: 27.07 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.002645/29.49, allocations: 209.8 kB / 8.733 GB, free: 26.87 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.03888/29.53, allocations: 8.862 MB / 8.742 GB, free: 17.93 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/29.53, allocations: 12.02 kB / 8.742 GB, free: 17.92 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01686/29.55, allocations: 1.855 MB / 8.744 GB, free: 16.05 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04827/29.6, allocations: 14.88 MB / 8.758 GB, free: 1.098 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00104/29.6, allocations: 476.4 kB / 8.759 GB, free: 0.6289 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005517/29.6, allocations: 0.6405 MB / 8.759 GB, free: 15.98 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04647/29.65, allocations: 11.35 MB / 8.77 GB, free: 4.453 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006993/29.65, allocations: 11.94 kB / 8.77 GB, free: 4.441 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004914/29.65, allocations: 264 kB / 8.771 GB, free: 4.184 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005267/29.65, allocations: 292.1 kB / 8.771 GB, free: 3.895 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.856/31.51, allocations: 10.42 MB / 8.781 GB, free: 81.69 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 preOpt removeSimpleEquations (simulation): time 0.1039/31.61, allocations: 49.8 MB / 8.83 GB, free: 65.25 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/31.63, allocations: 7.347 MB / 8.837 GB, free: 64.44 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01112/31.64, allocations: 4.561 MB / 8.841 GB, free: 64.4 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/31.64, allocations: 0.9334 MB / 8.842 GB, free: 63.46 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/31.64, allocations: 82.38 kB / 8.842 GB, free: 63.42 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01269/31.65, allocations: 1.38 MB / 8.844 GB, free: 63.34 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 4.657e-05/31.66, allocations: 4.375 kB / 8.844 GB, free: 63.34 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.05127/31.71, allocations: 15.76 MB / 8.859 GB, free: 61.58 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/31.71, allocations: 93.73 kB / 8.859 GB, free: 61.52 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02231/31.73, allocations: 8 MB / 8.867 GB, free: 61.14 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.002688/31.73, allocations: 108.2 kB / 8.867 GB, free: 61.11 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.00762/31.74, allocations: 3.626 MB / 8.871 GB, free: 60.3 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0036/31.74, allocations: 1.322 MB / 8.872 GB, free: 59.64 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004689/31.74, allocations: 77.56 kB / 8.872 GB, free: 59.64 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0004534/31.74, allocations: 491.9 kB / 8.872 GB, free: 59.33 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004901/31.75, allocations: 3.295 MB / 8.876 GB, free: 59.32 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006314/31.76, allocations: 4.531 MB / 8.88 GB, free: 58.24 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006964/31.76, allocations: 4.273 MB / 8.884 GB, free: 58.18 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.981e-05/31.76, allocations: 8.781 kB / 8.884 GB, free: 58.18 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01823/31.78, allocations: 8.408 MB / 8.892 GB, free: 57.74 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.00199/31.78, allocations: 8.951 MB / 8.901 GB, free: 48.41 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.173e-05/31.78, allocations: 18.69 kB / 8.901 GB, free: 48.41 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000783/31.78, allocations: 222.4 kB / 8.901 GB, free: 48.4 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005298/31.79, allocations: 1.116 MB / 8.902 GB, free: 48.4 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/31.79, allocations: 2.847 MB / 8.905 GB, free: 47.14 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01343/31.8, allocations: 1.171 MB / 8.906 GB, free: 47.11 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002394/31.81, allocations: 167.2 kB / 8.907 GB, free: 47.11 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/31.81, allocations: 3.5 kB / 8.907 GB, free: 47.11 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01912/31.83, allocations: 7.84 MB / 8.914 GB, free: 47 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.197e-05/31.83, allocations: 16.66 kB / 8.914 GB, free: 47 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006885/31.83, allocations: 224.7 kB / 8.914 GB, free: 47 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005226/31.83, allocations: 1.107 MB / 8.915 GB, free: 47 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005423/31.84, allocations: 2.857 MB / 8.918 GB, free: 61.73 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0121/31.85, allocations: 1.155 MB / 8.919 GB, free: 61.7 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001677/31.85, allocations: 162 kB / 8.92 GB, free: 61.7 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 () * 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.003259/31.86, allocations: 340.1 kB / 8.92 GB, free: 61.6 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003867/31.86, allocations: 0.6183 MB / 8.92 GB, free: 61.28 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02009/31.88, allocations: 7.911 MB / 8.928 GB, free: 61.06 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.971e-05/31.88, allocations: 39.5 kB / 8.928 GB, free: 61.06 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-05/31.88, allocations: 4.562 kB / 8.928 GB, free: 61.06 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01208/31.89, allocations: 6.651 MB / 8.935 GB, free: 60.52 MB / 1.073 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.06296/31.95, allocations: 20.53 MB / 8.955 GB, free: 58.88 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/31.95, allocations: 3.719 kB / 8.955 GB, free: 58.88 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005295/31.96, allocations: 1.079 MB / 8.956 GB, free: 58.88 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006691/31.96, allocations: 208.4 kB / 8.956 GB, free: 58.88 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00102/31.96, allocations: 129.6 kB / 8.956 GB, free: 58.88 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/31.96, allocations: 2.82 MB / 8.959 GB, free: 57.61 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/31.96, allocations: 8.375 kB / 8.959 GB, free: 57.61 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02155/31.99, allocations: 12.73 MB / 8.971 GB, free: 56.09 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01001/32, allocations: 2.119 MB / 8.973 GB, free: 55.68 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004143/32, allocations: 115.7 kB / 8.974 GB, free: 55.68 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01094/32.01, allocations: 0.9485 MB / 8.974 GB, free: 55.66 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00155/32.01, allocations: 232.4 kB / 8.975 GB, free: 55.65 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00136/32.01, allocations: 136.4 kB / 8.975 GB, free: 55.65 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01512/32.03, allocations: 6.342 MB / 8.981 GB, free: 55.4 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.012e-06/32.03, allocations: 0 / 8.981 GB, free: 55.4 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02787/32.06, allocations: 4.592 MB / 8.986 GB, free: 55.4 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 () * 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.009539/32.07, allocations: 4.347 MB / 8.99 GB, free: 53.53 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.02658/32.09, allocations: 11.72 MB / 9.001 GB, free: 53.16 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.778e-05/32.09, allocations: 6.469 kB / 9.001 GB, free: 53.16 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.007327/32.1, allocations: 3.571 MB / 9.005 GB, free: 53.03 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02793/32.13, allocations: 4.868 MB / 9.009 GB, free: 52.93 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05888/32.19, allocations: 20.34 MB / 9.029 GB, free: 50.14 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01801/32.21, allocations: 7.104 MB / 9.036 GB, free: 49.22 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0378/32.24, allocations: 11.98 MB / 9.048 GB, free: 49.14 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003577/32.25, allocations: 387.8 kB / 9.048 GB, free: 49.13 MB / 1.073 GB Notification: Performance of SimCode: time 1.523e-06/32.25, allocations: 0 / 9.048 GB, free: 49.13 MB / 1.073 GB Notification: Performance of Templates: time 1.307/33.55, allocations: 228.2 MB / 9.271 GB, free: 125.1 MB / 1.104 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)