Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.448/2.448, allocations: 284.8 MB / 297.3 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 187.9 kB / 365.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.1 MB / 0.6241 GB, free: 8.207 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 92.11 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.42e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8678/0.8679, allocations: 115.2 MB / 0.97 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.998/7.866, allocations: 2.355 GB / 3.325 GB, free: 102.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/7.866, allocations: 91.27 kB / 3.325 GB, free: 102.6 MB / 0.948 GB [/var/lib/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.97/36.84, allocations: 5.407 GB / 8.732 GB, free: 8.055 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.542e-06/36.84, allocations: 0 / 8.732 GB, free: 8.055 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.00305/36.84, allocations: 203.9 kB / 8.732 GB, free: 7.855 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.04846/36.89, allocations: 8.865 MB / 8.741 GB, free: 14.92 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/36.89, allocations: 12.03 kB / 8.741 GB, free: 14.91 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01863/36.91, allocations: 1.855 MB / 8.742 GB, free: 13.04 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.004/37.91, allocations: 14.87 MB / 8.757 GB, free: 82.47 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009778/37.91, allocations: 483.5 kB / 8.757 GB, free: 82.45 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004587/37.92, allocations: 0.64 MB / 8.758 GB, free: 82.45 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04767/37.96, allocations: 11.35 MB / 8.769 GB, free: 81.85 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006792/37.97, allocations: 18.56 kB / 8.769 GB, free: 81.85 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004251/37.97, allocations: 261.3 kB / 8.769 GB, free: 81.85 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006064/37.97, allocations: 292.6 kB / 8.77 GB, free: 81.84 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03713/38.01, allocations: 10.42 MB / 8.78 GB, free: 81.77 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.1295/38.14, allocations: 49.79 MB / 8.829 GB, free: 65.32 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01892/38.16, allocations: 7.346 MB / 8.836 GB, free: 64.5 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01292/38.17, allocations: 4.563 MB / 8.84 GB, free: 64.46 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/38.17, allocations: 0.9343 MB / 8.841 GB, free: 63.52 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/38.17, allocations: 85.03 kB / 8.841 GB, free: 63.48 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01213/38.18, allocations: 1.376 MB / 8.842 GB, free: 63.41 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 2.26e-05/38.18, allocations: 0 / 8.842 GB, free: 63.41 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.05926/38.24, allocations: 15.77 MB / 8.858 GB, free: 61.65 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/38.24, allocations: 94.75 kB / 8.858 GB, free: 61.58 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02427/38.27, allocations: 7.996 MB / 8.866 GB, free: 61.21 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.00188/38.27, allocations: 107.8 kB / 8.866 GB, free: 61.18 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.00739/38.28, allocations: 3.626 MB / 8.869 GB, free: 60.36 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.003481/38.28, allocations: 1.327 MB / 8.871 GB, free: 59.7 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006589/38.28, allocations: 74.38 kB / 8.871 GB, free: 59.7 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0004824/38.28, allocations: 493.3 kB / 8.871 GB, free: 59.39 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008512/38.29, allocations: 3.296 MB / 8.874 GB, free: 59.38 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01026/38.3, allocations: 4.528 MB / 8.879 GB, free: 58.3 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/38.31, allocations: 4.273 MB / 8.883 GB, free: 58.24 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.541e-05/38.31, allocations: 9.219 kB / 8.883 GB, free: 58.24 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02542/38.34, allocations: 8.407 MB / 8.891 GB, free: 57.8 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.005647/38.34, allocations: 8.947 MB / 8.9 GB, free: 64.48 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.382e-05/38.34, allocations: 14.03 kB / 8.9 GB, free: 64.48 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/38.34, allocations: 234.6 kB / 8.9 GB, free: 64.46 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009993/38.35, allocations: 1.11 MB / 8.901 GB, free: 64.46 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004799/38.36, allocations: 2.859 MB / 8.904 GB, free: 63.2 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01761/38.38, allocations: 1.16 MB / 8.905 GB, free: 63.17 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001629/38.38, allocations: 168.7 kB / 8.905 GB, free: 63.17 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/38.38, allocations: 3.594 kB / 8.905 GB, free: 63.17 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02213/38.4, allocations: 7.842 MB / 8.913 GB, free: 63.07 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-05/38.4, allocations: 16.5 kB / 8.913 GB, free: 63.07 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009134/38.4, allocations: 221.8 kB / 8.913 GB, free: 63.06 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009771/38.41, allocations: 1.11 MB / 8.914 GB, free: 63.06 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004529/38.41, allocations: 2.861 MB / 8.917 GB, free: 61.79 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01689/38.43, allocations: 1.152 MB / 8.918 GB, free: 61.76 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00186/38.43, allocations: 161.8 kB / 8.918 GB, free: 61.76 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.003449/38.44, allocations: 347.2 kB / 8.919 GB, free: 61.65 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003677/38.44, allocations: 0.6122 MB / 8.919 GB, free: 61.34 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02222/38.46, allocations: 7.913 MB / 8.927 GB, free: 61.12 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-05/38.46, allocations: 36.94 kB / 8.927 GB, free: 61.12 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/38.46, allocations: 0 / 8.927 GB, free: 61.12 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01604/38.48, allocations: 6.655 MB / 8.934 GB, free: 60.58 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.05793/38.54, allocations: 20.52 MB / 8.954 GB, free: 58.94 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-05/38.54, allocations: 5 kB / 8.954 GB, free: 58.94 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01016/38.55, allocations: 1.088 MB / 8.955 GB, free: 58.94 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009501/38.55, allocations: 205.6 kB / 8.955 GB, free: 58.93 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009259/38.55, allocations: 127.4 kB / 8.955 GB, free: 58.93 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004214/38.55, allocations: 2.827 MB / 8.958 GB, free: 57.67 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/38.55, allocations: 13.69 kB / 8.958 GB, free: 57.67 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02826/38.58, allocations: 12.72 MB / 8.97 GB, free: 56.14 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009788/38.59, allocations: 2.124 MB / 8.972 GB, free: 55.73 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002966/38.59, allocations: 110.8 kB / 8.972 GB, free: 55.73 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01425/38.61, allocations: 0.9501 MB / 8.973 GB, free: 55.71 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001448/38.61, allocations: 233.4 kB / 8.974 GB, free: 55.7 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006935/38.61, allocations: 143.9 kB / 8.974 GB, free: 55.7 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01639/38.63, allocations: 6.336 MB / 8.98 GB, free: 55.46 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.625e-06/38.63, allocations: 0.6875 kB / 8.98 GB, free: 55.46 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02917/38.66, allocations: 4.597 MB / 8.984 GB, free: 55.46 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.009662/38.67, allocations: 4.349 MB / 8.989 GB, free: 53.61 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.02839/38.7, allocations: 11.73 MB / 9 GB, free: 53.25 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/38.7, allocations: 3.469 kB / 9 GB, free: 53.25 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.00915/38.7, allocations: 3.565 MB / 9.004 GB, free: 53.12 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03947/38.74, allocations: 4.869 MB / 9.008 GB, free: 53.06 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05831/38.8, allocations: 20.35 MB / 9.028 GB, free: 50.27 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01627/38.82, allocations: 7.114 MB / 9.035 GB, free: 49.35 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.04966/38.87, allocations: 11.97 MB / 9.047 GB, free: 49.27 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003475/38.87, allocations: 384.4 kB / 9.047 GB, free: 49.26 MB / 1.073 GB Notification: Performance of SimCode: time 1.242e-06/38.87, allocations: 0.5312 kB / 9.047 GB, free: 49.26 MB / 1.073 GB Notification: Performance of Templates: time 1.49/40.36, allocations: 228.3 MB / 9.27 GB, free: 126.3 MB / 1.104 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)