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.655/1.655, allocations: 289.7 MB / 302.3 MB, free: 2.145 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.001105/0.001106, allocations: 183.1 kB / 371.6 MB, free: 3.328 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.976/1.976, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.001132/0.001132, allocations: 86.94 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.119e-05/4.122e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3001, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.537/7.837, allocations: 2.356 GB / 3.336 GB, free: 196 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/7.837, allocations: 86.39 kB / 3.336 GB, free: 196 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 23.13/30.96, allocations: 5.407 GB / 8.743 GB, free: 53.66 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.274e-06/30.96, allocations: 0 / 8.743 GB, free: 53.66 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.002391/30.97, allocations: 206.3 kB / 8.743 GB, free: 53.61 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.03905/31, allocations: 8.858 MB / 8.752 GB, free: 50.46 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/31, allocations: 11.41 kB / 8.752 GB, free: 50.46 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/31.02, allocations: 1.856 MB / 8.753 GB, free: 49.95 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04117/31.06, allocations: 14.89 MB / 8.768 GB, free: 48.45 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007406/31.06, allocations: 480.8 kB / 8.768 GB, free: 48.43 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004996/31.07, allocations: 0.6431 MB / 8.769 GB, free: 48.42 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04119/31.11, allocations: 11.34 MB / 8.78 GB, free: 47.78 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005964/31.11, allocations: 15.41 kB / 8.78 GB, free: 47.77 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004632/31.11, allocations: 260.7 kB / 8.78 GB, free: 47.77 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004451/31.11, allocations: 294.1 kB / 8.781 GB, free: 47.75 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02839/31.14, allocations: 10.42 MB / 8.791 GB, free: 46.14 MB / 1.042 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.1084/31.25, allocations: 49.79 MB / 8.839 GB, free: 4.547 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/31.26, allocations: 7.361 MB / 8.847 GB, free: 13.95 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009989/31.27, allocations: 4.564 MB / 8.851 GB, free: 9.844 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001774/31.28, allocations: 0.9427 MB / 8.852 GB, free: 8.723 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/31.28, allocations: 77.47 kB / 8.852 GB, free: 8.637 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01028/31.29, allocations: 1.382 MB / 8.853 GB, free: 7.25 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 4.601e-05/31.29, allocations: 0 / 8.853 GB, free: 7.25 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.05978/31.35, allocations: 15.75 MB / 8.869 GB, free: 7.359 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.261e-05/31.35, allocations: 90.36 kB / 8.869 GB, free: 7.258 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.085/32.43, allocations: 8.002 MB / 8.877 GB, free: 92.35 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001856/32.43, allocations: 105.5 kB / 8.877 GB, free: 92.32 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.005869/32.44, allocations: 3.619 MB / 8.88 GB, free: 92.18 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003358/32.44, allocations: 1.327 MB / 8.882 GB, free: 91.83 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004918/32.44, allocations: 77.59 kB / 8.882 GB, free: 91.83 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0004579/32.44, allocations: 492.3 kB / 8.882 GB, free: 91.52 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006577/32.45, allocations: 3.292 MB / 8.885 GB, free: 91.51 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009033/32.46, allocations: 4.523 MB / 8.89 GB, free: 90.44 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009352/32.47, allocations: 4.279 MB / 8.894 GB, free: 90.39 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.933e-05/32.47, allocations: 5.969 kB / 8.894 GB, free: 90.39 MB / 1.073 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01893/32.49, allocations: 8.414 MB / 8.902 GB, free: 89.95 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002005/32.49, allocations: 8.951 MB / 8.911 GB, free: 80.63 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.161e-05/32.49, allocations: 17.28 kB / 8.911 GB, free: 80.63 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007426/32.49, allocations: 225.8 kB / 8.911 GB, free: 80.62 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005452/32.5, allocations: 1.106 MB / 8.912 GB, free: 80.62 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003061/32.5, allocations: 2.852 MB / 8.915 GB, free: 79.36 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01458/32.51, allocations: 1.168 MB / 8.916 GB, free: 79.33 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002208/32.52, allocations: 161.5 kB / 8.916 GB, free: 79.33 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/32.52, allocations: 5.906 kB / 8.916 GB, free: 79.33 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0138/32.53, allocations: 7.842 MB / 8.924 GB, free: 79.23 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.331e-05/32.53, allocations: 18.28 kB / 8.924 GB, free: 79.23 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006246/32.53, allocations: 223.9 kB / 8.924 GB, free: 79.22 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004761/32.54, allocations: 1.112 MB / 8.925 GB, free: 79.22 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/32.54, allocations: 2.854 MB / 8.928 GB, free: 77.96 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/32.55, allocations: 1.153 MB / 8.929 GB, free: 77.93 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/32.55, allocations: 164.5 kB / 8.929 GB, free: 77.93 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.001822/32.55, allocations: 342.3 kB / 8.93 GB, free: 77.82 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002598/32.56, allocations: 0.6148 MB / 8.93 GB, free: 77.51 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/32.57, allocations: 7.913 MB / 8.938 GB, free: 77.29 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-05/32.57, allocations: 39.55 kB / 8.938 GB, free: 77.29 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/32.57, allocations: 3.25 kB / 8.938 GB, free: 77.29 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009913/32.58, allocations: 6.651 MB / 8.945 GB, free: 76.75 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.05002/32.63, allocations: 20.51 MB / 8.965 GB, free: 75.12 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/32.63, allocations: 4.125 kB / 8.965 GB, free: 75.12 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00582/32.64, allocations: 1.091 MB / 8.966 GB, free: 75.12 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000722/32.64, allocations: 205.3 kB / 8.966 GB, free: 75.11 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008427/32.64, allocations: 127.8 kB / 8.966 GB, free: 75.11 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/32.64, allocations: 2.826 MB / 8.969 GB, free: 73.84 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/32.64, allocations: 5.094 kB / 8.969 GB, free: 73.84 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02234/32.66, allocations: 12.73 MB / 8.981 GB, free: 72.32 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008639/32.67, allocations: 2.127 MB / 8.983 GB, free: 71.91 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003445/32.68, allocations: 116 kB / 8.983 GB, free: 71.91 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01051/32.69, allocations: 0.9424 MB / 8.984 GB, free: 71.89 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001763/32.69, allocations: 235.6 kB / 8.985 GB, free: 71.88 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006324/32.69, allocations: 142.4 kB / 8.985 GB, free: 71.88 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01448/32.7, allocations: 6.334 MB / 8.991 GB, free: 71.63 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.813e-06/32.7, allocations: 1.938 kB / 8.991 GB, free: 71.63 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0284/32.73, allocations: 4.596 MB / 8.995 GB, free: 71.63 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.008882/32.74, allocations: 4.358 MB / 9 GB, free: 69.76 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.02159/32.76, allocations: 11.73 MB / 9.011 GB, free: 69.41 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/32.76, allocations: 10.72 kB / 9.011 GB, free: 69.41 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.005796/32.77, allocations: 3.558 MB / 9.015 GB, free: 69.28 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02625/32.8, allocations: 4.877 MB / 9.019 GB, free: 69.18 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04441/32.84, allocations: 20.35 MB / 9.039 GB, free: 66.42 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01386/32.85, allocations: 7.114 MB / 9.046 GB, free: 65.5 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.03776/32.89, allocations: 11.96 MB / 9.058 GB, free: 65.41 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003216/32.89, allocations: 385 kB / 9.058 GB, free: 65.41 MB / 1.073 GB Notification: Performance of SimCode: time 1.162e-06/32.89, allocations: 0.875 kB / 9.058 GB, free: 65.41 MB / 1.073 GB Notification: Performance of Templates: time 0.3503/33.25, allocations: 228.2 MB / 9.281 GB, free: 1.004 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)