Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.001073/0.001073, allocations: 109.4 kB / 15.69 MB, free: 128 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.001171/0.001171, allocations: 188.2 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.317/1.317, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.64/1.64, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001364/0.001364, allocations: 66 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1958, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002614/0.1985, allocations: 1.537 MB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001046/0.1986, allocations: 35.84 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.1987, allocations: 3.938 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.1988, allocations: 15.86 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.056e-05/0.1988, allocations: 3.938 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.652e-05/0.1989, allocations: 19.97 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.135e-05/0.199, allocations: 47.84 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1992, allocations: 36.25 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.46e-05/0.1992, allocations: 19.92 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.1993, allocations: 23.86 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1993, allocations: 11.94 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-06/0.1993, allocations: 4 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.1994, allocations: 19.92 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.1994, allocations: 27.86 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.518e-05/0.1995, allocations: 59.69 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1995, allocations: 0 / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1995, allocations: 0 / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.1996, allocations: 0 / 0.7854 GB, free: 11.4 MB / 0.6075 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.0003612/0.1999, allocations: 367.3 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2, allocations: 12.03 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.2, allocations: 38.73 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.2, allocations: 8.844 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.2002, allocations: 184.2 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2002, allocations: 12.38 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.2002, allocations: 4.375 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.2004, allocations: 100.8 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2004, allocations: 3.938 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.2004, allocations: 0 / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2004, allocations: 0 / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.2005, allocations: 47.91 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.201, allocations: 0.6362 MB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.626e-05/0.2011, allocations: 181 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.2012, allocations: 80.14 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.2012, allocations: 79.28 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.2012, allocations: 105.8 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.2012, allocations: 0 / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.92e-05/0.2013, allocations: 37.55 kB / 0.7873 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.2014, allocations: 126.7 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2015, allocations: 173.3 kB / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.2015, allocations: 29.7 kB / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.2016, allocations: 103.9 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-06/0.2016, allocations: 3.984 kB / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.2017, allocations: 17.72 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2018, allocations: 322.8 kB / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.2018, allocations: 0 / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.2018, allocations: 30.55 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/0.2019, allocations: 30.52 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2019, allocations: 0 / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001094/0.202, allocations: 61.48 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.202, allocations: 4 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.202, allocations: 7.938 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.202, allocations: 96 / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.569e-05/0.2021, allocations: 11.98 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2021, allocations: 0 / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.2021, allocations: 7.938 kB / 0.7882 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.2022, allocations: 0 / 0.7882 GB, free: 8.344 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.329e-05/0.2023, allocations: 193.1 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.2023, allocations: 116.8 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.2024, allocations: 116.6 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.252e-05/0.2024, allocations: 185.4 kB / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.544e-05/0.2025, allocations: 184.2 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.532e-05/0.2026, allocations: 180.2 kB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.2028, allocations: 425.1 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.893e-05/0.2028, allocations: 101 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.2028, allocations: 109 kB / 0.7897 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.172e-05/0.2029, allocations: 180.2 kB / 0.7899 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/0.203, allocations: 184.2 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.338e-05/0.203, allocations: 188.1 kB / 0.7902 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.233e-05/0.2031, allocations: 176.5 kB / 0.7904 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.2032, allocations: 319.7 kB / 0.7907 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.2033, allocations: 186 kB / 0.7909 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.2034, allocations: 192.1 kB / 0.7911 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.2035, allocations: 101 kB / 0.7912 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.2035, allocations: 176.3 kB / 0.7913 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.2036, allocations: 116.9 kB / 0.7914 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.333e-05/0.2037, allocations: 129.7 kB / 0.7916 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2037, allocations: 0 / 0.7916 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000209/0.2039, allocations: 8 kB / 0.7916 GB, free: 4.629 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003746/0.2043, allocations: 0.8164 MB / 0.7924 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.119e-05/0.2043, allocations: 11.94 kB / 0.7924 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2043, allocations: 0 / 0.7924 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/0.2044, allocations: 4 kB / 0.7924 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.2047, allocations: 455.7 kB / 0.7928 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.206, allocations: 1.641 MB / 0.7944 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.2062, allocations: 0.6924 MB / 0.7951 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.022e-05/0.2063, allocations: 15.86 kB / 0.7951 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.2063, allocations: 19.44 kB / 0.7951 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2063, allocations: 4 kB / 0.7951 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.2228, allocations: 1.669 MB / 0.7968 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/7.676, allocations: 6.641 kB / 0.7968 GB, free: 15.26 MB / 0.6231 GB (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)