Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.538/2.538, allocations: 287.5 MB / 303.2 MB, free: 8.195 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.001351/0.00135, allocations: 178.1 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009729/0.0009724, allocations: 94.3 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006405/0.0006407, allocations: 15.61 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2072, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.293/7.5, allocations: 2.355 GB / 3.334 GB, free: 334.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/7.5, allocations: 98.84 kB / 3.334 GB, free: 334.3 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 28/35.5, allocations: 5.361 GB / 8.695 GB, free: 87.2 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.505e-06/35.5, allocations: 1 kB / 8.695 GB, free: 87.2 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.003071/35.5, allocations: 205.3 kB / 8.695 GB, free: 87.17 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.05921/35.56, allocations: 11.18 MB / 8.706 GB, free: 84.13 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/35.56, allocations: 9.156 kB / 8.706 GB, free: 84.13 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/35.58, allocations: 1.849 MB / 8.708 GB, free: 83.64 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04906/35.63, allocations: 14.94 MB / 8.723 GB, free: 82.22 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008042/35.63, allocations: 476.4 kB / 8.723 GB, free: 82.2 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003866/35.63, allocations: 0.6369 MB / 8.724 GB, free: 82.2 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03956/35.67, allocations: 11.58 MB / 8.735 GB, free: 81.59 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003874/35.67, allocations: 16.81 kB / 8.735 GB, free: 81.59 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002949/35.67, allocations: 260.5 kB / 8.735 GB, free: 81.59 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000413/35.68, allocations: 291.5 kB / 8.736 GB, free: 81.57 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03313/35.71, allocations: 10.69 MB / 8.746 GB, free: 81.51 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.1127/35.82, allocations: 49.64 MB / 8.795 GB, free: 64.49 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01632/35.84, allocations: 7.478 MB / 8.802 GB, free: 63.64 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01166/35.85, allocations: 4.671 MB / 8.806 GB, free: 63.6 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/35.85, allocations: 0.9309 MB / 8.807 GB, free: 62.66 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.142e-05/35.85, allocations: 86.03 kB / 8.807 GB, free: 62.62 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01103/35.86, allocations: 1.364 MB / 8.809 GB, free: 62.48 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 2.315e-05/35.86, allocations: 0 / 8.809 GB, free: 62.48 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.06867/35.93, allocations: 19.64 MB / 8.828 GB, free: 60.39 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/35.93, allocations: 91.2 kB / 8.828 GB, free: 60.32 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02173/35.95, allocations: 8.543 MB / 8.836 GB, free: 59.93 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.00151/35.95, allocations: 104.1 kB / 8.837 GB, free: 59.89 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.005884/35.96, allocations: 3.624 MB / 8.84 GB, free: 58.73 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.002908/35.96, allocations: 1.334 MB / 8.841 GB, free: 57.89 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006205/35.96, allocations: 77.16 kB / 8.841 GB, free: 57.89 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0004175/35.96, allocations: 495.3 kB / 8.842 GB, free: 57.58 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008475/35.97, allocations: 3.397 MB / 8.845 GB, free: 57.57 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/35.98, allocations: 4.653 MB / 8.85 GB, free: 56.49 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01906/36, allocations: 8.181 MB / 8.858 GB, free: 55.77 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-05/36, allocations: 3.5 kB / 8.858 GB, free: 55.77 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02458/36.03, allocations: 8.625 MB / 8.866 GB, free: 55.33 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004028/36.03, allocations: 0.6421 MB / 8.867 GB, free: 54.57 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.634e-05/36.03, allocations: 18.66 kB / 8.867 GB, free: 54.57 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009586/36.03, allocations: 227.9 kB / 8.867 GB, free: 54.56 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009281/36.04, allocations: 1.11 MB / 8.868 GB, free: 54.56 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004362/36.04, allocations: 2.867 MB / 8.871 GB, free: 53.29 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01591/36.06, allocations: 1.148 MB / 8.872 GB, free: 53.23 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/36.06, allocations: 169 kB / 8.872 GB, free: 53.23 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/36.06, allocations: 6.5 kB / 8.872 GB, free: 53.23 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02373/36.08, allocations: 8.054 MB / 8.88 GB, free: 53.13 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.887e-05/36.08, allocations: 17.56 kB / 8.88 GB, free: 53.13 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009118/36.08, allocations: 219.1 kB / 8.88 GB, free: 53.12 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009423/36.09, allocations: 1.111 MB / 8.881 GB, free: 53.12 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004203/36.1, allocations: 2.867 MB / 8.884 GB, free: 51.86 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01548/36.11, allocations: 1.141 MB / 8.885 GB, free: 51.8 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001506/36.12, allocations: 165.2 kB / 8.885 GB, free: 51.8 MB / 1.057 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.0131/36.13, allocations: 5.263 MB / 8.891 GB, free: 51.61 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002838/36.13, allocations: 0.6161 MB / 8.891 GB, free: 51.29 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02476/36.16, allocations: 8.118 MB / 8.899 GB, free: 51.07 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.633e-05/36.16, allocations: 37.56 kB / 8.899 GB, free: 51.07 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/36.16, allocations: 0 / 8.899 GB, free: 51.07 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0189/36.18, allocations: 6.86 MB / 8.906 GB, free: 50.53 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 postOpt removeSimpleEquations (simulation): time 0.06045/36.24, allocations: 20.66 MB / 8.926 GB, free: 46.52 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-05/36.24, allocations: 6.188 kB / 8.926 GB, free: 46.52 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009771/36.25, allocations: 1.086 MB / 8.927 GB, free: 46.5 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009406/36.25, allocations: 207.3 kB / 8.927 GB, free: 46.45 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001179/36.25, allocations: 122.2 kB / 8.927 GB, free: 46.39 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004076/36.25, allocations: 2.835 MB / 8.93 GB, free: 44.51 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/36.25, allocations: 3.562 kB / 8.93 GB, free: 44.51 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03059/36.28, allocations: 12.46 MB / 8.942 GB, free: 40.25 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009192/36.29, allocations: 2.086 MB / 8.944 GB, free: 39.31 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00345/36.3, allocations: 115.2 kB / 8.945 GB, free: 39.25 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0134/36.31, allocations: 0.9437 MB / 8.945 GB, free: 39.16 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001448/36.31, allocations: 231.8 kB / 8.946 GB, free: 39.12 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007308/36.31, allocations: 135.9 kB / 8.946 GB, free: 39.09 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01759/36.33, allocations: 6.18 MB / 8.952 GB, free: 36.55 MB / 1.057 GB Notification: Performance of sort global known variables: time 5.01e-07/36.33, allocations: 1.969 kB / 8.952 GB, free: 36.55 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.03066/36.36, allocations: 4.569 MB / 8.956 GB, free: 32.01 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 () * 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.009463/36.37, allocations: 4.349 MB / 8.961 GB, free: 28.68 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02952/36.4, allocations: 11.83 MB / 8.972 GB, free: 18.86 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/36.4, allocations: 4 kB / 8.972 GB, free: 18.86 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.009455/36.41, allocations: 3.667 MB / 8.976 GB, free: 15.8 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05002/36.46, allocations: 4.882 MB / 8.98 GB, free: 12.62 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06603/36.52, allocations: 25.57 MB / 9.005 GB, free: 6.703 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01769/36.54, allocations: 6.954 MB / 9.012 GB, free: 1.059 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.06055/36.6, allocations: 8.367 MB / 9.02 GB, free: 0 / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006416/36.61, allocations: 0.5689 MB / 9.021 GB, free: 15.73 MB / 1.089 GB Notification: Performance of SimCode: time 1.182e-06/36.61, allocations: 0 / 9.021 GB, free: 15.73 MB / 1.089 GB Notification: Performance of Templates: time 1.397/38.01, allocations: 213.1 MB / 9.229 GB, free: 92.35 MB / 1.089 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)