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.001319/0.00132, allocations: 108 kB / 15.6 MB, free: 132 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.001396/0.001396, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.413/1.413, allocations: 205.1 MB / 222.4 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.761/1.761, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001457/0.001458, allocations: 74.97 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2495, allocations: 114.6 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio): time 0.003272/0.2528, allocations: 1.672 MB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7537/1.007, allocations: 147.3 MB / 0.929 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/1.007, allocations: 0 / 0.929 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.171e-05/1.007, allocations: 9.891 kB / 0.929 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.036e-05/1.007, allocations: 23.33 kB / 0.929 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/1.008, allocations: 234.5 kB / 0.9292 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/1.008, allocations: 92.7 kB / 0.9293 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/1.008, allocations: 27.44 kB / 0.9293 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/1.008, allocations: 41.16 kB / 0.9294 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/1.008, allocations: 45.05 kB / 0.9294 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/1.008, allocations: 11.09 kB / 0.9294 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004967/1.009, allocations: 249 kB / 0.9297 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/1.009, allocations: 22.11 kB / 0.9297 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/1.009, allocations: 35.98 kB / 0.9297 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003616/1.009, allocations: 208.1 kB / 0.9299 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.009, allocations: 6.875 kB / 0.9299 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/1.009, allocations: 0 / 0.9299 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.009, allocations: 0 / 0.9299 GB, free: 2.957 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.0008043/1.01, allocations: 422.1 kB / 0.9303 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.01, allocations: 7.75 kB / 0.9303 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/1.01, allocations: 38.69 kB / 0.9304 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/1.012, allocations: 158.2 kB / 0.9305 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/1.012, allocations: 178.5 kB / 0.9307 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/1.012, allocations: 40.27 kB / 0.9307 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/1.012, allocations: 9.844 kB / 0.9307 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/1.012, allocations: 157.5 kB / 0.9309 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.012, allocations: 2.625 kB / 0.9309 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/1.012, allocations: 4.766 kB / 0.9309 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.012, allocations: 0 / 0.9309 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008503/1.013, allocations: 198.3 kB / 0.9311 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008631/1.014, allocations: 435.3 kB / 0.9315 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/1.015, allocations: 130.1 kB / 0.9316 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/1.015, allocations: 99.19 kB / 0.9317 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/1.015, allocations: 7.875 kB / 0.9317 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/1.015, allocations: 31.31 kB / 0.9317 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/1.015, allocations: 3.938 kB / 0.9317 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.001506/1.017, allocations: 313.9 kB / 0.932 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/1.017, allocations: 53.31 kB / 0.9321 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/1.017, allocations: 137.2 kB / 0.9322 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/1.017, allocations: 29.64 kB / 0.9323 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/1.017, allocations: 101.2 kB / 0.9324 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/1.017, allocations: 20.73 kB / 0.9324 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/1.017, allocations: 21.38 kB / 0.9324 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.017, allocations: 317.2 kB / 0.9327 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/1.018, allocations: 87.78 kB / 0.9328 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/1.018, allocations: 91.45 kB / 0.9329 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007393/1.019, allocations: 178.6 kB / 0.933 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.019, allocations: 0 / 0.933 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008389/1.02, allocations: 217.7 kB / 0.9332 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.02, allocations: 5.25 kB / 0.9333 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.02, allocations: 0 / 0.9333 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/1.02, allocations: 9.094 kB / 0.9333 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/1.02, allocations: 38.83 kB / 0.9333 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/1.02, allocations: 0 / 0.9333 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/1.02, allocations: 42.25 kB / 0.9333 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/1.02, allocations: 0 / 0.9333 GB, free: 17.09 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 0.0001239/1.02, allocations: 121 kB / 0.9335 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/1.021, allocations: 13.09 kB / 0.9335 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/1.021, allocations: 15.02 kB / 0.9335 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.021, allocations: 0 / 0.9335 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.021, allocations: 1.5 kB / 0.9335 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/1.021, allocations: 0 / 0.9335 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/1.021, allocations: 218.8 kB / 0.9337 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.021, allocations: 3.938 kB / 0.9337 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/1.021, allocations: 38.3 kB / 0.9337 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.021, allocations: 1.5 kB / 0.9337 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/1.021, allocations: 2.625 kB / 0.9337 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.021, allocations: 1.203 kB / 0.9337 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/1.021, allocations: 0 / 0.9337 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008856/1.022, allocations: 315.2 kB / 0.934 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/1.022, allocations: 97.22 kB / 0.9341 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/1.022, allocations: 0 / 0.9341 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/1.022, allocations: 32.09 kB / 0.9342 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/1.023, allocations: 6.25 kB / 0.9342 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/1.023, allocations: 0 / 0.9342 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.064e-05/1.023, allocations: 122.3 kB / 0.9343 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/1.023, allocations: 0 / 0.9343 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002577/1.023, allocations: 16.44 kB / 0.9343 GB, free: 16.43 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.001308/1.024, allocations: 0.8541 MB / 0.9351 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008475/1.025, allocations: 193.1 kB / 0.9353 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.025, allocations: 4 kB / 0.9353 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004012/1.026, allocations: 97.36 kB / 0.9354 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/1.026, allocations: 21.81 kB / 0.9354 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/1.03, allocations: 1.975 MB / 0.9374 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/1.031, allocations: 0.6969 MB / 0.938 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001359/1.031, allocations: 16.25 kB / 0.9381 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/1.031, allocations: 25.42 kB / 0.9381 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of SimCode: time 8.61e-07/1.031, allocations: 0 / 0.9381 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/1.053, allocations: 2.88 MB / 0.9409 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/8.459, allocations: 12.19 kB / 0.9409 GB, free: 13.38 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)