Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.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.DryCoilDiscretizedPControl,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretizedPControl",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.351/2.351, allocations: 248.5 MB / 261.1 MB, free: 6.086 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.001537/0.001537, allocations: 184.3 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.2 MB / 0.571 GB, free: 11.79 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.001126/0.001125, allocations: 100.2 kB / 0.6754 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.575e-05/4.585e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2037, allocations: 106.3 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.085/8.288, allocations: 2.497 GB / 3.387 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/8.289, allocations: 90.2 kB / 3.387 GB, free: 160.3 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 49.83/58.12, allocations: 9 GB / 12.39 GB, free: 66.8 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.427e-06/58.12, allocations: 0 / 12.39 GB, free: 66.8 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.006148/58.13, allocations: 393 kB / 12.39 GB, free: 66.75 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3034 * Number of variables: 3034 Notification: Performance of Generate backend data structure: time 0.08584/58.21, allocations: 15.96 MB / 12.4 GB, free: 61.96 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/58.21, allocations: 9.844 kB / 12.4 GB, free: 61.96 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01124/58.23, allocations: 1.762 MB / 12.41 GB, free: 61.84 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03667/58.26, allocations: 3.594 MB / 12.41 GB, free: 60.91 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1152/58.38, allocations: 28.76 MB / 12.44 GB, free: 58.87 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001719/58.38, allocations: 0.8905 MB / 12.44 GB, free: 58.84 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008363/58.39, allocations: 1.221 MB / 12.44 GB, free: 58.83 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08007/58.47, allocations: 21.68 MB / 12.46 GB, free: 57.85 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009495/58.47, allocations: 38.22 kB / 12.46 GB, free: 57.84 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006763/58.48, allocations: 493.8 kB / 12.46 GB, free: 57.84 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008218/58.48, allocations: 0.5414 MB / 12.46 GB, free: 57.82 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06459/58.54, allocations: 19.86 MB / 12.48 GB, free: 57.73 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.2413/58.78, allocations: 94 MB / 12.57 GB, free: 42.73 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03299/58.82, allocations: 13.87 MB / 12.59 GB, free: 42.17 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02124/58.84, allocations: 8.577 MB / 12.59 GB, free: 42.09 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002519/58.84, allocations: 0.9917 MB / 12.59 GB, free: 41.15 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02108/58.86, allocations: 7.227 MB / 12.6 GB, free: 40.96 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01835/58.88, allocations: 1.578 MB / 12.6 GB, free: 40.69 MB / 1.042 GB Notification: Performance of pre-optimization done (n=711): time 3.329e-05/58.88, allocations: 0 / 12.6 GB, free: 40.69 MB / 1.042 GB Notification: Performance of matching and sorting (n=723): time 0.1142/58.99, allocations: 29.72 MB / 12.63 GB, free: 37.18 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001953/58.99, allocations: 260 kB / 12.63 GB, free: 36.96 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04655/59.04, allocations: 15.6 MB / 12.65 GB, free: 36.32 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.003085/59.04, allocations: 186.2 kB / 12.65 GB, free: 36.29 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01598/59.06, allocations: 7.214 MB / 12.66 GB, free: 32.48 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.006668/59.07, allocations: 2.61 MB / 12.66 GB, free: 30.54 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002567/59.07, allocations: 145.2 kB / 12.66 GB, free: 30.43 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.001354/59.07, allocations: 0.6597 MB / 12.66 GB, free: 29.99 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01666/59.09, allocations: 6.23 MB / 12.66 GB, free: 28.2 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02077/59.11, allocations: 8.63 MB / 12.67 GB, free: 24.09 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02283/59.13, allocations: 8.182 MB / 12.68 GB, free: 17.88 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-05/59.13, allocations: 8 kB / 12.68 GB, free: 17.87 MB / 1.042 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.05321/59.18, allocations: 16.04 MB / 12.7 GB, free: 4.281 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.009758/59.19, allocations: 20.78 MB / 12.72 GB, free: 14.55 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001777/59.19, allocations: 35.62 kB / 12.72 GB, free: 14.52 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002274/59.2, allocations: 497.1 kB / 12.72 GB, free: 14.11 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01896/59.21, allocations: 1.987 MB / 12.72 GB, free: 12.62 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/59.23, allocations: 6.201 MB / 12.73 GB, free: 7.059 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03215/59.26, allocations: 2.166 MB / 12.73 GB, free: 5.73 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003157/59.26, allocations: 297.9 kB / 12.73 GB, free: 5.457 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/59.26, allocations: 4 kB / 12.73 GB, free: 5.453 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05154/59.32, allocations: 15.02 MB / 12.74 GB, free: 8.926 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/59.32, allocations: 36 kB / 12.74 GB, free: 8.891 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002028/59.32, allocations: 494.2 kB / 12.74 GB, free: 8.484 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01862/59.34, allocations: 1.985 MB / 12.75 GB, free: 7 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/59.35, allocations: 5.614 MB / 12.75 GB, free: 2.027 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03105/59.38, allocations: 2.132 MB / 12.75 GB, free: 0.7305 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003046/59.38, allocations: 303.7 kB / 12.75 GB, free: 460 kB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * 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 (921): * Single equations (assignments): 918 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0067/59.39, allocations: 0.5948 MB / 12.75 GB, free: 0 / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938/61.33, allocations: 1.166 MB / 12.75 GB, free: 116.9 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05676/61.38, allocations: 15.07 MB / 12.77 GB, free: 116.6 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001383/61.38, allocations: 69.97 kB / 12.77 GB, free: 116.6 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.257e-05/61.38, allocations: 5.734 kB / 12.77 GB, free: 116.6 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04159/61.43, allocations: 12.47 MB / 12.78 GB, free: 116 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.1288/61.56, allocations: 37.96 MB / 12.82 GB, free: 114.5 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.631e-05/61.56, allocations: 5.344 kB / 12.82 GB, free: 114.5 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01972/61.57, allocations: 2.148 MB / 12.82 GB, free: 114.5 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002015/61.58, allocations: 442.8 kB / 12.82 GB, free: 114.5 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002746/61.58, allocations: 249.3 kB / 12.82 GB, free: 114.5 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/61.59, allocations: 6.137 MB / 12.83 GB, free: 112.6 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/61.59, allocations: 8.688 kB / 12.83 GB, free: 112.6 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06383/61.65, allocations: 24.76 MB / 12.85 GB, free: 110.1 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02036/61.68, allocations: 4.164 MB / 12.86 GB, free: 109.9 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007728/61.68, allocations: 223.8 kB / 12.86 GB, free: 109.9 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02723/61.71, allocations: 1.778 MB / 12.86 GB, free: 109.9 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003022/61.71, allocations: 446.2 kB / 12.86 GB, free: 109.8 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002617/61.72, allocations: 265.2 kB / 12.86 GB, free: 109.8 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0366/61.75, allocations: 12.36 MB / 12.87 GB, free: 109.5 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.403e-06/61.75, allocations: 0.7656 kB / 12.87 GB, free: 109.5 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0653/61.82, allocations: 8.699 MB / 12.88 GB, free: 109.5 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 51 (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.m,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 (705): * Single equations (assignments): 698 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07948/61.9, allocations: 30.51 MB / 12.91 GB, free: 103.7 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.05967/61.96, allocations: 22.36 MB / 12.93 GB, free: 103 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.607e-05/61.96, allocations: 9.562 kB / 12.93 GB, free: 103 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0186/61.98, allocations: 6.956 MB / 12.94 GB, free: 102.8 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07674/62.05, allocations: 9.326 MB / 12.95 GB, free: 102.7 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1647/62.22, allocations: 46.58 MB / 12.99 GB, free: 97.23 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03599/62.25, allocations: 13.07 MB / 13 GB, free: 96.18 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.1043/62.36, allocations: 23.88 MB / 13.03 GB, free: 85.51 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02597/62.38, allocations: 6.402 MB / 13.03 GB, free: 84.88 MB / 1.089 GB Notification: Performance of SimCode: time 2.535e-06/62.38, allocations: 0.8438 kB / 13.03 GB, free: 84.88 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.225/65.61, allocations: 0.5484 GB / 13.58 GB, free: 126.4 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003201/65.61, allocations: 249.7 kB / 13.58 GB, free: 126.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.96/93.57, allocations: 0 / 13.58 GB, free: 126.1 MB / 1.182 GB