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.0008675/0.0008675, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001042/0.001042, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8571/0.8571, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.001382/0.001382, allocations: 237.6 kB / 259.4 MB, free: 13.04 MB / 250.7 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 0.6495/0.6495, allocations: 138.4 MB / 454.3 MB, free: 1.648 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 3.984 kB / 0.6463 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.064e-05, allocations: 2.281 kB / 0.6463 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.06148/0.0615, allocations: 104.8 MB / 0.7486 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.03216/0.09366, allocations: 27.52 MB / 0.7755 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007028/0.1007, allocations: 214.3 kB / 0.7757 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.006337/0.107, allocations: 2.498 MB / 0.7781 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009603/0.1166, allocations: 4.502 MB / 0.7825 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00691/0.1235, allocations: 3.472 MB / 0.7859 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01509/0.1386, allocations: 14.25 MB / 0.7999 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004359/0.143, allocations: 2.796 MB / 0.8026 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/0.1534, allocations: 5.055 MB / 0.8075 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004392/0.1578, allocations: 2.711 MB / 0.8102 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.159, allocations: 384 kB / 0.8105 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.1632, allocations: 1.848 MB / 0.8123 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.1647, allocations: 1.285 MB / 0.8136 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002963/0.1677, allocations: 1.543 MB / 0.8151 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008871/0.1766, allocations: 6.914 MB / 0.8218 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1766, allocations: 0 / 0.8218 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1766, allocations: 4 kB / 0.8219 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002097/0.1768, allocations: 4 kB / 0.8219 GB, free: 13.23 MB / 0.6667 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.007971/0.1848, allocations: 4.76 MB / 0.8265 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1848, allocations: 12.03 kB / 0.8265 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004967/0.1853, allocations: 349.4 kB / 0.8268 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.1871, allocations: 0.6492 MB / 0.8275 GB, free: 7.379 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00677/0.1938, allocations: 4.566 MB / 0.8319 GB, free: 2.727 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.1939, allocations: 188.7 kB / 0.8321 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004993/0.1944, allocations: 255.9 kB / 0.8324 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005593/0.2, allocations: 3.575 MB / 0.8359 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/0.2001, allocations: 3.984 kB / 0.8359 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002104/0.2003, allocations: 104 kB / 0.836 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.268e-05/0.2004, allocations: 96.47 kB / 0.8361 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003219/0.2036, allocations: 2.383 MB / 0.8384 GB, free: 11.84 MB / 0.6823 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.01236/0.216, allocations: 10.02 MB / 0.8482 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.2178, allocations: 1.468 MB / 0.8496 GB, free: 136 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.2189, allocations: 0.9395 MB / 0.8505 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00502/0.2239, allocations: 2.963 MB / 0.8534 GB, free: 12.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.224, allocations: 55.5 kB / 0.8535 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007673/0.2247, allocations: 146.8 kB / 0.8536 GB, free: 12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=125): time 4.558e-06/0.2247, allocations: 7.938 kB / 0.8536 GB, free: 11.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=125): time 0.00327/0.228, allocations: 2.326 MB / 0.8559 GB, free: 9.656 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.2281, allocations: 94.11 kB / 0.856 GB, free: 9.543 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003847/0.2319, allocations: 3.388 MB / 0.8593 GB, free: 6.172 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/0.2321, allocations: 57.64 kB / 0.8593 GB, free: 6.109 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.2335, allocations: 1.769 MB / 0.8611 GB, free: 4.328 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/0.234, allocations: 472 kB / 0.8615 GB, free: 3.863 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003612/0.2343, allocations: 343.3 kB / 0.8618 GB, free: 3.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.2344, allocations: 305.1 kB / 0.8621 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008327/0.2352, allocations: 0.6528 MB / 0.8628 GB, free: 2.562 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.2363, allocations: 1.363 MB / 0.8641 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3403/0.5766, allocations: 4.212 MB / 0.8682 GB, free: 82.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/0.5766, allocations: 8.688 kB / 0.8682 GB, free: 82.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004079/0.5807, allocations: 2.369 MB / 0.8705 GB, free: 82.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.5808, allocations: 11.78 kB / 0.8705 GB, free: 82.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/0.5808, allocations: 18.94 kB / 0.8706 GB, free: 82.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.5811, allocations: 174.7 kB / 0.8707 GB, free: 82.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.5822, allocations: 425.7 kB / 0.8711 GB, free: 82.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.5839, allocations: 2.381 MB / 0.8735 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.5859, allocations: 121.3 kB / 0.8736 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.586, allocations: 85.47 kB / 0.8737 GB, free: 81.25 MB / 0.698 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.002522/0.5886, allocations: 1.722 MB / 0.8753 GB, free: 81.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00101/0.5896, allocations: 1.353 MB / 0.8767 GB, free: 80.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00786/0.5974, allocations: 4.162 MB / 0.8807 GB, free: 79.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.726e-05/0.5975, allocations: 4.688 kB / 0.8807 GB, free: 79.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=222) (initialization_lambda0): time 0.003769/0.6012, allocations: 2.348 MB / 0.883 GB, free: 79.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.6012, allocations: 16.16 kB / 0.883 GB, free: 79.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.6013, allocations: 19.56 kB / 0.8831 GB, free: 79.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/0.6016, allocations: 180.3 kB / 0.8832 GB, free: 79.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009498/0.6025, allocations: 427 kB / 0.8836 GB, free: 79.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.6041, allocations: 2.379 MB / 0.886 GB, free: 78.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.606, allocations: 111 kB / 0.8861 GB, free: 78.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/0.6062, allocations: 84.7 kB / 0.8861 GB, free: 78.18 MB / 0.698 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: 76 * 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 (211): * Single equations (assignments): 209 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0007744/0.607, allocations: 0.4889 MB / 0.8866 GB, free: 77.94 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007893/0.6078, allocations: 355.5 kB / 0.887 GB, free: 77.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/0.6108, allocations: 2.024 MB / 0.8889 GB, free: 77.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.6108, allocations: 15.36 kB / 0.889 GB, free: 77.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6108, allocations: 3.906 kB / 0.889 GB, free: 77.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001584/0.6124, allocations: 1.765 MB / 0.8907 GB, free: 77.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.6155, allocations: 2.222 MB / 0.8928 GB, free: 77.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.6155, allocations: 1.422 kB / 0.8928 GB, free: 77.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.6161, allocations: 262.6 kB / 0.8931 GB, free: 77.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/0.6163, allocations: 153.5 kB / 0.8932 GB, free: 77.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.748e-05/0.6164, allocations: 39.98 kB / 0.8933 GB, free: 77.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.6178, allocations: 2.35 MB / 0.8956 GB, free: 75.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6178, allocations: 0 / 0.8956 GB, free: 75.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003347/0.6212, allocations: 2.841 MB / 0.8984 GB, free: 75.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.6223, allocations: 0.5322 MB / 0.8989 GB, free: 75.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003012/0.6226, allocations: 30.81 kB / 0.8989 GB, free: 75.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007935/0.6234, allocations: 86.58 kB / 0.899 GB, free: 75.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.6235, allocations: 91.86 kB / 0.8991 GB, free: 75.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.012e-05/0.6236, allocations: 65.23 kB / 0.8991 GB, free: 75.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00248/0.6261, allocations: 2.314 MB / 0.9014 GB, free: 74.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6261, allocations: 0 / 0.9014 GB, free: 74.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003618/0.6297, allocations: 1.756 MB / 0.9031 GB, free: 74.85 MB / 0.698 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.004509/0.6342, allocations: 4.217 MB / 0.9072 GB, free: 73.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003462/0.6377, allocations: 2.831 MB / 0.91 GB, free: 73.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6377, allocations: 0.5 kB / 0.91 GB, free: 73.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009163/0.6386, allocations: 0.8756 MB / 0.9108 GB, free: 73.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005119/0.6437, allocations: 1.921 MB / 0.9127 GB, free: 73.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03073/0.6744, allocations: 24.28 MB / 0.9364 GB, free: 64.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/0.6763, allocations: 1.87 MB / 0.9383 GB, free: 62.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00368/0.68, allocations: 1.053 MB / 0.9393 GB, free: 62.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/0.6817, allocations: 1.537 MB / 0.9408 GB, free: 61.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.353e-06/0.6817, allocations: 3.938 kB / 0.9408 GB, free: 61.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/0.7886, allocations: 101.6 MB / 1.04 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.453/10.24, allocations: 3.938 kB / 1.04 GB, free: 10.22 MB / 0.7448 GB " [Timeout remaining time 650] (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: 13.104455718770623] Failed to read output from testmodel.py, exit status != 0: 10.389195485971868 10.397754505 10.218894934 Calling exit ...