Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01545/0.01545, allocations: 111.5 kB / 15.06 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001824/0.001824, allocations: 187.6 kB / 15.95 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.852/1.852, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.166/2.166, allocations: 236.2 MB / 492.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004833, allocations: 19.94 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.5372, allocations: 98.71 MB / 0.6833 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.392/6.929, allocations: 2.481 GB / 3.164 GB, free: 204.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/6.929, allocations: 100.8 kB / 3.164 GB, free: 204.2 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.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 42.77/49.7, allocations: 8.989 GB / 12.15 GB, free: 65.77 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.043e-06/49.7, allocations: 0 / 12.15 GB, free: 65.77 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.00469/49.7, allocations: 389.1 kB / 12.15 GB, free: 65.72 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3031 * Number of variables: 3031 Notification: Performance of Generate backend data structure: time 0.08196/49.79, allocations: 20.62 MB / 12.17 GB, free: 59.58 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/49.79, allocations: 9.125 kB / 12.17 GB, free: 59.58 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02946/49.82, allocations: 3.588 MB / 12.18 GB, free: 58.65 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08203/49.9, allocations: 29.18 MB / 12.21 GB, free: 56.59 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001409/49.9, allocations: 0.8881 MB / 12.21 GB, free: 56.57 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00685/49.91, allocations: 1.225 MB / 12.21 GB, free: 56.55 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06724/49.97, allocations: 21.83 MB / 12.23 GB, free: 55.59 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008068/49.97, allocations: 29.34 kB / 12.23 GB, free: 55.59 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005814/49.98, allocations: 493.1 kB / 12.23 GB, free: 55.59 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000816/49.98, allocations: 0.5383 MB / 12.23 GB, free: 55.56 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05445/50.04, allocations: 20.19 MB / 12.25 GB, free: 55.47 MB / 0.9792 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.1848/50.22, allocations: 93.71 MB / 12.34 GB, free: 40.61 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02803/50.25, allocations: 13.88 MB / 12.35 GB, free: 40.23 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002041/50.25, allocations: 0.9936 MB / 12.36 GB, free: 39.28 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01766/50.27, allocations: 7.242 MB / 12.36 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01425/50.28, allocations: 1.583 MB / 12.36 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=709): time 3.005e-05/50.28, allocations: 0 / 12.36 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=721): time 0.111/50.39, allocations: 36.2 MB / 12.4 GB, free: 22.17 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/50.39, allocations: 260.9 kB / 12.4 GB, free: 21.87 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04025/50.43, allocations: 15.7 MB / 12.42 GB, free: 9.008 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002564/50.44, allocations: 185.7 kB / 12.42 GB, free: 8.82 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01561/50.45, allocations: 7.262 MB / 12.42 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006816/50.46, allocations: 2.655 MB / 12.43 GB, free: 0 / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00304/50.46, allocations: 195.5 kB / 12.43 GB, free: 0 / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001292/50.46, allocations: 0.6599 MB / 12.43 GB, free: 15.42 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0157/50.48, allocations: 6.342 MB / 12.43 GB, free: 10.21 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03093/50.51, allocations: 8.714 MB / 12.44 GB, free: 2.137 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05656/50.57, allocations: 9.61 MB / 12.45 GB, free: 14.5 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.572e-05/50.57, allocations: 11.95 kB / 12.45 GB, free: 14.48 MB / 1.026 GB Notification: Performance of matching and sorting (n=948) (initialization): time 0.04661/50.61, allocations: 16.2 MB / 12.47 GB, free: 0.7617 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.564/52.18, allocations: 20.6 MB / 12.49 GB, free: 89.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001627/52.18, allocations: 34.19 kB / 12.49 GB, free: 89.18 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/52.18, allocations: 493 kB / 12.49 GB, free: 89.18 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01377/52.19, allocations: 1.991 MB / 12.49 GB, free: 89.18 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/52.2, allocations: 6.387 MB / 12.49 GB, free: 87.27 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02263/52.23, allocations: 2.162 MB / 12.5 GB, free: 87.27 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002717/52.23, allocations: 298 kB / 12.5 GB, free: 87.27 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/52.23, allocations: 4.906 kB / 12.5 GB, free: 87.27 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04123/52.27, allocations: 15.13 MB / 12.51 GB, free: 87.04 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001621/52.27, allocations: 39.39 kB / 12.51 GB, free: 87.04 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/52.27, allocations: 489.1 kB / 12.51 GB, free: 87.03 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01257/52.29, allocations: 1.975 MB / 12.51 GB, free: 87.03 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00978/52.3, allocations: 5.799 MB / 12.52 GB, free: 85.7 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02455/52.32, allocations: 2.125 MB / 12.52 GB, free: 85.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003508/52.32, allocations: 295.7 kB / 12.52 GB, free: 85.7 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 151 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 915 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.03313/52.36, allocations: 10.29 MB / 12.53 GB, free: 85.48 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007571/52.36, allocations: 1.165 MB / 12.53 GB, free: 85.48 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03965/52.4, allocations: 15.2 MB / 12.55 GB, free: 85.08 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001036/52.4, allocations: 65.88 kB / 12.55 GB, free: 85.08 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.803e-05/52.4, allocations: 5.906 kB / 12.55 GB, free: 85.08 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02881/52.43, allocations: 12.61 MB / 12.56 GB, free: 84.49 MB / 1.026 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.0938/52.53, allocations: 37.63 MB / 12.6 GB, free: 83.11 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.434e-05/52.53, allocations: 7.203 kB / 12.6 GB, free: 83.11 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0134/52.54, allocations: 2.137 MB / 12.6 GB, free: 83.11 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/52.54, allocations: 443.2 kB / 12.6 GB, free: 83.1 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001675/52.54, allocations: 239.2 kB / 12.6 GB, free: 83.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009129/52.55, allocations: 6.327 MB / 12.61 GB, free: 81.17 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.302e-06/52.55, allocations: 10.12 kB / 12.61 GB, free: 81.17 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04668/52.6, allocations: 24.7 MB / 12.63 GB, free: 79 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01372/52.61, allocations: 4.054 MB / 12.63 GB, free: 78.91 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005224/52.62, allocations: 224 kB / 12.63 GB, free: 78.91 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0176/52.64, allocations: 1.77 MB / 12.64 GB, free: 78.91 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002222/52.64, allocations: 439.2 kB / 12.64 GB, free: 78.9 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001264/52.64, allocations: 239.1 kB / 12.64 GB, free: 78.9 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02883/52.67, allocations: 12.48 MB / 12.65 GB, free: 78.58 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.109e-06/52.67, allocations: 0 / 12.65 GB, free: 78.58 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.04817/52.72, allocations: 8.678 MB / 12.66 GB, free: 78.58 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 51 (temSen.T,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.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.hexReg[3].ele[1,1].vol1.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,1].mas.T,hex.hexReg[3].ele[1,2].vol1.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,2].mas.T,hex.hexReg[3].ele[1,3].vol1.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,3].mas.T,hex.hexReg[4].ele[1,1].vol1.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,1].mas.T,hex.hexReg[4].ele[1,2].vol1.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,2].mas.T,hex.hexReg[4].ele[1,3].vol1.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.m,hex.hexReg[4].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,3].mas.T,mot.int.y) * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1,mot.uppHys.y,mot.lowHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (701): * Single equations (assignments): 694 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009806/52.73, allocations: 4.947 MB / 12.66 GB, free: 76.48 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.04501/52.77, allocations: 22.27 MB / 12.68 GB, free: 75.93 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.949e-05/52.77, allocations: 8.469 kB / 12.68 GB, free: 75.93 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01455/52.79, allocations: 7.037 MB / 12.69 GB, free: 75.7 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0516/52.84, allocations: 9.322 MB / 12.7 GB, free: 75.51 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09926/52.94, allocations: 50.1 MB / 12.75 GB, free: 53.19 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02844/52.97, allocations: 13.05 MB / 12.76 GB, free: 45.57 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.04426/53.01, allocations: 13.3 MB / 12.77 GB, free: 36.98 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00639/53.02, allocations: 0.8958 MB / 12.78 GB, free: 36.18 MB / 1.026 GB Notification: Performance of SimCode: time 1.712e-06/53.02, allocations: 2.406 kB / 12.78 GB, free: 36.18 MB / 1.026 GB Notification: Performance of Templates: time 1.565/54.58, allocations: 361.9 MB / 13.13 GB, free: 59.02 MB / 1.042 GB