Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 211.9 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002598/0.002598, allocations: 288.5 kB / 312.7 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.227/1.227, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002839/0.002839, allocations: 98.3 kB / 0.7395 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1592, allocations: 95.39 MB / 0.8326 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1122/0.2715, allocations: 105.7 MB / 0.9359 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04292/0.3144, allocations: 27.49 MB / 0.9627 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005446/0.3198, allocations: 210.3 kB / 0.9629 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00759/0.3274, allocations: 2.47 MB / 0.9653 GB, free: 44 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.3385, allocations: 4.405 MB / 0.9696 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008005/0.3465, allocations: 3.392 MB / 0.9729 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4071/0.7536, allocations: 13.19 MB / 0.9858 GB, free: 17.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004248/0.7579, allocations: 2.777 MB / 0.9885 GB, free: 17.06 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008403/0.7663, allocations: 3.792 MB / 0.9922 GB, free: 17.06 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007438/0.7737, allocations: 3.005 MB / 0.9952 GB, free: 16.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002141/0.7759, allocations: 387.6 kB / 0.9955 GB, free: 16.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006302/0.7822, allocations: 2.143 MB / 0.9976 GB, free: 16.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001981/0.7842, allocations: 1.235 MB / 0.9988 GB, free: 16.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003538/0.7877, allocations: 1.845 MB / 1.001 GB, free: 16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009266/0.797, allocations: 7.116 MB / 1.008 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.797, allocations: 0 / 1.008 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.797, allocations: 0 / 1.008 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001389/0.7971, allocations: 0 / 1.008 GB, free: 15.07 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: 607 * Number of variables: 607 Notification: Performance of Generate backend data structure: time 0.009518/0.8066, allocations: 4.826 MB / 1.012 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.8067, allocations: 14.23 kB / 1.012 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000435/0.8071, allocations: 339.6 kB / 1.013 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.8097, allocations: 0.6509 MB / 1.013 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007845/0.8176, allocations: 4.329 MB / 1.017 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.8177, allocations: 191.3 kB / 1.018 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003891/0.8181, allocations: 245.2 kB / 1.018 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00463/0.8227, allocations: 3.58 MB / 1.021 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.005e-05/0.8228, allocations: 10.59 kB / 1.021 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.823, allocations: 102.8 kB / 1.022 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.202e-05/0.8231, allocations: 98.55 kB / 1.022 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.8268, allocations: 2.383 MB / 1.024 GB, free: 10.7 MB / 0.7169 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.01376/0.8405, allocations: 10.1 MB / 1.034 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002324/0.8429, allocations: 1.462 MB / 1.035 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.8443, allocations: 0.9353 MB / 1.036 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006867/0.8512, allocations: 3.016 MB / 1.039 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.8512, allocations: 49.25 kB / 1.039 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001015/0.8522, allocations: 158.7 kB / 1.039 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=125): time 3.837e-06/0.8522, allocations: 0 / 1.039 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125): time 0.004112/0.8563, allocations: 2.326 MB / 1.042 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.8564, allocations: 92.39 kB / 1.042 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/0.8605, allocations: 3.519 MB / 1.045 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002234/0.8607, allocations: 56.75 kB / 1.045 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.8619, allocations: 1.727 MB / 1.047 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004024/0.8623, allocations: 478.9 kB / 1.047 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005129/0.8628, allocations: 458.9 kB / 1.048 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.572e-05/0.8628, allocations: 305.1 kB / 1.048 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.864, allocations: 0.8394 MB / 1.049 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.8655, allocations: 1.593 MB / 1.05 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/0.8789, allocations: 4.583 MB / 1.055 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/0.8789, allocations: 3.688 kB / 1.055 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004519/0.8834, allocations: 2.842 MB / 1.058 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.8835, allocations: 11.06 kB / 1.058 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.8835, allocations: 16.5 kB / 1.058 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003898/0.8839, allocations: 176.5 kB / 1.058 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.8853, allocations: 485.5 kB / 1.058 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.8875, allocations: 2.38 MB / 1.061 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.8898, allocations: 113.8 kB / 1.061 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.89, allocations: 96.69 kB / 1.061 GB, free: 14.9 MB / 0.7325 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true final = true ) \"Internal energy of fluid\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003062/0.893, allocations: 1.922 MB / 1.063 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001773/0.8948, allocations: 1.587 MB / 1.064 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01412/0.9089, allocations: 4.506 MB / 1.069 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.671e-05/0.9089, allocations: 4 kB / 1.069 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.005344/0.9143, allocations: 2.816 MB / 1.071 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.9143, allocations: 12 kB / 1.071 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.9143, allocations: 16 kB / 1.071 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.9148, allocations: 184.8 kB / 1.072 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.9164, allocations: 478.2 kB / 1.072 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.919, allocations: 2.379 MB / 1.074 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/0.9216, allocations: 117.5 kB / 1.074 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/0.9218, allocations: 99.25 kB / 1.075 GB, free: 3.098 MB / 0.7325 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true final = true ) \"Internal energy of fluid\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.control.y,control.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (245): * Single equations (assignments): 242 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008073/0.9226, allocations: 0.492 MB / 1.075 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000698/0.9233, allocations: 353.7 kB / 1.075 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004036/0.9274, allocations: 2.005 MB / 1.077 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.9274, allocations: 12 kB / 1.077 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9274, allocations: 8 kB / 1.077 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002761/0.9301, allocations: 1.767 MB / 1.079 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004374/0.9345, allocations: 2.231 MB / 1.081 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.9345, allocations: 4 kB / 1.081 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.9357, allocations: 267.8 kB / 1.082 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/0.9362, allocations: 161 kB / 1.082 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.813e-05/0.9362, allocations: 39.97 kB / 1.082 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.9389, allocations: 2.333 MB / 1.084 GB, free: 9.363 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.9389, allocations: 7.922 kB / 1.084 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005287/0.9442, allocations: 2.835 MB / 1.087 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/0.9459, allocations: 0.5459 MB / 1.087 GB, free: 5.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004532/0.9463, allocations: 31.94 kB / 1.087 GB, free: 5.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.9478, allocations: 82.91 kB / 1.087 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.948, allocations: 100 kB / 1.088 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.9481, allocations: 59.95 kB / 1.088 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003966/0.9521, allocations: 2.366 MB / 1.09 GB, free: 3.383 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.9521, allocations: 0 / 1.09 GB, free: 3.383 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005964/0.958, allocations: 1.887 MB / 1.092 GB, free: 1.492 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (senTemIn.T,senTemOut.T,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2],exp.m,exp.H,CHP.vol.dynBal.U) * Number of discrete variables: 1 (control.y) * Number of discrete states: 1 (control.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008107/0.9661, allocations: 4.371 MB / 1.096 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006213/0.9723, allocations: 3.283 MB / 1.099 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.9723, allocations: 1.25 kB / 1.099 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.9739, allocations: 0.8789 MB / 1.1 GB, free: 9.332 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007863/0.9817, allocations: 1.82 MB / 1.102 GB, free: 7.57 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04269/1.024, allocations: 25.25 MB / 1.127 GB, free: 13.79 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/1.027, allocations: 1.876 MB / 1.128 GB, free: 11.89 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003945/1.031, allocations: 1.073 MB / 1.129 GB, free: 10.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002434/1.033, allocations: 1.533 MB / 1.131 GB, free: 9.309 MB / 0.795 GB Notification: Performance of SimCode: time 1.974e-06/1.033, allocations: 0 / 1.131 GB, free: 9.309 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1787/1.212, allocations: 101.7 MB / 1.23 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.08/17.29, allocations: 0 / 1.23 GB, free: 5.215 MB / 0.8887 GB " [Timeout remaining time 642] (rm -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_res.csv --start-time 0 --stop-time 20000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8 BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage.fmu > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.598232162185013] Failed to read output from testmodel.py, exit status != 0: 17.519206470344216 17.536150816 16.735741647 Calling exit ...