Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.203/2.203, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 181.3 kB / 325.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.303/2.303, allocations: 205.4 MB / 0.5764 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 103.7 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004872, allocations: 15.66 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2219, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.568/7.79, allocations: 2.502 GB / 3.401 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/7.79, allocations: 97.3 kB / 3.401 GB, free: 15.3 MB / 0.8855 GB [/home/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 63.96/71.76, allocations: 11.25 GB / 14.65 GB, free: 65.88 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.296e-06/71.76, allocations: 0 / 14.65 GB, free: 65.88 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.006456/71.76, allocations: 422.8 kB / 14.65 GB, free: 65.83 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.1209/71.88, allocations: 22.81 MB / 14.67 GB, free: 59.11 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/71.88, allocations: 9.812 kB / 14.67 GB, free: 59.11 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01414/71.9, allocations: 2.066 MB / 14.67 GB, free: 58.99 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04233/71.94, allocations: 4.151 MB / 14.68 GB, free: 57.95 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1315/72.07, allocations: 35.45 MB / 14.71 GB, free: 55.56 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002415/72.07, allocations: 1.031 MB / 14.71 GB, free: 55.53 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01119/72.08, allocations: 1.398 MB / 14.71 GB, free: 55.52 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1017/72.19, allocations: 25.22 MB / 14.74 GB, free: 54.47 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001471/72.19, allocations: 34.19 kB / 14.74 GB, free: 54.46 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009409/72.2, allocations: 0.5607 MB / 14.74 GB, free: 54.46 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001001/72.2, allocations: 0.6003 MB / 14.74 GB, free: 54.44 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08236/72.28, allocations: 23.26 MB / 14.76 GB, free: 54.33 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.2638/72.54, allocations: 99.13 MB / 14.86 GB, free: 24.6 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03301/72.58, allocations: 13.05 MB / 14.87 GB, free: 24.18 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002525/72.58, allocations: 1.008 MB / 14.87 GB, free: 23.23 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02477/72.6, allocations: 8.428 MB / 14.88 GB, free: 22.98 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01881/72.62, allocations: 1.98 MB / 14.88 GB, free: 22.63 MB / 1.042 GB Notification: Performance of pre-optimization done (n=781): time 4.223e-05/72.62, allocations: 3.875 kB / 14.88 GB, free: 22.63 MB / 1.042 GB Notification: Performance of matching and sorting (n=783): time 0.1672/72.79, allocations: 43.04 MB / 14.92 GB, free: 23.56 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002778/72.79, allocations: 317 kB / 14.92 GB, free: 23.27 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05559/72.85, allocations: 16.8 MB / 14.94 GB, free: 10.16 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.003667/72.85, allocations: 193.7 kB / 14.94 GB, free: 9.965 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.02107/72.87, allocations: 8.158 MB / 14.95 GB, free: 2.559 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.007817/72.88, allocations: 2.822 MB / 14.95 GB, free: 0 / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004147/72.88, allocations: 219.7 kB / 14.95 GB, free: 0 / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.001693/72.89, allocations: 0.7128 MB / 14.95 GB, free: 15.38 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02151/72.91, allocations: 6.949 MB / 14.96 GB, free: 9.656 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02698/72.93, allocations: 9.736 MB / 14.97 GB, free: 500 kB / 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 2.409/75.34, allocations: 32.6 MB / 15 GB, free: 102.3 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001542/75.34, allocations: 13.53 kB / 15 GB, free: 102.3 MB / 1.089 GB Notification: Performance of matching and sorting (n=1079) (initialization): time 0.06541/75.41, allocations: 17.67 MB / 15.02 GB, free: 102 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.007008/75.42, allocations: 30.48 MB / 15.05 GB, free: 70.49 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003644/75.42, allocations: 48.22 kB / 15.05 GB, free: 70.49 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002748/75.42, allocations: 92.75 kB / 15.05 GB, free: 70.49 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02144/75.44, allocations: 2.329 MB / 15.05 GB, free: 70.49 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/75.44, allocations: 1.299 MB / 15.05 GB, free: 69.32 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02906/75.47, allocations: 1.892 MB / 15.05 GB, free: 69.32 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003595/75.47, allocations: 353.4 kB / 15.05 GB, free: 69.32 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/75.47, allocations: 2.75 kB / 15.05 GB, free: 69.32 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05535/75.53, allocations: 16.5 MB / 15.07 GB, free: 69.11 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002721/75.53, allocations: 44.41 kB / 15.07 GB, free: 69.11 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/75.53, allocations: 99.27 kB / 15.07 GB, free: 69.11 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02081/75.55, allocations: 2.312 MB / 15.07 GB, free: 69.11 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002859/75.55, allocations: 119.6 kB / 15.07 GB, free: 69.11 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02855/75.58, allocations: 1.851 MB / 15.07 GB, free: 69.11 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003715/75.58, allocations: 348.8 kB / 15.07 GB, free: 69.11 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.03364/75.62, allocations: 11.57 MB / 15.09 GB, free: 68.89 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008802/75.62, allocations: 1.328 MB / 15.09 GB, free: 68.89 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0609/75.69, allocations: 16.46 MB / 15.1 GB, free: 68.49 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.274e-05/75.69, allocations: 75.41 kB / 15.1 GB, free: 68.49 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/75.69, allocations: 1.562 kB / 15.1 GB, free: 68.49 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04347/75.73, allocations: 13.46 MB / 15.12 GB, free: 67.93 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.1473/75.88, allocations: 41.25 MB / 15.16 GB, free: 65.44 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001187/75.88, allocations: 14.53 kB / 15.16 GB, free: 65.44 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02149/75.9, allocations: 2.329 MB / 15.16 GB, free: 65.44 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/75.9, allocations: 40.69 kB / 15.16 GB, free: 65.44 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00299/75.9, allocations: 260 kB / 15.16 GB, free: 65.44 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007975/75.9, allocations: 1.23 MB / 15.16 GB, free: 64.27 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.048e-05/75.9, allocations: 15.94 kB / 15.16 GB, free: 64.27 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07538/75.98, allocations: 29.93 MB / 15.19 GB, free: 58.54 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02023/76, allocations: 4.122 MB / 15.19 GB, free: 58.08 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008421/76.01, allocations: 244 kB / 15.19 GB, free: 58.08 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02597/76.03, allocations: 1.623 MB / 15.2 GB, free: 58.05 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003639/76.04, allocations: 496.3 kB / 15.2 GB, free: 58.03 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003266/76.04, allocations: 285.8 kB / 15.2 GB, free: 58.03 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.04294/76.08, allocations: 13.59 MB / 15.21 GB, free: 57.68 MB / 1.089 GB Notification: Performance of sort global known variables: time 7.81e-07/76.08, allocations: 5.109 kB / 15.21 GB, free: 57.68 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.05342/76.14, allocations: 7.911 MB / 15.22 GB, free: 57.68 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.08781/76.22, allocations: 35.25 MB / 15.25 GB, free: 48.97 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.06733/76.29, allocations: 23.81 MB / 15.28 GB, free: 48.67 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-05/76.29, allocations: 14.58 kB / 15.28 GB, free: 48.66 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.02129/76.31, allocations: 7.453 MB / 15.28 GB, free: 48.57 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09177/76.4, allocations: 10.48 MB / 15.29 GB, free: 48.47 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2439/76.65, allocations: 102.4 MB / 15.39 GB, free: 14.91 MB / 1.136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04832/76.7, allocations: 14.6 MB / 15.41 GB, free: 3.441 MB / 1.136 GB Notification: Performance of simCode: alias equations: time 0.1317/76.83, allocations: 18.02 MB / 15.42 GB, free: 0 / 1.136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175/78, allocations: 8.951 MB / 15.43 GB, free: 132.4 MB / 1.136 GB Notification: Performance of SimCode: time 2.274e-06/78, allocations: 0.8125 kB / 15.43 GB, free: 132.4 MB / 1.136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.373/80.38, allocations: 0.5644 GB / 16 GB, free: 154.4 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003299/80.38, allocations: 278.4 kB / 16 GB, free: 154.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.45/109.8, allocations: 0 / 16 GB, free: 154.1 MB / 1.182 GB