Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.004/4.004, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.469e-05, allocations: 4 kB / 0.5325 GB, free: 1.879 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.4931, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.987/6.48, allocations: 2.49 GB / 3.119 GB, free: 204 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/6.481, allocations: 87.95 kB / 3.119 GB, free: 204 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 41.22/47.7, allocations: 8.9 GB / 12.02 GB, free: 67.45 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.772e-06/47.7, allocations: 2.188 kB / 12.02 GB, free: 67.45 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.004612/47.7, allocations: 385.8 kB / 12.02 GB, free: 67.39 MB / 0.9636 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.06317/47.77, allocations: 15.93 MB / 12.04 GB, free: 62.29 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/47.77, allocations: 11.97 kB / 12.04 GB, free: 62.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03195/47.8, allocations: 3.579 MB / 12.04 GB, free: 61.36 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08224/47.88, allocations: 29.03 MB / 12.07 GB, free: 59.31 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000806/47.88, allocations: 377.8 kB / 12.07 GB, free: 59.31 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006222/47.89, allocations: 0.7178 MB / 12.07 GB, free: 59.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04805/47.94, allocations: 18.83 MB / 12.09 GB, free: 59.25 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06018/48, allocations: 19.87 MB / 12.11 GB, free: 58.33 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007177/48, allocations: 32.47 kB / 12.11 GB, free: 58.32 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005024/48, allocations: 12.19 kB / 12.11 GB, free: 58.32 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006435/48, allocations: 0.5323 MB / 12.11 GB, free: 58.3 MB / 0.9636 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.1736/48.18, allocations: 91.27 MB / 12.2 GB, free: 27.68 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02616/48.2, allocations: 15.98 MB / 12.21 GB, free: 36.97 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01508/48.22, allocations: 8.189 MB / 12.22 GB, free: 32.24 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/48.22, allocations: 0.989 MB / 12.22 GB, free: 31.12 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01372/48.23, allocations: 6.717 MB / 12.23 GB, free: 25.82 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01289/48.25, allocations: 1.428 MB / 12.23 GB, free: 24.81 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=709): time 4.703e-05/48.25, allocations: 4 kB / 12.23 GB, free: 24.81 MB / 0.9792 GB Notification: Performance of matching and sorting (n=721): time 0.08765/48.34, allocations: 27.94 MB / 12.26 GB, free: 0.6953 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002185/48.34, allocations: 257.5 kB / 12.26 GB, free: 408 kB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04426/48.38, allocations: 15.17 MB / 12.27 GB, free: 4.484 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002234/48.38, allocations: 41.7 kB / 12.27 GB, free: 4.438 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01535/48.4, allocations: 7.213 MB / 12.28 GB, free: 13.87 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.005819/48.4, allocations: 2.516 MB / 12.28 GB, free: 11.54 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/48.41, allocations: 0 / 12.28 GB, free: 11.54 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001138/48.41, allocations: 0.6554 MB / 12.28 GB, free: 10.96 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01312/48.42, allocations: 5.92 MB / 12.29 GB, free: 5.934 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487/49.91, allocations: 8.241 MB / 12.3 GB, free: 110.4 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01924/49.93, allocations: 7.887 MB / 12.3 GB, free: 110.3 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001142/49.93, allocations: 10.75 kB / 12.3 GB, free: 110.3 MB / 1.011 GB Notification: Performance of matching and sorting (n=948) (initialization): time 0.03813/49.96, allocations: 15.05 MB / 12.32 GB, free: 110.1 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.00397/49.97, allocations: 20.82 MB / 12.34 GB, free: 88.6 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002095/49.97, allocations: 32.25 kB / 12.34 GB, free: 88.6 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/49.97, allocations: 483.7 kB / 12.34 GB, free: 88.59 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01195/49.98, allocations: 1.987 MB / 12.34 GB, free: 88.59 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009564/49.99, allocations: 6.06 MB / 12.35 GB, free: 86.75 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02233/50.01, allocations: 1.99 MB / 12.35 GB, free: 86.74 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002392/50.02, allocations: 302.9 kB / 12.35 GB, free: 86.74 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/50.02, allocations: 4.188 kB / 12.35 GB, free: 86.74 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03404/50.05, allocations: 13.86 MB / 12.36 GB, free: 86.54 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001627/50.05, allocations: 36.58 kB / 12.36 GB, free: 86.54 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/50.05, allocations: 481.2 kB / 12.36 GB, free: 86.54 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0123/50.06, allocations: 1.967 MB / 12.36 GB, free: 86.54 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009231/50.07, allocations: 5.467 MB / 12.37 GB, free: 85.27 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02179/50.1, allocations: 1.957 MB / 12.37 GB, free: 85.27 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002467/50.1, allocations: 301.9 kB / 12.37 GB, free: 85.27 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * 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 () * 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.004061/50.1, allocations: 318.5 kB / 12.37 GB, free: 85.12 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005041/50.11, allocations: 1.151 MB / 12.37 GB, free: 85.12 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03695/50.14, allocations: 14.08 MB / 12.39 GB, free: 84.71 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.211e-05/50.14, allocations: 69.66 kB / 12.39 GB, free: 84.71 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.411e-05/50.14, allocations: 5.062 kB / 12.39 GB, free: 84.71 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02717/50.17, allocations: 11.67 MB / 12.4 GB, free: 84.16 MB / 1.011 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.08756/50.26, allocations: 34.86 MB / 12.43 GB, free: 82.85 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-05/50.26, allocations: 8.469 kB / 12.43 GB, free: 82.85 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01392/50.27, allocations: 2.128 MB / 12.43 GB, free: 82.85 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/50.28, allocations: 434.4 kB / 12.44 GB, free: 82.84 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001827/50.28, allocations: 142.8 kB / 12.44 GB, free: 82.84 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009204/50.29, allocations: 6.002 MB / 12.44 GB, free: 80.98 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/50.29, allocations: 8 kB / 12.44 GB, free: 80.98 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04415/50.33, allocations: 23.34 MB / 12.46 GB, free: 78.59 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01489/50.35, allocations: 3.989 MB / 12.47 GB, free: 77.9 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005444/50.35, allocations: 108.8 kB / 12.47 GB, free: 77.9 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01898/50.37, allocations: 1.646 MB / 12.47 GB, free: 77.87 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002267/50.37, allocations: 444.4 kB / 12.47 GB, free: 77.86 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001666/50.37, allocations: 238.8 kB / 12.47 GB, free: 77.86 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.02718/50.4, allocations: 11.71 MB / 12.48 GB, free: 77.54 MB / 1.011 GB Notification: Performance of sort global known variables: time 1.131e-06/50.4, allocations: 1.188 kB / 12.48 GB, free: 77.54 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.05097/50.45, allocations: 8.185 MB / 12.49 GB, free: 77.54 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) * 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.01054/50.46, allocations: 5.183 MB / 12.49 GB, free: 75.47 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.0418/50.5, allocations: 21.21 MB / 12.52 GB, free: 74.89 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 2.233e-05/50.5, allocations: 11.55 kB / 12.52 GB, free: 74.89 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.01316/50.52, allocations: 6.598 MB / 12.52 GB, free: 74.68 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05139/50.57, allocations: 9.102 MB / 12.53 GB, free: 74.48 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1048/50.67, allocations: 40.36 MB / 12.57 GB, free: 55.58 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02968/50.7, allocations: 13.06 MB / 12.58 GB, free: 47.95 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.07406/50.78, allocations: 23.56 MB / 12.61 GB, free: 33.8 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004826/50.78, allocations: 0.6828 MB / 12.61 GB, free: 33.18 MB / 1.011 GB Notification: Performance of SimCode: time 1.843e-06/50.78, allocations: 1.312 kB / 12.61 GB, free: 33.18 MB / 1.011 GB Notification: Performance of Templates: time 1.431/52.21, allocations: 321.3 MB / 12.92 GB, free: 77.03 MB / 1.026 GB