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.376/2.376, allocations: 253.2 MB / 260.6 MB, free: 7.488 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.001538/0.001537, allocations: 179.8 kB / 319.9 MB, free: 3.074 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 1.996/1.996, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001152/0.001152, allocations: 95.59 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.119e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2155, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.071/8.287, allocations: 2.503 GB / 3.391 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/8.287, allocations: 90.02 kB / 3.391 GB, free: 168.1 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.85/70.14, allocations: 11.13 GB / 14.53 GB, free: 27.09 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.914e-06/70.14, allocations: 3.75 kB / 14.53 GB, free: 27.09 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.005965/70.15, allocations: 434.7 kB / 14.53 GB, free: 27 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: 3533 * Number of variables: 3533 Notification: Performance of Generate backend data structure: time 0.08706/70.23, allocations: 17.9 MB / 14.54 GB, free: 16.74 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/70.23, allocations: 8.031 kB / 14.54 GB, free: 16.73 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04163/70.28, allocations: 4.121 MB / 14.55 GB, free: 13.46 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.127/72.4, allocations: 35.29 MB / 14.58 GB, free: 43.98 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001577/72.41, allocations: 437.4 kB / 14.58 GB, free: 43.98 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02283/72.43, allocations: 0.8231 MB / 14.58 GB, free: 43.98 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08247/72.51, allocations: 21.73 MB / 14.6 GB, free: 43.93 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1224/72.63, allocations: 22.92 MB / 14.63 GB, free: 42.93 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001464/72.63, allocations: 40.23 kB / 14.63 GB, free: 42.93 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008787/72.64, allocations: 12.75 kB / 14.63 GB, free: 42.93 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001189/72.64, allocations: 0.6019 MB / 14.63 GB, free: 42.91 MB / 1.026 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.2665/72.91, allocations: 96.11 MB / 14.72 GB, free: 46.85 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03179/72.94, allocations: 15.15 MB / 14.74 GB, free: 44.17 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0222/72.97, allocations: 9.36 MB / 14.75 GB, free: 44.05 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002665/72.97, allocations: 1.004 MB / 14.75 GB, free: 43.11 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02215/72.99, allocations: 7.868 MB / 14.75 GB, free: 42.87 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01751/73.01, allocations: 1.746 MB / 14.76 GB, free: 42.72 MB / 1.057 GB Notification: Performance of pre-optimization done (n=781): time 6.894e-05/73.01, allocations: 2.375 kB / 14.76 GB, free: 42.72 MB / 1.057 GB Notification: Performance of matching and sorting (n=783): time 0.1302/73.14, allocations: 34.34 MB / 14.79 GB, free: 35.66 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000224/73.14, allocations: 320.5 kB / 14.79 GB, free: 35.38 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05192/73.19, allocations: 15.08 MB / 14.8 GB, free: 34.8 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.003691/73.19, allocations: 41.8 kB / 14.8 GB, free: 34.77 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0215/73.22, allocations: 8.163 MB / 14.81 GB, free: 32.89 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.007378/73.22, allocations: 2.723 MB / 14.82 GB, free: 31.14 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002893/73.23, allocations: 1.531 kB / 14.82 GB, free: 31.14 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.001573/73.23, allocations: 0.704 MB / 14.82 GB, free: 30.82 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01902/73.25, allocations: 6.489 MB / 14.82 GB, free: 30.8 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0199/73.27, allocations: 9.225 MB / 14.83 GB, free: 28.23 MB / 1.057 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.1434/73.41, allocations: 26.99 MB / 14.86 GB, free: 27.83 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.052e-05/73.41, allocations: 13.22 kB / 14.86 GB, free: 27.83 MB / 1.057 GB Notification: Performance of matching and sorting (n=1079) (initialization): time 0.05019/73.46, allocations: 16.31 MB / 14.87 GB, free: 26.99 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.01547/73.48, allocations: 29.79 MB / 14.9 GB, free: 28.04 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002931/73.48, allocations: 46.72 kB / 14.9 GB, free: 28.04 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002123/73.48, allocations: 93.97 kB / 14.9 GB, free: 28.04 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02019/73.5, allocations: 2.329 MB / 14.9 GB, free: 28.04 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/73.5, allocations: 1.307 MB / 14.91 GB, free: 26.87 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02593/73.52, allocations: 1.637 MB / 14.91 GB, free: 26.77 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003467/73.53, allocations: 357 kB / 14.91 GB, free: 26.77 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/73.53, allocations: 3.219 kB / 14.91 GB, free: 26.77 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0456/73.57, allocations: 15.03 MB / 14.92 GB, free: 25.37 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002647/73.57, allocations: 51.62 kB / 14.92 GB, free: 25.37 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/73.57, allocations: 94.44 kB / 14.92 GB, free: 25.37 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01982/73.59, allocations: 2.31 MB / 14.93 GB, free: 25.3 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002068/73.59, allocations: 118.8 kB / 14.93 GB, free: 25.3 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02615/73.62, allocations: 1.595 MB / 14.93 GB, free: 25.21 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003278/73.62, allocations: 348.7 kB / 14.93 GB, free: 25.14 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: 216 * 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.006026/73.63, allocations: 357.8 kB / 14.93 GB, free: 24.96 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006838/73.64, allocations: 1.263 MB / 14.93 GB, free: 23.88 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04942/73.69, allocations: 15.16 MB / 14.94 GB, free: 11.43 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.187e-05/73.69, allocations: 76 kB / 14.94 GB, free: 11.36 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.242e-05/73.69, allocations: 0 / 14.94 GB, free: 11.36 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0387/73.72, allocations: 12.48 MB / 14.96 GB, free: 0.7539 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 1.183/74.91, allocations: 38.93 MB / 14.99 GB, free: 123 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001027/74.91, allocations: 12.19 kB / 14.99 GB, free: 123 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02224/74.93, allocations: 2.32 MB / 15 GB, free: 123 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/74.93, allocations: 39.75 kB / 15 GB, free: 123 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002813/74.93, allocations: 159.1 kB / 15 GB, free: 123 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000826/74.93, allocations: 1.223 MB / 15 GB, free: 121.8 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.978e-05/74.93, allocations: 20.42 kB / 15 GB, free: 121.8 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06634/75, allocations: 27.56 MB / 15.02 GB, free: 116.8 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01993/75.02, allocations: 3.994 MB / 15.03 GB, free: 116.7 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007499/75.03, allocations: 113.5 kB / 15.03 GB, free: 116.7 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02501/75.05, allocations: 1.494 MB / 15.03 GB, free: 116.7 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003178/75.06, allocations: 494.2 kB / 15.03 GB, free: 116.7 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002921/75.06, allocations: 286.3 kB / 15.03 GB, free: 116.7 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.03401/75.09, allocations: 12 MB / 15.04 GB, free: 116.3 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.102e-06/75.09, allocations: 2.812 kB / 15.04 GB, free: 116.3 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.05101/75.14, allocations: 7.347 MB / 15.05 GB, free: 116.3 MB / 1.104 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.01311/75.16, allocations: 5.267 MB / 15.05 GB, free: 114.3 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.05689/75.21, allocations: 22.65 MB / 15.08 GB, free: 113.9 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 4.051e-05/75.21, allocations: 12.12 kB / 15.08 GB, free: 113.9 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.01834/75.23, allocations: 6.991 MB / 15.08 GB, free: 113.9 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07694/75.31, allocations: 9.424 MB / 15.09 GB, free: 113.7 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1409/75.45, allocations: 44.56 MB / 15.14 GB, free: 108 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04045/75.49, allocations: 14.62 MB / 15.15 GB, free: 106.9 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.1115/75.6, allocations: 26.14 MB / 15.18 GB, free: 106.6 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008041/75.61, allocations: 0.7476 MB / 15.18 GB, free: 106.6 MB / 1.104 GB Notification: Performance of SimCode: time 1.763e-06/75.61, allocations: 0 / 15.18 GB, free: 106.6 MB / 1.104 GB Notification: Performance of Templates: time 1.832/77.44, allocations: 329.1 MB / 15.5 GB, free: 139.8 MB / 1.12 GB