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.172/2.172, allocations: 248.7 MB / 256.2 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001592/0.001592, allocations: 182.3 kB / 315.4 MB, free: 4 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.156/2.156, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.001189, allocations: 86.52 kB / 0.6704 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.536e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2115, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.971/8.182, allocations: 2.503 GB / 3.387 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/8.183, allocations: 94.17 kB / 3.387 GB, free: 174.6 MB / 0.8698 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 60.95/69.13, allocations: 11.13 GB / 14.52 GB, free: 35.66 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.144e-06/69.13, allocations: 3.938 kB / 14.52 GB, free: 35.66 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.005837/69.14, allocations: 428.4 kB / 14.52 GB, free: 35.59 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.08795/69.22, allocations: 17.91 MB / 14.54 GB, free: 29.79 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/69.22, allocations: 18.47 kB / 14.54 GB, free: 29.78 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04026/69.26, allocations: 4.12 MB / 14.54 GB, free: 28.71 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1264/69.39, allocations: 35.29 MB / 14.58 GB, free: 21.3 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00168/69.39, allocations: 440 kB / 14.58 GB, free: 20.87 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0103/69.4, allocations: 0.8352 MB / 14.58 GB, free: 20.04 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06875/69.47, allocations: 21.73 MB / 14.6 GB, free: 0.8086 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09398/69.57, allocations: 22.92 MB / 14.62 GB, free: 13.44 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00113/69.57, allocations: 31.84 kB / 14.62 GB, free: 13.41 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00728/69.57, allocations: 12 kB / 14.62 GB, free: 13.39 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001149/69.57, allocations: 0.6043 MB / 14.62 GB, free: 12.79 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 2.282/71.86, allocations: 96.11 MB / 14.72 GB, free: 56.59 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03181/71.89, allocations: 15.15 MB / 14.73 GB, free: 53.91 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02267/71.91, allocations: 9.359 MB / 14.74 GB, free: 53.79 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/71.91, allocations: 1.016 MB / 14.74 GB, free: 52.84 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02189/71.94, allocations: 7.869 MB / 14.75 GB, free: 52.61 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01782/71.95, allocations: 1.747 MB / 14.75 GB, free: 52.46 MB / 1.042 GB Notification: Performance of pre-optimization done (n=781): time 7.212e-05/71.95, allocations: 0 / 14.75 GB, free: 52.46 MB / 1.042 GB Notification: Performance of matching and sorting (n=783): time 0.1387/72.09, allocations: 34.34 MB / 14.78 GB, free: 45.4 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001865/72.09, allocations: 314.9 kB / 14.78 GB, free: 45.11 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04814/72.14, allocations: 15.08 MB / 14.8 GB, free: 44.54 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.003399/72.14, allocations: 44.92 kB / 14.8 GB, free: 44.5 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0183/72.16, allocations: 8.156 MB / 14.81 GB, free: 42.71 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.006687/72.17, allocations: 2.72 MB / 14.81 GB, free: 41.27 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002882/72.17, allocations: 2.906 kB / 14.81 GB, free: 41.27 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.001504/72.17, allocations: 0.7091 MB / 14.81 GB, free: 40.95 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0175/72.19, allocations: 6.491 MB / 14.82 GB, free: 40.93 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02112/72.21, allocations: 9.217 MB / 14.83 GB, free: 38.36 MB / 1.042 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.1496/72.36, allocations: 27 MB / 14.85 GB, free: 37.96 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/72.36, allocations: 13.47 kB / 14.85 GB, free: 37.96 MB / 1.042 GB Notification: Performance of matching and sorting (n=1079) (initialization): time 0.05327/72.42, allocations: 16.3 MB / 14.87 GB, free: 37.12 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.009866/72.43, allocations: 29.78 MB / 14.9 GB, free: 22.17 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003074/72.43, allocations: 48.22 kB / 14.9 GB, free: 22.17 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/72.43, allocations: 98.38 kB / 14.9 GB, free: 22.17 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02041/72.45, allocations: 2.324 MB / 14.9 GB, free: 22.17 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/72.45, allocations: 1.315 MB / 14.9 GB, free: 21 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02716/72.47, allocations: 1.636 MB / 14.9 GB, free: 20.89 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00336/72.48, allocations: 355.9 kB / 14.9 GB, free: 20.89 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/72.48, allocations: 3.688 kB / 14.9 GB, free: 20.89 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04621/72.52, allocations: 15.03 MB / 14.92 GB, free: 20.71 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002438/72.52, allocations: 48.97 kB / 14.92 GB, free: 20.71 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/72.53, allocations: 91.94 kB / 14.92 GB, free: 20.71 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01984/72.54, allocations: 2.31 MB / 14.92 GB, free: 20.71 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002139/72.55, allocations: 117 kB / 14.92 GB, free: 20.71 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02643/72.57, allocations: 1.592 MB / 14.92 GB, free: 20.62 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003496/72.58, allocations: 355.2 kB / 14.92 GB, free: 20.62 MB / 1.057 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.006844/72.58, allocations: 357.8 kB / 14.92 GB, free: 20.45 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04462/72.63, allocations: 13.63 MB / 14.94 GB, free: 19.59 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007291/72.63, allocations: 1.26 MB / 14.94 GB, free: 18.94 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05033/72.68, allocations: 15.16 MB / 14.95 GB, free: 15.47 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.569e-05/72.68, allocations: 77.2 kB / 14.95 GB, free: 15.4 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/72.68, allocations: 4 kB / 14.95 GB, free: 15.39 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03667/72.72, allocations: 12.48 MB / 14.96 GB, free: 8.008 MB / 1.057 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.1618/72.88, allocations: 40.02 MB / 15 GB, free: 15.54 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.275e-05/72.88, allocations: 12 kB / 15 GB, free: 15.53 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02124/72.9, allocations: 2.331 MB / 15.01 GB, free: 13.85 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/72.9, allocations: 40 kB / 15.01 GB, free: 13.81 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002701/72.91, allocations: 151.9 kB / 15.01 GB, free: 13.7 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000995/72.91, allocations: 1.228 MB / 15.01 GB, free: 12.44 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.449e-05/72.91, allocations: 18.75 kB / 15.01 GB, free: 12.43 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09564/73, allocations: 29.15 MB / 15.04 GB, free: 7.543 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02037/73.02, allocations: 3.997 MB / 15.04 GB, free: 3.871 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007017/73.03, allocations: 119 kB / 15.04 GB, free: 3.777 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02538/73.06, allocations: 1.491 MB / 15.04 GB, free: 2.906 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003307/73.06, allocations: 492.8 kB / 15.04 GB, free: 2.605 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002338/73.06, allocations: 287.8 kB / 15.04 GB, free: 2.363 MB / 1.104 GB Notification: Performance of sorting global known variables: time 1.095/74.16, allocations: 13.37 MB / 15.05 GB, free: 135.1 MB / 1.104 GB Notification: Performance of sort global known variables: time 6.51e-07/74.16, allocations: 0.5938 kB / 15.05 GB, free: 135.1 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.05652/74.21, allocations: 7.34 MB / 15.06 GB, free: 135.1 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.08126/74.3, allocations: 33.88 MB / 15.1 GB, free: 127.2 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.05756/74.35, allocations: 22.65 MB / 15.12 GB, free: 126.9 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 3.773e-05/74.35, allocations: 9.531 kB / 15.12 GB, free: 126.9 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.01866/74.37, allocations: 6.993 MB / 15.12 GB, free: 126.8 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07758/74.45, allocations: 9.415 MB / 15.13 GB, free: 126.7 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1792/74.63, allocations: 51.11 MB / 15.18 GB, free: 120.6 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03931/74.67, allocations: 14.62 MB / 15.2 GB, free: 119.5 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.1127/74.78, allocations: 26.13 MB / 15.22 GB, free: 119.2 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02815/74.81, allocations: 7.197 MB / 15.23 GB, free: 119.2 MB / 1.104 GB Notification: Performance of SimCode: time 1.914e-06/74.81, allocations: 0 / 15.23 GB, free: 119.2 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.148/76.96, allocations: 0.4961 GB / 15.73 GB, free: 96.24 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/76.96, allocations: 201.6 kB / 15.73 GB, free: 96.04 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.77/104.7, allocations: 2.969 kB / 15.73 GB, free: 96.04 MB / 1.12 GB