Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 109.4 kB / 15.69 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 188.7 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 292.3 MB / 0.549 GB, free: 12.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001354, allocations: 71.78 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2017, allocations: 114.5 MB / 0.7836 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio): time 0.002851/0.2046, allocations: 1.67 MB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5745/0.7791, allocations: 147.3 MB / 0.9291 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.614e-05/0.7793, allocations: 0 / 0.9291 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.917e-05/0.7794, allocations: 10.03 kB / 0.9291 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.56e-05/0.7795, allocations: 12.3 kB / 0.9291 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000743/0.7802, allocations: 241.8 kB / 0.9294 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.7803, allocations: 94.03 kB / 0.9295 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.7805, allocations: 29.34 kB / 0.9295 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.7805, allocations: 33.64 kB / 0.9295 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.871e-05/0.7806, allocations: 45.91 kB / 0.9296 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.7806, allocations: 7.031 kB / 0.9296 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.7811, allocations: 255.3 kB / 0.9298 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.7811, allocations: 21.25 kB / 0.9298 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.7812, allocations: 37.95 kB / 0.9299 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.7815, allocations: 205.5 kB / 0.9301 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7815, allocations: 0 / 0.9301 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7815, allocations: 6.719 kB / 0.9301 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7815, allocations: 0 / 0.9301 GB, free: 3.098 MB / 0.7169 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.0007376/0.7823, allocations: 424.4 kB / 0.9305 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.7823, allocations: 14.81 kB / 0.9305 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.7824, allocations: 39.06 kB / 0.9305 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.7835, allocations: 151.8 kB / 0.9307 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.7836, allocations: 181.4 kB / 0.9308 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/0.7837, allocations: 36.06 kB / 0.9309 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.7837, allocations: 5.25 kB / 0.9309 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.7843, allocations: 167.5 kB / 0.931 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.7843, allocations: 0 / 0.931 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.7843, allocations: 1.203 kB / 0.931 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.7843, allocations: 2.625 kB / 0.931 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007497/0.7851, allocations: 198.8 kB / 0.9312 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007648/0.7858, allocations: 432.2 kB / 0.9316 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.7863, allocations: 130.3 kB / 0.9318 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.7867, allocations: 99.5 kB / 0.9319 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.7867, allocations: 11 kB / 0.9319 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.7867, allocations: 33.98 kB / 0.9319 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.7868, allocations: 0 / 0.9319 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.001249/0.788, allocations: 313.5 kB / 0.9322 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.788, allocations: 51.41 kB / 0.9323 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.7882, allocations: 140.2 kB / 0.9324 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.7882, allocations: 28.33 kB / 0.9324 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.7883, allocations: 104.3 kB / 0.9325 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.7883, allocations: 15.3 kB / 0.9325 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.7883, allocations: 21.34 kB / 0.9325 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.7884, allocations: 318.9 kB / 0.9329 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.7888, allocations: 89.73 kB / 0.9329 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.7892, allocations: 90.88 kB / 0.933 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/0.7898, allocations: 171 kB / 0.9332 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.7899, allocations: 0.75 kB / 0.9332 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007268/0.7906, allocations: 221.6 kB / 0.9334 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.7906, allocations: 5.531 kB / 0.9334 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.7906, allocations: 0 / 0.9334 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.7906, allocations: 4.031 kB / 0.9334 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.7909, allocations: 43.11 kB / 0.9335 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.7909, allocations: 5.031 kB / 0.9335 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.7912, allocations: 44.52 kB / 0.9335 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.7912, allocations: 0 / 0.9335 GB, free: 17.22 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.642e-05/0.7913, allocations: 115 kB / 0.9336 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.7913, allocations: 10.44 kB / 0.9336 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.7914, allocations: 13.31 kB / 0.9336 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.7914, allocations: 0 / 0.9336 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.7914, allocations: 2.688 kB / 0.9336 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.7914, allocations: 0 / 0.9336 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.7916, allocations: 217.8 kB / 0.9338 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7916, allocations: 9.141 kB / 0.9338 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.7919, allocations: 38.16 kB / 0.9339 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7919, allocations: 1.469 kB / 0.9339 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.7919, allocations: 7.812 kB / 0.9339 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7919, allocations: 0 / 0.9339 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7919, allocations: 0 / 0.9339 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008065/0.7927, allocations: 316.8 kB / 0.9342 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.7928, allocations: 84.95 kB / 0.9343 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.7928, allocations: 6.266 kB / 0.9343 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.793, allocations: 25.17 kB / 0.9343 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.7931, allocations: 15.19 kB / 0.9343 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.7931, allocations: 3.656 kB / 0.9343 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.205e-05/0.7932, allocations: 108.5 kB / 0.9344 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7932, allocations: 0 / 0.9344 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002383/0.7934, allocations: 20.66 kB / 0.9344 GB, free: 16.57 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.7946, allocations: 0.856 MB / 0.9353 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008085/0.7954, allocations: 192.9 kB / 0.9355 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7954, allocations: 0 / 0.9355 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.7958, allocations: 99.03 kB / 0.9356 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.7961, allocations: 22.94 kB / 0.9356 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.7999, allocations: 1.979 MB / 0.9375 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.8002, allocations: 0.7003 MB / 0.9382 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.8003, allocations: 15.62 kB / 0.9382 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.8004, allocations: 34.91 kB / 0.9382 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.8004, allocations: 0 / 0.9382 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.8194, allocations: 2.891 MB / 0.9411 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.501/8.321, allocations: 6.422 kB / 0.9411 GB, free: 13.53 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1)