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.004369/0.004373, allocations: 230.9 kB / 15.82 MB, free: 6.293 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.001246/0.001246, allocations: 174.2 kB / 16.7 MB, free: 5.453 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 3.776/3.776, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.835/3.835, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006404/0.0006406, allocations: 14.78 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.174, allocations: 98.72 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.489/7.663, allocations: 2.481 GB / 3.586 GB, free: 89.41 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/7.663, allocations: 104.1 kB / 3.586 GB, free: 89.36 MB / 0.8386 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 46.98/54.64, allocations: 8.877 GB / 12.46 GB, free: 66.72 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.795e-06/54.64, allocations: 0 / 12.46 GB, free: 66.72 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.005873/54.65, allocations: 383.7 kB / 12.46 GB, free: 66.67 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.1038/54.75, allocations: 20.63 MB / 12.48 GB, free: 60.38 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/54.75, allocations: 6.844 kB / 12.48 GB, free: 60.38 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03421/54.78, allocations: 3.589 MB / 12.49 GB, free: 59.45 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09942/54.88, allocations: 28.65 MB / 12.51 GB, free: 57.35 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001501/54.89, allocations: 0.8916 MB / 12.52 GB, free: 57.33 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007745/54.89, allocations: 1.215 MB / 12.52 GB, free: 57.31 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08206/54.98, allocations: 21.94 MB / 12.54 GB, free: 56.34 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001017/54.98, allocations: 35.62 kB / 12.54 GB, free: 56.34 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006862/54.98, allocations: 493.1 kB / 12.54 GB, free: 56.34 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008547/54.98, allocations: 0.5346 MB / 12.54 GB, free: 56.31 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06746/55.05, allocations: 20.18 MB / 12.56 GB, free: 56.22 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.2253/55.28, allocations: 93.38 MB / 12.65 GB, free: 20.66 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03262/55.31, allocations: 13.88 MB / 12.66 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02084/55.33, allocations: 8.66 MB / 12.67 GB, free: 7.434 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002117/55.33, allocations: 0.9954 MB / 12.67 GB, free: 6.316 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02029/55.35, allocations: 7.262 MB / 12.68 GB, free: 0.6914 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02055/55.37, allocations: 1.723 MB / 12.68 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=709): time 3.112e-05/55.37, allocations: 0 / 12.68 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=721): time 0.1502/55.52, allocations: 36.66 MB / 12.72 GB, free: 1.891 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/55.52, allocations: 261.5 kB / 12.72 GB, free: 1.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.863/57.39, allocations: 16.85 MB / 12.73 GB, free: 96.6 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.002913/57.39, allocations: 184.9 kB / 12.73 GB, free: 96.57 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01576/57.41, allocations: 7.248 MB / 12.74 GB, free: 96.39 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.006255/57.41, allocations: 2.602 MB / 12.74 GB, free: 95.71 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001358/57.41, allocations: 148.1 kB / 12.74 GB, free: 95.71 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0009548/57.41, allocations: 0.6568 MB / 12.74 GB, free: 95.39 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.017/57.43, allocations: 6.34 MB / 12.75 GB, free: 95.38 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02027/57.45, allocations: 8.753 MB / 12.76 GB, free: 93.34 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02174/57.47, allocations: 8.26 MB / 12.77 GB, free: 93.21 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.155e-05/57.47, allocations: 9.188 kB / 12.77 GB, free: 93.21 MB / 1.011 GB Notification: Performance of matching and sorting (n=948) (initialization): time 0.05034/57.52, allocations: 16.2 MB / 12.78 GB, free: 92.38 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008064/57.52, allocations: 1.182 MB / 12.78 GB, free: 90.98 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.772e-05/57.52, allocations: 32.12 kB / 12.78 GB, free: 90.98 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002097/57.53, allocations: 494 kB / 12.78 GB, free: 90.97 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01812/57.55, allocations: 1.997 MB / 12.79 GB, free: 90.97 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/57.56, allocations: 6.226 MB / 12.79 GB, free: 89.02 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03/57.59, allocations: 2.139 MB / 12.79 GB, free: 88.97 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002751/57.59, allocations: 296.3 kB / 12.8 GB, free: 88.97 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/57.59, allocations: 5.656 kB / 12.8 GB, free: 88.97 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04477/57.63, allocations: 15.13 MB / 12.81 GB, free: 88.74 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001511/57.63, allocations: 38.78 kB / 12.81 GB, free: 88.74 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/57.64, allocations: 496.3 kB / 12.81 GB, free: 88.73 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01729/57.65, allocations: 1.972 MB / 12.81 GB, free: 88.73 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/57.66, allocations: 5.63 MB / 12.82 GB, free: 87.36 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0295/57.69, allocations: 2.111 MB / 12.82 GB, free: 87.31 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002803/57.7, allocations: 300.4 kB / 12.82 GB, free: 87.31 MB / 1.011 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.0261/57.72, allocations: 10.28 MB / 12.83 GB, free: 87.09 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006241/57.73, allocations: 1.166 MB / 12.83 GB, free: 86.49 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04925/57.78, allocations: 15.21 MB / 12.85 GB, free: 86.07 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.559e-05/57.78, allocations: 73.28 kB / 12.85 GB, free: 86.07 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/57.78, allocations: 5.094 kB / 12.85 GB, free: 86.07 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03663/57.82, allocations: 12.6 MB / 12.86 GB, free: 85.5 MB / 1.011 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.1193/57.93, allocations: 37.47 MB / 12.9 GB, free: 84.11 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.679e-05/57.93, allocations: 3.875 kB / 12.9 GB, free: 84.11 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01885/57.95, allocations: 2.137 MB / 12.9 GB, free: 84.11 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/57.96, allocations: 443.7 kB / 12.9 GB, free: 84.1 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002395/57.96, allocations: 241.7 kB / 12.9 GB, free: 84.1 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/57.97, allocations: 6.17 MB / 12.9 GB, free: 82.13 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/57.97, allocations: 10.88 kB / 12.9 GB, free: 82.13 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06026/58.03, allocations: 23.48 MB / 12.93 GB, free: 80.66 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01792/58.05, allocations: 3.973 MB / 12.93 GB, free: 79.96 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007172/58.05, allocations: 221.4 kB / 12.93 GB, free: 79.96 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0249/58.08, allocations: 1.762 MB / 12.93 GB, free: 79.93 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002975/58.08, allocations: 438.7 kB / 12.93 GB, free: 79.92 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002241/58.08, allocations: 241.3 kB / 12.93 GB, free: 79.92 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.03406/58.12, allocations: 12.03 MB / 12.95 GB, free: 79.6 MB / 1.011 GB Notification: Performance of sort global known variables: time 8.92e-07/58.12, allocations: 3.906 kB / 12.95 GB, free: 79.6 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.05847/58.18, allocations: 8.634 MB / 12.95 GB, free: 79.6 MB / 1.011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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.01161/58.19, allocations: 4.934 MB / 12.96 GB, free: 77.54 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.05633/58.25, allocations: 22.28 MB / 12.98 GB, free: 67.3 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 2.05e-05/58.25, allocations: 7.031 kB / 12.98 GB, free: 67.29 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.01814/58.26, allocations: 7.038 MB / 12.99 GB, free: 61.41 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08023/58.34, allocations: 9.463 MB / 13 GB, free: 55.15 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1255/58.47, allocations: 50.15 MB / 13.05 GB, free: 11.74 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0337/58.5, allocations: 13.04 MB / 13.06 GB, free: 1.488 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.1223/58.63, allocations: 16.79 MB / 13.07 GB, free: 0 / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01153/58.64, allocations: 1.044 MB / 13.08 GB, free: 15.48 MB / 1.026 GB Notification: Performance of SimCode: time 2.014e-06/58.64, allocations: 0 / 13.08 GB, free: 15.48 MB / 1.026 GB Notification: Performance of Templates: time 1.8/60.44, allocations: 361 MB / 13.43 GB, free: 10.91 MB / 1.057 GB