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.666/1.666, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.001396/0.001396, allocations: 188.8 kB / 366.7 MB, free: 1.645 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.643/1.643, allocations: 205.2 MB / 0.626 GB, free: 7.137 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.0008593/0.0008591, allocations: 91.8 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.917e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6668/0.6668, allocations: 116.3 MB / 0.9732 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.445/6.112, allocations: 2.355 GB / 3.328 GB, free: 136.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/6.113, allocations: 87.95 kB / 3.328 GB, free: 136 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 20.69/26.8, allocations: 5.363 GB / 8.692 GB, free: 65.96 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.625e-06/26.8, allocations: 0 / 8.692 GB, free: 65.96 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.00285/26.8, allocations: 208.4 kB / 8.692 GB, free: 65.93 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.03827/26.84, allocations: 8.859 MB / 8.701 GB, free: 62.86 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.559e-05/26.84, allocations: 9.438 kB / 8.701 GB, free: 62.86 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01827/26.86, allocations: 1.859 MB / 8.702 GB, free: 62.35 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03714/26.9, allocations: 14.88 MB / 8.717 GB, free: 61.01 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004858/26.9, allocations: 200.7 kB / 8.717 GB, free: 61 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003784/26.9, allocations: 382.3 kB / 8.718 GB, free: 61 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02163/26.92, allocations: 9.864 MB / 8.727 GB, free: 59.89 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02988/26.95, allocations: 10.45 MB / 8.737 GB, free: 55.72 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005612/26.95, allocations: 15.7 kB / 8.737 GB, free: 55.71 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003341/26.96, allocations: 8 kB / 8.737 GB, free: 55.7 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003234/26.96, allocations: 290.3 kB / 8.738 GB, free: 55.43 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.08661/27.04, allocations: 48.54 MB / 8.785 GB, free: 9.648 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/27.05, allocations: 8.009 MB / 8.793 GB, free: 1.418 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007822/27.06, allocations: 4.411 MB / 8.797 GB, free: 13 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/27.06, allocations: 0.9305 MB / 8.798 GB, free: 11.9 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/27.06, allocations: 81.47 kB / 8.798 GB, free: 11.81 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009945/27.07, allocations: 1.295 MB / 8.799 GB, free: 10.52 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 2.559e-05/27.07, allocations: 3.938 kB / 8.799 GB, free: 10.51 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.04162/27.11, allocations: 15.11 MB / 8.814 GB, free: 11.27 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/27.11, allocations: 90.3 kB / 8.814 GB, free: 11.17 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01934/27.13, allocations: 7.617 MB / 8.822 GB, free: 3.555 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001658/27.14, allocations: 37.69 kB / 8.822 GB, free: 3.512 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.94/28.08, allocations: 3.586 MB / 8.825 GB, free: 106.4 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003655/28.08, allocations: 1.277 MB / 8.827 GB, free: 106.4 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004673/28.08, allocations: 0 / 8.827 GB, free: 106.4 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0005251/28.08, allocations: 496.4 kB / 8.827 GB, free: 106.1 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005772/28.09, allocations: 3.169 MB / 8.83 GB, free: 106.1 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008091/28.09, allocations: 4.378 MB / 8.834 GB, free: 105 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008836/28.1, allocations: 4.181 MB / 8.838 GB, free: 104.9 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.934e-05/28.1, allocations: 7.188 kB / 8.838 GB, free: 104.9 MB / 1.073 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01749/28.12, allocations: 8.021 MB / 8.846 GB, free: 104.8 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002847/28.12, allocations: 9.116 MB / 8.855 GB, free: 95.57 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.767e-05/28.12, allocations: 19.19 kB / 8.855 GB, free: 95.57 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007901/28.12, allocations: 224.5 kB / 8.855 GB, free: 95.56 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00533/28.13, allocations: 1.113 MB / 8.857 GB, free: 95.56 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/28.13, allocations: 2.772 MB / 8.859 GB, free: 94.36 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01157/28.14, allocations: 1.083 MB / 8.86 GB, free: 94.32 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/28.15, allocations: 167.5 kB / 8.86 GB, free: 94.32 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/28.15, allocations: 5.281 kB / 8.86 GB, free: 94.32 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01255/28.16, allocations: 7.377 MB / 8.868 GB, free: 94.22 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.452e-05/28.16, allocations: 17.16 kB / 8.868 GB, free: 94.22 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/28.16, allocations: 224.8 kB / 8.868 GB, free: 94.21 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004894/28.16, allocations: 1.113 MB / 8.869 GB, free: 94.21 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/28.17, allocations: 2.777 MB / 8.872 GB, free: 93.01 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01172/28.18, allocations: 1.067 MB / 8.873 GB, free: 92.98 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001668/28.18, allocations: 170.5 kB / 8.873 GB, free: 92.98 MB / 1.073 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.003027/28.18, allocations: 185.9 kB / 8.873 GB, free: 92.88 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00346/28.19, allocations: 0.6002 MB / 8.874 GB, free: 92.57 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01893/28.21, allocations: 7.521 MB / 8.881 GB, free: 92.35 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-05/28.21, allocations: 36.78 kB / 8.881 GB, free: 92.35 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.323e-05/28.21, allocations: 4.562 kB / 8.881 GB, free: 92.35 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01201/28.22, allocations: 6.368 MB / 8.887 GB, free: 91.81 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.04869/28.27, allocations: 19.25 MB / 8.906 GB, free: 90.21 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/28.27, allocations: 7.344 kB / 8.906 GB, free: 90.21 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004678/28.27, allocations: 1.09 MB / 8.907 GB, free: 90.21 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006415/28.27, allocations: 201.1 kB / 8.907 GB, free: 90.2 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004259/28.27, allocations: 75.67 kB / 8.907 GB, free: 90.2 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002752/28.28, allocations: 2.741 MB / 8.91 GB, free: 89 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/28.28, allocations: 3.812 kB / 8.91 GB, free: 89 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01768/28.29, allocations: 12.26 MB / 8.922 GB, free: 87.48 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00859/28.3, allocations: 2.103 MB / 8.924 GB, free: 87.07 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003316/28.31, allocations: 57.16 kB / 8.924 GB, free: 87.06 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009917/28.32, allocations: 0.8816 MB / 8.925 GB, free: 87.04 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001192/28.32, allocations: 228.9 kB / 8.925 GB, free: 87.04 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001024/28.32, allocations: 142.7 kB / 8.925 GB, free: 87.04 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01585/28.33, allocations: 5.988 MB / 8.931 GB, free: 86.82 MB / 1.073 GB Notification: Performance of sort global known variables: time 5.71e-07/28.33, allocations: 0 / 8.931 GB, free: 86.82 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0297/28.36, allocations: 4.319 MB / 8.935 GB, free: 86.82 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.009585/28.37, allocations: 4.649 MB / 8.94 GB, free: 84.97 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.02507/28.4, allocations: 11.24 MB / 8.951 GB, free: 84.66 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-05/28.4, allocations: 6.562 kB / 8.951 GB, free: 84.66 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.008675/28.41, allocations: 3.419 MB / 8.954 GB, free: 84.54 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02819/28.43, allocations: 4.741 MB / 8.959 GB, free: 84.45 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06096/28.5, allocations: 20.78 MB / 8.979 GB, free: 81.69 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01347/28.51, allocations: 7.11 MB / 8.986 GB, free: 80.77 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.03019/28.54, allocations: 11.83 MB / 8.998 GB, free: 80.69 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00326/28.54, allocations: 382.5 kB / 8.998 GB, free: 80.68 MB / 1.073 GB Notification: Performance of SimCode: time 3.707e-06/28.54, allocations: 0 / 8.998 GB, free: 80.68 MB / 1.073 GB Notification: Performance of Templates: time 0.283/28.83, allocations: 179.4 MB / 9.173 GB, free: 13.11 MB / 1.073 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)