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.272/2.272, allocations: 248.7 MB / 256.2 MB, free: 7.066 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.001497/0.001497, allocations: 178.7 kB / 315.4 MB, free: 3.98 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.06/2.06, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 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.001093/0.001093, allocations: 80.44 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.083e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.068/8.274, allocations: 2.497 GB / 3.381 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/8.274, allocations: 93.58 kB / 3.381 GB, free: 180.5 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.84/58.11, allocations: 8.927 GB / 12.31 GB, free: 61.1 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.565e-06/58.11, allocations: 0 / 12.31 GB, free: 61.1 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.005612/58.12, allocations: 393 kB / 12.31 GB, free: 61.05 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: 3034 * Number of variables: 3034 Notification: Performance of Generate backend data structure: time 0.08194/58.2, allocations: 15.95 MB / 12.32 GB, free: 56.22 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/58.2, allocations: 10.69 kB / 12.32 GB, free: 56.22 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03479/58.23, allocations: 3.585 MB / 12.33 GB, free: 55.29 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1037/58.34, allocations: 28.76 MB / 12.36 GB, free: 53.24 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001147/58.34, allocations: 378.8 kB / 12.36 GB, free: 53.24 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007949/58.35, allocations: 0.7151 MB / 12.36 GB, free: 53.23 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06031/58.41, allocations: 18.84 MB / 12.38 GB, free: 53.18 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07641/58.48, allocations: 19.97 MB / 12.39 GB, free: 52.25 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001151/58.49, allocations: 28.5 kB / 12.39 GB, free: 52.24 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006711/58.49, allocations: 19.95 kB / 12.39 GB, free: 52.24 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009274/58.49, allocations: 0.5411 MB / 12.4 GB, free: 52.22 MB / 1.01 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.2314/58.72, allocations: 91.56 MB / 12.48 GB, free: 37.45 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03393/58.76, allocations: 16.21 MB / 12.5 GB, free: 34.55 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01985/58.78, allocations: 8.221 MB / 12.51 GB, free: 34.47 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002432/58.78, allocations: 0.9923 MB / 12.51 GB, free: 33.52 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01933/58.8, allocations: 6.809 MB / 12.52 GB, free: 33.35 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01751/58.82, allocations: 1.429 MB / 12.52 GB, free: 33.09 MB / 1.026 GB Notification: Performance of pre-optimization done (n=711): time 6.768e-05/58.82, allocations: 0 / 12.52 GB, free: 33.09 MB / 1.026 GB Notification: Performance of matching and sorting (n=723): time 0.1116/58.93, allocations: 28.06 MB / 12.54 GB, free: 29.68 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/58.93, allocations: 256 kB / 12.55 GB, free: 29.46 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04532/58.97, allocations: 14.91 MB / 12.56 GB, free: 28.88 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0032/58.98, allocations: 40.33 kB / 12.56 GB, free: 28.85 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01598/58.99, allocations: 7.178 MB / 12.57 GB, free: 26.66 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.006392/59, allocations: 2.524 MB / 12.57 GB, free: 25.04 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002422/59, allocations: 3.844 kB / 12.57 GB, free: 25.04 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.001406/59, allocations: 0.6579 MB / 12.57 GB, free: 24.68 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01489/59.02, allocations: 5.929 MB / 12.58 GB, free: 22.94 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01845/59.04, allocations: 8.267 MB / 12.58 GB, free: 18.08 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02033/59.06, allocations: 7.895 MB / 12.59 GB, free: 11.71 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/59.06, allocations: 8 kB / 12.59 GB, free: 11.7 MB / 1.026 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.05187/59.11, allocations: 15.24 MB / 12.61 GB, free: 15.29 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.008724/59.12, allocations: 20.99 MB / 12.63 GB, free: 9.18 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002609/59.12, allocations: 32 kB / 12.63 GB, free: 9.148 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/59.12, allocations: 488.5 kB / 12.63 GB, free: 8.754 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01818/59.14, allocations: 1.996 MB / 12.63 GB, free: 7.262 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/59.15, allocations: 6.064 MB / 12.64 GB, free: 1.836 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03066/59.18, allocations: 1.992 MB / 12.64 GB, free: 0.6758 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003567/59.19, allocations: 303.4 kB / 12.64 GB, free: 408 kB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/59.19, allocations: 2.406 kB / 12.64 GB, free: 408 kB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07871/59.27, allocations: 15.85 MB / 12.65 GB, free: 9.473 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002013/59.27, allocations: 32 kB / 12.65 GB, free: 9.441 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001915/59.27, allocations: 489 kB / 12.65 GB, free: 9.043 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01752/59.29, allocations: 1.984 MB / 12.66 GB, free: 7.555 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/59.3, allocations: 5.466 MB / 12.66 GB, free: 2.75 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03052/59.33, allocations: 1.951 MB / 12.66 GB, free: 1.621 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003075/59.33, allocations: 301.9 kB / 12.66 GB, free: 1.344 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 155 * 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.005688/59.34, allocations: 322.9 kB / 12.66 GB, free: 1.121 MB / 1.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 2.069/61.41, allocations: 14.06 MB / 12.68 GB, free: 114.3 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007656/61.41, allocations: 1.156 MB / 12.68 GB, free: 114.3 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05347/61.47, allocations: 14.15 MB / 12.69 GB, free: 113.9 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001358/61.47, allocations: 70.06 kB / 12.69 GB, free: 113.9 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-05/61.47, allocations: 5.75 kB / 12.69 GB, free: 113.9 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0356/61.5, allocations: 11.75 MB / 12.7 GB, free: 113.4 MB / 1.073 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.1148/61.62, allocations: 35.48 MB / 12.74 GB, free: 111.9 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-05/61.62, allocations: 6.75 kB / 12.74 GB, free: 111.9 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01877/61.64, allocations: 2.131 MB / 12.74 GB, free: 111.9 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/61.64, allocations: 439.6 kB / 12.74 GB, free: 111.9 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002427/61.64, allocations: 148.2 kB / 12.74 GB, free: 111.9 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/61.65, allocations: 5.998 MB / 12.75 GB, free: 110 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.477e-05/61.65, allocations: 13.12 kB / 12.75 GB, free: 110 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0589/61.71, allocations: 23.58 MB / 12.77 GB, free: 107.5 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02062/61.73, allocations: 4.097 MB / 12.77 GB, free: 106.8 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006909/61.74, allocations: 107.5 kB / 12.77 GB, free: 106.8 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02563/61.76, allocations: 1.657 MB / 12.78 GB, free: 106.8 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002754/61.77, allocations: 444.9 kB / 12.78 GB, free: 106.8 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002004/61.77, allocations: 264.4 kB / 12.78 GB, free: 106.8 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.03159/61.8, allocations: 11.72 MB / 12.79 GB, free: 106.4 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.042e-06/61.8, allocations: 3.906 kB / 12.79 GB, free: 106.4 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.06369/61.86, allocations: 8.177 MB / 12.8 GB, free: 106.4 MB / 1.073 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.07135/61.94, allocations: 29.62 MB / 12.82 GB, free: 100.7 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.05177/61.99, allocations: 21.23 MB / 12.85 GB, free: 100.1 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-05/61.99, allocations: 9.312 kB / 12.85 GB, free: 100.1 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01653/62, allocations: 6.606 MB / 12.85 GB, free: 99.88 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07418/62.08, allocations: 9.105 MB / 12.86 GB, free: 99.77 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1615/62.24, allocations: 46.19 MB / 12.91 GB, free: 94.34 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03193/62.27, allocations: 13.07 MB / 12.92 GB, free: 93.29 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.09893/62.37, allocations: 23.63 MB / 12.94 GB, free: 80.67 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02319/62.39, allocations: 6.383 MB / 12.95 GB, free: 80.05 MB / 1.073 GB Notification: Performance of SimCode: time 1.553e-06/62.39, allocations: 0 / 12.95 GB, free: 80.05 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.021/64.42, allocations: 485.7 MB / 13.42 GB, free: 108 kB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003565/64.42, allocations: 197.5 kB / 13.42 GB, free: 15.91 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.58/89.99, allocations: 0 / 13.42 GB, free: 15.91 MB / 1.12 GB