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.337/2.337, allocations: 252.6 MB / 265.2 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 181.3 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.001076/0.001076, allocations: 100.2 kB / 0.6797 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.922e-05/3.94e-05, allocations: 8 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2037, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.068/8.272, allocations: 2.502 GB / 3.397 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/8.272, allocations: 91.45 kB / 3.397 GB, free: 146.6 MB / 0.8698 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.84/70.11, allocations: 11.23 GB / 14.63 GB, free: 66.61 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.374e-06/70.11, allocations: 0 / 14.63 GB, free: 66.61 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.006624/70.12, allocations: 430 kB / 14.63 GB, free: 66.56 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.09323/70.21, allocations: 17.91 MB / 14.64 GB, free: 61.1 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/70.21, allocations: 9.062 kB / 14.64 GB, free: 61.1 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0419/70.25, allocations: 4.128 MB / 14.65 GB, free: 60.05 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1297/70.38, allocations: 35.29 MB / 14.68 GB, free: 57.67 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001878/70.39, allocations: 1.035 MB / 14.68 GB, free: 57.64 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009057/70.39, allocations: 1.405 MB / 14.69 GB, free: 57.63 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0947/70.49, allocations: 24.91 MB / 14.71 GB, free: 56.58 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001222/70.49, allocations: 28.38 kB / 14.71 GB, free: 56.58 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008231/70.5, allocations: 0.5623 MB / 14.71 GB, free: 56.58 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009342/70.5, allocations: 0.6083 MB / 14.71 GB, free: 56.55 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07669/70.58, allocations: 22.85 MB / 14.73 GB, free: 56.44 MB / 1.042 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.259/70.84, allocations: 99.13 MB / 14.83 GB, free: 26.74 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03231/70.87, allocations: 12.82 MB / 14.84 GB, free: 26.32 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02455/70.89, allocations: 9.671 MB / 14.85 GB, free: 26.2 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002592/70.9, allocations: 1.009 MB / 14.85 GB, free: 25.25 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02777/70.92, allocations: 8.299 MB / 14.86 GB, free: 25 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02327/70.95, allocations: 1.981 MB / 14.86 GB, free: 24.65 MB / 1.042 GB Notification: Performance of pre-optimization done (n=781): time 5.218e-05/70.95, allocations: 1.375 kB / 14.86 GB, free: 24.65 MB / 1.042 GB Notification: Performance of matching and sorting (n=783): time 0.1644/71.11, allocations: 36.08 MB / 14.9 GB, free: 13.39 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/71.11, allocations: 324.3 kB / 14.9 GB, free: 13.09 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05065/71.16, allocations: 16.68 MB / 14.91 GB, free: 16.91 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.003025/71.17, allocations: 193.7 kB / 14.91 GB, free: 16.71 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.01831/71.18, allocations: 8.142 MB / 14.92 GB, free: 9.312 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.006736/71.19, allocations: 2.827 MB / 14.93 GB, free: 6.742 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002252/71.19, allocations: 168 kB / 14.93 GB, free: 6.578 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.001336/71.19, allocations: 0.7085 MB / 14.93 GB, free: 5.965 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01917/71.21, allocations: 6.809 MB / 14.93 GB, free: 144 kB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06236/71.28, allocations: 11.96 MB / 14.94 GB, free: 12.53 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.2095/71.49, allocations: 31.74 MB / 14.98 GB, free: 9.285 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.317e-05/71.49, allocations: 12 kB / 14.98 GB, free: 9.273 MB / 1.089 GB Notification: Performance of matching and sorting (n=1079) (initialization): time 2.146/73.63, allocations: 19.43 MB / 14.99 GB, free: 100.6 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.00635/73.64, allocations: 30.39 MB / 15.02 GB, free: 69.15 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002453/73.64, allocations: 47.53 kB / 15.02 GB, free: 69.15 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/73.64, allocations: 96.98 kB / 15.02 GB, free: 69.14 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.022/73.66, allocations: 2.332 MB / 15.03 GB, free: 69.14 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/73.66, allocations: 1.296 MB / 15.03 GB, free: 67.98 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02902/73.69, allocations: 1.889 MB / 15.03 GB, free: 67.98 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00346/73.69, allocations: 351 kB / 15.03 GB, free: 67.98 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/73.69, allocations: 7.422 kB / 15.03 GB, free: 67.98 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06536/73.76, allocations: 16.22 MB / 15.05 GB, free: 67.77 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004224/73.76, allocations: 48.72 kB / 15.05 GB, free: 67.77 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000449/73.76, allocations: 95.38 kB / 15.05 GB, free: 67.77 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02815/73.79, allocations: 2.312 MB / 15.05 GB, free: 67.77 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004567/73.79, allocations: 120.8 kB / 15.05 GB, free: 67.77 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02984/73.82, allocations: 1.852 MB / 15.05 GB, free: 67.77 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003622/73.82, allocations: 351.1 kB / 15.05 GB, free: 67.77 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 () * 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.006984/73.83, allocations: 0.6552 MB / 15.05 GB, free: 67.63 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007404/73.84, allocations: 1.333 MB / 15.05 GB, free: 67.62 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05599/73.89, allocations: 16.21 MB / 15.07 GB, free: 67.22 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/73.89, allocations: 77.62 kB / 15.07 GB, free: 67.22 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.448e-05/73.89, allocations: 0.5625 kB / 15.07 GB, free: 67.22 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03929/73.93, allocations: 13.21 MB / 15.08 GB, free: 66.66 MB / 1.089 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.1321/74.07, allocations: 40.99 MB / 15.12 GB, free: 64.17 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.415e-05/74.07, allocations: 14.16 kB / 15.12 GB, free: 64.17 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02236/74.09, allocations: 2.325 MB / 15.12 GB, free: 64.17 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/74.09, allocations: 41.66 kB / 15.12 GB, free: 64.17 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003141/74.09, allocations: 262 kB / 15.12 GB, free: 64.17 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008819/74.09, allocations: 1.224 MB / 15.13 GB, free: 63 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-05/74.09, allocations: 17.84 kB / 15.13 GB, free: 63 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07679/74.17, allocations: 29.57 MB / 15.15 GB, free: 57.26 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0196/74.19, allocations: 4.122 MB / 15.16 GB, free: 57.16 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007753/74.2, allocations: 237.1 kB / 15.16 GB, free: 57.16 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02558/74.22, allocations: 1.631 MB / 15.16 GB, free: 57.16 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003201/74.23, allocations: 498.2 kB / 15.16 GB, free: 57.14 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002829/74.23, allocations: 289.5 kB / 15.16 GB, free: 57.14 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.039/74.27, allocations: 13.46 MB / 15.17 GB, free: 56.73 MB / 1.089 GB Notification: Performance of sort global known variables: time 7.01e-07/74.27, allocations: 0 / 15.17 GB, free: 56.73 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.08618/74.35, allocations: 7.918 MB / 15.18 GB, free: 56.73 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) * 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.01322/74.37, allocations: 5.013 MB / 15.19 GB, free: 54.64 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.06247/74.43, allocations: 23.87 MB / 15.21 GB, free: 54.26 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-05/74.43, allocations: 10.22 kB / 15.21 GB, free: 54.25 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.01928/74.45, allocations: 7.328 MB / 15.22 GB, free: 54.16 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08435/74.53, allocations: 10.47 MB / 15.23 GB, free: 54.05 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1527/74.69, allocations: 45.36 MB / 15.27 GB, free: 48.25 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03812/74.72, allocations: 14.63 MB / 15.29 GB, free: 45.8 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.1124/74.84, allocations: 27.02 MB / 15.31 GB, free: 29.65 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008517/74.85, allocations: 0.7762 MB / 15.31 GB, free: 28.94 MB / 1.089 GB Notification: Performance of SimCode: time 1.413e-06/74.85, allocations: 0 / 15.31 GB, free: 28.94 MB / 1.089 GB Notification: Performance of Templates: time 2.06/76.9, allocations: 420.3 MB / 15.72 GB, free: 42.75 MB / 1.12 GB