Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.161/2.161, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 179.7 kB / 325.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.249/2.249, allocations: 205.4 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 98.3 kB / 0.6811 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004826, allocations: 11.19 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2115, allocations: 106.3 MB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.291/7.503, allocations: 2.497 GB / 3.395 GB, free: 21.93 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/7.503, allocations: 99.59 kB / 3.396 GB, free: 21.88 MB / 0.8855 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 49.13/56.64, allocations: 9.016 GB / 12.41 GB, free: 46.42 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.108e-06/56.64, allocations: 3.703 kB / 12.41 GB, free: 46.42 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.005416/56.64, allocations: 387.5 kB / 12.41 GB, free: 46.37 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3034 * Number of variables: 3034 Notification: Performance of Generate backend data structure: time 0.1008/56.74, allocations: 20.63 MB / 12.43 GB, free: 40.05 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/56.74, allocations: 9.281 kB / 12.43 GB, free: 40.05 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03477/56.78, allocations: 3.594 MB / 12.44 GB, free: 39.12 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1029/56.88, allocations: 28.92 MB / 12.46 GB, free: 37.04 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001583/56.88, allocations: 0.8943 MB / 12.46 GB, free: 37.01 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008034/56.89, allocations: 1.215 MB / 12.47 GB, free: 37 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07959/56.97, allocations: 21.94 MB / 12.49 GB, free: 36.01 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001024/56.97, allocations: 40.17 kB / 12.49 GB, free: 36 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006639/56.98, allocations: 493.7 kB / 12.49 GB, free: 36 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008656/56.98, allocations: 0.5398 MB / 12.49 GB, free: 35.98 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06592/57.04, allocations: 20.19 MB / 12.51 GB, free: 35.88 MB / 1.01 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.2272/57.27, allocations: 94.07 MB / 12.6 GB, free: 6.859 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03699/57.31, allocations: 14.1 MB / 12.61 GB, free: 10.93 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002446/57.31, allocations: 0.9913 MB / 12.61 GB, free: 9.809 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02181/57.33, allocations: 7.338 MB / 12.62 GB, free: 4.133 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01728/57.35, allocations: 1.58 MB / 12.62 GB, free: 2.906 MB / 1.057 GB Notification: Performance of pre-optimization done (n=711): time 2.476e-05/57.35, allocations: 0 / 12.62 GB, free: 2.906 MB / 1.057 GB Notification: Performance of matching and sorting (n=723): time 2.011/59.36, allocations: 36.69 MB / 12.66 GB, free: 96.1 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/59.36, allocations: 260.1 kB / 12.66 GB, free: 95.87 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04707/59.41, allocations: 15.71 MB / 12.67 GB, free: 95.31 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.003007/59.41, allocations: 184.8 kB / 12.67 GB, free: 95.28 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.01512/59.43, allocations: 7.202 MB / 12.68 GB, free: 93.82 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.006273/59.43, allocations: 2.612 MB / 12.68 GB, free: 92.55 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002548/59.44, allocations: 148.7 kB / 12.68 GB, free: 92.55 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.001141/59.44, allocations: 0.6588 MB / 12.69 GB, free: 92.23 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01695/59.45, allocations: 6.352 MB / 12.69 GB, free: 92.21 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02006/59.48, allocations: 8.744 MB / 12.7 GB, free: 90.16 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02107/59.5, allocations: 8.277 MB / 12.71 GB, free: 90.03 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.164e-05/59.5, allocations: 9.625 kB / 12.71 GB, free: 90.03 MB / 1.057 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.05144/59.55, allocations: 16.27 MB / 12.72 GB, free: 89.18 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.004099/59.55, allocations: 20.77 MB / 12.74 GB, free: 67.77 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001908/59.55, allocations: 36.62 kB / 12.74 GB, free: 67.77 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/59.55, allocations: 493.3 kB / 12.74 GB, free: 67.76 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01806/59.57, allocations: 1.994 MB / 12.75 GB, free: 67.76 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/59.58, allocations: 6.389 MB / 12.75 GB, free: 65.81 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03152/59.62, allocations: 2.163 MB / 12.76 GB, free: 65.75 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003697/59.62, allocations: 303.8 kB / 12.76 GB, free: 65.75 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/59.62, allocations: 3 kB / 12.76 GB, free: 65.75 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05043/59.67, allocations: 15.24 MB / 12.77 GB, free: 65.53 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/59.67, allocations: 36.28 kB / 12.77 GB, free: 65.53 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/59.67, allocations: 0.4904 MB / 12.77 GB, free: 65.51 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01764/59.69, allocations: 1.985 MB / 12.77 GB, free: 65.51 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/59.7, allocations: 5.789 MB / 12.78 GB, free: 64.13 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02861/59.73, allocations: 2.13 MB / 12.78 GB, free: 64.09 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002748/59.73, allocations: 302.9 kB / 12.78 GB, free: 64.09 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * Number of states: 0 () * Number of discrete variables: 12 ($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,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (921): * Single equations (assignments): 918 * 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.02505/59.76, allocations: 10.28 MB / 12.79 GB, free: 63.86 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006161/59.76, allocations: 1.174 MB / 12.79 GB, free: 63.25 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05042/59.81, allocations: 15.28 MB / 12.81 GB, free: 62.85 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.023e-05/59.81, allocations: 80.84 kB / 12.81 GB, free: 62.84 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/59.81, allocations: 2.938 kB / 12.81 GB, free: 62.84 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03575/59.85, allocations: 12.68 MB / 12.82 GB, free: 62.27 MB / 1.057 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.1186/59.97, allocations: 38.15 MB / 12.86 GB, free: 60.66 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.259e-05/59.97, allocations: 5.953 kB / 12.86 GB, free: 60.66 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01925/59.99, allocations: 2.145 MB / 12.86 GB, free: 60.66 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001843/59.99, allocations: 450.8 kB / 12.86 GB, free: 60.65 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002357/59.99, allocations: 240.9 kB / 12.86 GB, free: 60.65 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/60, allocations: 6.33 MB / 12.87 GB, free: 58.68 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/60, allocations: 8.25 kB / 12.87 GB, free: 58.68 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06311/60.07, allocations: 24.93 MB / 12.89 GB, free: 55.71 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02176/60.09, allocations: 4.163 MB / 12.89 GB, free: 55.01 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009416/60.1, allocations: 223.9 kB / 12.89 GB, free: 55.01 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.034/60.13, allocations: 1.783 MB / 12.9 GB, free: 54.98 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002823/60.14, allocations: 446.1 kB / 12.9 GB, free: 54.96 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002085/60.14, allocations: 261.5 kB / 12.9 GB, free: 54.96 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.03345/60.17, allocations: 12.48 MB / 12.91 GB, free: 53.52 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.693e-06/60.17, allocations: 0 / 12.91 GB, free: 53.52 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.06396/60.24, allocations: 8.695 MB / 12.92 GB, free: 52.71 MB / 1.057 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 (705): * Single equations (assignments): 698 * 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.01257/60.25, allocations: 4.951 MB / 12.92 GB, free: 48.96 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.05682/60.3, allocations: 22.31 MB / 12.94 GB, free: 30.39 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.181e-05/60.3, allocations: 12.16 kB / 12.94 GB, free: 30.38 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01782/60.32, allocations: 7.055 MB / 12.95 GB, free: 24.48 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1269/60.45, allocations: 9.313 MB / 12.96 GB, free: 18.4 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1339/60.58, allocations: 50.17 MB / 13.01 GB, free: 7.133 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05628/60.64, allocations: 14.36 MB / 13.02 GB, free: 15.96 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.06165/60.7, allocations: 13.36 MB / 13.04 GB, free: 7.328 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00864/60.71, allocations: 0.8878 MB / 13.04 GB, free: 6.496 MB / 1.104 GB Notification: Performance of SimCode: time 3.677e-06/60.71, allocations: 0 / 13.04 GB, free: 6.496 MB / 1.104 GB Notification: Performance of Templates: time 1.827/62.54, allocations: 364.4 MB / 13.39 GB, free: 9.273 MB / 1.104 GB