Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.378/1.378, allocations: 252 MB / 267 MB, free: 10.96 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.001208/0.001208, allocations: 191.2 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.4 MB / 0.5777 GB, free: 20.55 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.0007619/0.0007619, allocations: 93.69 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003386, allocations: 12.5 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2062, allocations: 106.3 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio): time 0.001657/0.2079, allocations: 1.375 MB / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1378/0.3457, allocations: 133.7 MB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.3458, allocations: 0 / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.3459, allocations: 3.938 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 9.514e-05/0.346, allocations: 11.92 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006794/0.3466, allocations: 167.2 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3468, allocations: 83.7 kB / 1.033 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.3469, allocations: 15.98 kB / 1.033 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.3469, allocations: 27.92 kB / 1.033 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.899e-05/0.347, allocations: 47.7 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3471, allocations: 4 kB / 1.033 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.3474, allocations: 139.7 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.3475, allocations: 15.92 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.3475, allocations: 37.64 kB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.3478, allocations: 116 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3478, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3478, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3478, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006553/0.3485, allocations: 423 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3485, allocations: 12.03 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.3486, allocations: 42.5 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.3497, allocations: 155.7 kB / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.3499, allocations: 174.9 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.96e-05/0.35, allocations: 37.7 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.35, allocations: 7.938 kB / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.3506, allocations: 173.5 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3506, allocations: 0 / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.3506, allocations: 7.953 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3506, allocations: 0 / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007968/0.3514, allocations: 219.8 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008666/0.3523, allocations: 438.2 kB / 1.035 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.3528, allocations: 134.5 kB / 1.035 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/0.3532, allocations: 112.9 kB / 1.035 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.3532, allocations: 4 kB / 1.035 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3533, allocations: 30.56 kB / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3533, allocations: 0 / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.001353/0.3546, allocations: 345.3 kB / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.3547, allocations: 51.41 kB / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.3548, allocations: 148 kB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.3548, allocations: 33.7 kB / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.3549, allocations: 96.08 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.3549, allocations: 23.69 kB / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.3549, allocations: 0 / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3551, allocations: 322.8 kB / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.3554, allocations: 99.91 kB / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.3558, allocations: 99.92 kB / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.3562, allocations: 91.92 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3562, allocations: 0 / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007889/0.357, allocations: 241.4 kB / 1.036 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.357, allocations: 10.66 kB / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.357, allocations: 0 / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.357, allocations: 0 / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.3573, allocations: 43.95 kB / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3573, allocations: 0 / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.3576, allocations: 51.83 kB / 1.036 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3576, allocations: 4 kB / 1.036 GB, free: 4.199 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.26e-05/0.3577, allocations: 109.8 kB / 1.036 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.3578, allocations: 11.91 kB / 1.037 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.3578, allocations: 8.719 kB / 1.037 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3578, allocations: 0 / 1.037 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3578, allocations: 0 / 1.037 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3578, allocations: 7.984 kB / 1.037 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.3581, allocations: 225.4 kB / 1.037 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3581, allocations: 0 / 1.037 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.3583, allocations: 44.33 kB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3583, allocations: 0 / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3584, allocations: 4 kB / 1.037 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3584, allocations: 8 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3584, allocations: 0 / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008831/0.3593, allocations: 339.2 kB / 1.037 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.3593, allocations: 81.02 kB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3594, allocations: 4 kB / 1.037 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.3596, allocations: 31.97 kB / 1.037 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.3597, allocations: 11.98 kB / 1.037 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3597, allocations: 4 kB / 1.037 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.156e-05/0.3598, allocations: 117.3 kB / 1.037 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.814e-06/0.3598, allocations: 0 / 1.037 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002329/0.36, allocations: 23.94 kB / 1.037 GB, free: 3.094 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/0.3612, allocations: 0.8763 MB / 1.038 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007965/0.362, allocations: 211.8 kB / 1.038 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3621, allocations: 3.938 kB / 1.038 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.3625, allocations: 107.9 kB / 1.039 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.3628, allocations: 18.02 kB / 1.039 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.3656, allocations: 0.9734 MB / 1.04 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.3658, allocations: 0.6926 MB / 1.04 GB, free: 128 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000146/0.366, allocations: 12 kB / 1.04 GB, free: 116 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.845e-05/0.3661, allocations: 27.42 kB / 1.04 GB, free: 88 kB / 0.6823 GB Notification: Performance of SimCode: time 8.41e-07/0.3661, allocations: 0 / 1.04 GB, free: 88 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.3789, allocations: 2.509 MB / 1.043 GB, free: 13.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.3792, allocations: 221 kB / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/1.917, allocations: 0 / 1.043 GB, free: 13.56 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1)