Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.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.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.148/2.148, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001547/0.001547, allocations: 182.9 kB / 325.6 MB, free: 2.816 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.335/2.335, allocations: 205.4 MB / 0.5766 GB, free: 21.1 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.001137/0.001137, allocations: 102.8 kB / 0.6811 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004996, allocations: 17.77 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2072, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.448/7.655, allocations: 2.502 GB / 3.401 GB, free: 16.53 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/7.656, allocations: 104.4 kB / 3.401 GB, free: 16.47 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 61.21/68.87, allocations: 11.25 GB / 14.65 GB, free: 66.76 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.735e-06/68.87, allocations: 2.781 kB / 14.65 GB, free: 66.76 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.005912/68.87, allocations: 429.4 kB / 14.65 GB, free: 66.71 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: 3533 * Number of variables: 3533 Notification: Performance of Generate backend data structure: time 0.1158/68.99, allocations: 22.81 MB / 14.67 GB, free: 60.01 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/68.99, allocations: 10.78 kB / 14.67 GB, free: 60.01 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04161/69.03, allocations: 4.152 MB / 14.67 GB, free: 58.96 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1268/69.16, allocations: 35.44 MB / 14.71 GB, free: 56.58 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001945/69.16, allocations: 1.038 MB / 14.71 GB, free: 56.55 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009739/69.17, allocations: 1.4 MB / 14.71 GB, free: 56.54 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09805/69.27, allocations: 25.23 MB / 14.74 GB, free: 55.48 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001277/69.27, allocations: 28.09 kB / 14.74 GB, free: 55.48 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0082/69.28, allocations: 0.5598 MB / 14.74 GB, free: 55.48 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009809/69.28, allocations: 0.6076 MB / 14.74 GB, free: 55.45 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08107/69.36, allocations: 23.26 MB / 14.76 GB, free: 55.34 MB / 1.042 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.257/69.62, allocations: 99.12 MB / 14.86 GB, free: 25.64 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03346/69.65, allocations: 13.04 MB / 14.87 GB, free: 25.23 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002472/69.65, allocations: 1.008 MB / 14.87 GB, free: 24.28 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02516/69.68, allocations: 8.429 MB / 14.88 GB, free: 24.03 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01861/69.7, allocations: 1.979 MB / 14.88 GB, free: 23.68 MB / 1.042 GB Notification: Performance of pre-optimization done (n=781): time 4.308e-05/69.7, allocations: 3.688 kB / 14.88 GB, free: 23.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=783): time 0.1658/69.86, allocations: 43.05 MB / 14.92 GB, free: 28.41 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002479/69.86, allocations: 315.4 kB / 14.92 GB, free: 28.12 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05111/69.91, allocations: 16.8 MB / 14.94 GB, free: 18.9 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.003332/69.92, allocations: 196.9 kB / 14.94 GB, free: 18.71 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.01884/69.94, allocations: 8.154 MB / 14.95 GB, free: 11.31 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.00749/69.94, allocations: 2.828 MB / 14.95 GB, free: 8.734 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003071/69.95, allocations: 164 kB / 14.95 GB, free: 8.574 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.001556/69.95, allocations: 0.708 MB / 14.95 GB, free: 7.961 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02098/69.97, allocations: 6.945 MB / 14.96 GB, free: 2.238 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05034/70.02, allocations: 11.19 MB / 14.97 GB, free: 12.54 MB / 1.073 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0 (sin_2.p = 101325.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.2092/70.23, allocations: 31.62 MB / 15 GB, free: 9.344 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.977e-05/70.23, allocations: 12 kB / 15 GB, free: 9.332 MB / 1.089 GB Notification: Performance of matching and sorting (n=1079) (initialization): time 2.153/72.38, allocations: 19.78 MB / 15.02 GB, free: 101.9 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.00642/72.39, allocations: 30.48 MB / 15.05 GB, free: 70.32 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000213/72.39, allocations: 48.75 kB / 15.05 GB, free: 70.32 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/72.39, allocations: 96.98 kB / 15.05 GB, free: 70.32 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02072/72.41, allocations: 2.327 MB / 15.05 GB, free: 70.32 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/72.41, allocations: 1.295 MB / 15.05 GB, free: 69.16 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02887/72.44, allocations: 1.893 MB / 15.05 GB, free: 69.16 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003965/72.45, allocations: 352.5 kB / 15.05 GB, free: 69.16 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/72.45, allocations: 7.859 kB / 15.05 GB, free: 69.15 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05299/72.5, allocations: 16.5 MB / 15.07 GB, free: 68.94 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/72.5, allocations: 45.81 kB / 15.07 GB, free: 68.94 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/72.5, allocations: 98.66 kB / 15.07 GB, free: 68.94 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01963/72.52, allocations: 2.317 MB / 15.07 GB, free: 68.94 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002301/72.52, allocations: 113 kB / 15.07 GB, free: 68.94 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02765/72.55, allocations: 1.852 MB / 15.08 GB, free: 68.94 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00339/72.55, allocations: 352.6 kB / 15.08 GB, free: 68.94 MB / 1.089 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * 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 (1074): * Single equations (assignments): 1071 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.03045/72.58, allocations: 11.56 MB / 15.09 GB, free: 68.72 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006923/72.59, allocations: 1.336 MB / 15.09 GB, free: 68.71 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05315/72.64, allocations: 16.45 MB / 15.1 GB, free: 68.32 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.133e-05/72.64, allocations: 77.78 kB / 15.1 GB, free: 68.32 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/72.64, allocations: 2.875 kB / 15.1 GB, free: 68.32 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03857/72.68, allocations: 13.46 MB / 15.12 GB, free: 67.76 MB / 1.089 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.1262/72.81, allocations: 41.26 MB / 15.16 GB, free: 65.27 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.511e-05/72.81, allocations: 12.22 kB / 15.16 GB, free: 65.27 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02031/72.83, allocations: 2.334 MB / 15.16 GB, free: 65.27 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/72.83, allocations: 36.31 kB / 15.16 GB, free: 65.27 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002425/72.83, allocations: 265.8 kB / 15.16 GB, free: 65.27 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006566/72.83, allocations: 1.221 MB / 15.16 GB, free: 64.1 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-05/72.83, allocations: 22.59 kB / 15.16 GB, free: 64.1 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06633/72.9, allocations: 29.93 MB / 15.19 GB, free: 58.36 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01992/72.92, allocations: 4.117 MB / 15.19 GB, free: 58.27 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007912/72.92, allocations: 244.4 kB / 15.19 GB, free: 58.27 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0248/72.95, allocations: 1.628 MB / 15.2 GB, free: 58.27 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00326/72.95, allocations: 492.4 kB / 15.2 GB, free: 58.25 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002819/72.95, allocations: 290.6 kB / 15.2 GB, free: 58.25 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0393/72.99, allocations: 13.59 MB / 15.21 GB, free: 57.89 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.192e-06/72.99, allocations: 1.5 kB / 15.21 GB, free: 57.89 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.05137/73.05, allocations: 7.916 MB / 15.22 GB, free: 57.89 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 50 (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.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 (789): * Single equations (assignments): 782 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01255/73.06, allocations: 5.036 MB / 15.22 GB, free: 55.81 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.06284/73.12, allocations: 23.81 MB / 15.25 GB, free: 55.5 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.683e-05/73.12, allocations: 12.81 kB / 15.25 GB, free: 55.5 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.02004/73.14, allocations: 7.452 MB / 15.25 GB, free: 55.41 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08218/73.22, allocations: 10.47 MB / 15.26 GB, free: 55.27 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1509/73.37, allocations: 56.04 MB / 15.32 GB, free: 39.71 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03889/73.41, allocations: 14.61 MB / 15.33 GB, free: 31.26 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.06844/73.48, allocations: 14.92 MB / 15.35 GB, free: 21.59 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.011/73.49, allocations: 1.01 MB / 15.35 GB, free: 20.67 MB / 1.089 GB Notification: Performance of SimCode: time 2.074e-06/73.49, allocations: 0 / 15.35 GB, free: 20.67 MB / 1.089 GB Notification: Performance of Templates: time 2.174/75.67, allocations: 389.3 MB / 15.73 GB, free: 66.53 MB / 1.12 GB