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.136/2.136, allocations: 251 MB / 265.9 MB, free: 11.68 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.001621/0.00162, allocations: 179 kB / 325.5 MB, free: 2.875 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.481/2.481, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001853/0.001853, allocations: 91.86 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004765, allocations: 12.72 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2232, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.471/7.694, allocations: 2.497 GB / 3.395 GB, free: 21.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/7.694, allocations: 99.33 kB / 3.395 GB, free: 21.33 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 49.44/57.13, allocations: 9.015 GB / 12.41 GB, free: 46.98 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.015e-06/57.13, allocations: 0 / 12.41 GB, free: 46.98 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.005538/57.14, allocations: 392.6 kB / 12.41 GB, free: 46.93 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.1054/57.24, allocations: 20.63 MB / 12.43 GB, free: 40.6 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/57.24, allocations: 8.594 kB / 12.43 GB, free: 40.6 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01201/57.25, allocations: 1.78 MB / 12.43 GB, free: 40.48 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03661/57.29, allocations: 3.596 MB / 12.44 GB, free: 39.55 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1054/57.39, allocations: 28.92 MB / 12.46 GB, free: 37.48 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00186/57.4, allocations: 0.8903 MB / 12.47 GB, free: 37.46 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009336/57.41, allocations: 1.215 MB / 12.47 GB, free: 37.45 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0821/57.49, allocations: 21.94 MB / 12.49 GB, free: 36.45 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001095/57.49, allocations: 38.12 kB / 12.49 GB, free: 36.45 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007136/57.5, allocations: 0.4887 MB / 12.49 GB, free: 36.45 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008396/57.5, allocations: 0.5365 MB / 12.49 GB, free: 36.42 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06855/57.57, allocations: 20.19 MB / 12.51 GB, free: 36.33 MB / 1.01 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.2376/57.8, allocations: 94.01 MB / 12.6 GB, free: 6 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04264/57.85, allocations: 14.24 MB / 12.61 GB, free: 10.39 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002576/57.85, allocations: 0.9993 MB / 12.62 GB, free: 9.266 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02371/57.87, allocations: 7.334 MB / 12.62 GB, free: 3.594 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01846/57.89, allocations: 1.577 MB / 12.62 GB, free: 2.367 MB / 1.057 GB Notification: Performance of pre-optimization done (n=711): time 2.902e-05/57.89, allocations: 0 / 12.62 GB, free: 2.367 MB / 1.057 GB Notification: Performance of matching and sorting (n=723): time 2.101/59.99, allocations: 36.91 MB / 12.66 GB, free: 96.56 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/59.99, allocations: 263.4 kB / 12.66 GB, free: 96.33 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05038/60.04, allocations: 15.71 MB / 12.68 GB, free: 95.77 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.00324/60.05, allocations: 187.4 kB / 12.68 GB, free: 95.74 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.01568/60.06, allocations: 7.206 MB / 12.68 GB, free: 94.27 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.006556/60.07, allocations: 2.607 MB / 12.69 GB, free: 93 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002691/60.07, allocations: 150.8 kB / 12.69 GB, free: 93 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.001256/60.07, allocations: 0.6591 MB / 12.69 GB, free: 92.69 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01799/60.09, allocations: 6.35 MB / 12.69 GB, free: 92.67 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02303/60.11, allocations: 8.744 MB / 12.7 GB, free: 90.61 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02198/60.14, allocations: 8.272 MB / 12.71 GB, free: 90.48 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.13e-05/60.14, allocations: 11.7 kB / 12.71 GB, free: 90.48 MB / 1.057 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.05286/60.19, allocations: 16.27 MB / 12.73 GB, free: 89.64 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.004941/60.19, allocations: 20.78 MB / 12.75 GB, free: 68.23 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000208/60.19, allocations: 36.34 kB / 12.75 GB, free: 68.23 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002302/60.2, allocations: 493.5 kB / 12.75 GB, free: 68.22 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01769/60.21, allocations: 1.991 MB / 12.75 GB, free: 68.22 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/60.23, allocations: 6.395 MB / 12.75 GB, free: 66.27 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03023/60.26, allocations: 2.158 MB / 12.76 GB, free: 66.21 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002977/60.26, allocations: 300.5 kB / 12.76 GB, free: 66.21 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/60.26, allocations: 6.031 kB / 12.76 GB, free: 66.21 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04714/60.31, allocations: 15.24 MB / 12.77 GB, free: 65.98 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/60.31, allocations: 38.41 kB / 12.77 GB, free: 65.98 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/60.31, allocations: 499 kB / 12.77 GB, free: 65.97 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01773/60.33, allocations: 1.985 MB / 12.77 GB, free: 65.97 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/60.34, allocations: 5.795 MB / 12.78 GB, free: 64.59 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02988/60.37, allocations: 2.128 MB / 12.78 GB, free: 64.54 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003088/60.37, allocations: 301.7 kB / 12.78 GB, free: 64.54 MB / 1.057 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 () * Number of clocked 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.02771/60.4, allocations: 10.29 MB / 12.79 GB, free: 64.31 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007117/60.41, allocations: 1.17 MB / 12.79 GB, free: 63.71 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0537/60.46, allocations: 15.29 MB / 12.81 GB, free: 63.3 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000117/60.46, allocations: 71.84 kB / 12.81 GB, free: 63.29 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-05/60.46, allocations: 5.906 kB / 12.81 GB, free: 63.29 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03737/60.5, allocations: 12.68 MB / 12.82 GB, free: 62.72 MB / 1.057 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.1235/60.62, allocations: 38.15 MB / 12.86 GB, free: 61.11 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.059e-05/60.62, allocations: 4.938 kB / 12.86 GB, free: 61.11 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01907/60.64, allocations: 2.149 MB / 12.86 GB, free: 61.11 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001893/60.64, allocations: 448.2 kB / 12.86 GB, free: 61.1 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002541/60.64, allocations: 240.7 kB / 12.86 GB, free: 61.1 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/60.66, allocations: 6.336 MB / 12.87 GB, free: 59.13 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/60.66, allocations: 6.812 kB / 12.87 GB, free: 59.13 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06391/60.72, allocations: 24.93 MB / 12.89 GB, free: 56.16 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0184/60.74, allocations: 4.168 MB / 12.9 GB, free: 55.46 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006442/60.74, allocations: 224.2 kB / 12.9 GB, free: 55.46 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02568/60.77, allocations: 1.775 MB / 12.9 GB, free: 55.43 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003098/60.77, allocations: 442.5 kB / 12.9 GB, free: 55.41 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00244/60.78, allocations: 261.1 kB / 12.9 GB, free: 55.41 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.03651/60.81, allocations: 12.48 MB / 12.91 GB, free: 53.87 MB / 1.057 GB Notification: Performance of sort global known variables: time 9.52e-07/60.81, allocations: 0 / 12.91 GB, free: 53.87 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.06362/60.88, allocations: 8.684 MB / 12.92 GB, free: 52.91 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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) * Number of clocked states: 0 () * 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.07616/60.95, allocations: 30.68 MB / 12.95 GB, free: 26.71 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.05963/61.01, allocations: 22.32 MB / 12.97 GB, free: 8.141 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.671e-05/61.01, allocations: 12.56 kB / 12.97 GB, free: 8.129 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01896/61.03, allocations: 7.058 MB / 12.98 GB, free: 2.23 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08009/61.11, allocations: 9.506 MB / 12.99 GB, free: 12.58 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.258/62.37, allocations: 85.34 MB / 13.07 GB, free: 80.69 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0395/62.41, allocations: 13.05 MB / 13.08 GB, free: 79.66 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.06229/62.47, allocations: 13.37 MB / 13.1 GB, free: 79.56 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02667/62.5, allocations: 6.607 MB / 13.1 GB, free: 79.55 MB / 1.089 GB Notification: Performance of SimCode: time 1.463e-06/62.5, allocations: 0 / 13.1 GB, free: 79.55 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.202/64.7, allocations: 0.5195 GB / 13.62 GB, free: 165.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/64.7, allocations: 271.7 kB / 13.62 GB, free: 165.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.35/90.05, allocations: 0.5469 kB / 13.62 GB, free: 165.3 MB / 1.151 GB