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.001334/0.001334, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001576/0.001576, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.996 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.002493/0.002493, allocations: 288.2 kB / 312.7 MB, free: 2.789 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.295/1.295, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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.002835/0.002835, allocations: 93.64 kB / 0.7396 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1897, allocations: 95.38 MB / 0.8327 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1282/0.3179, allocations: 117.5 MB / 0.9474 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.07193/0.3898, allocations: 29.66 MB / 0.9764 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007263/0.3971, allocations: 218.2 kB / 0.9766 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.4082, allocations: 2.592 MB / 0.9791 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.4436/0.8518, allocations: 4.398 MB / 0.9834 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008389/0.8602, allocations: 3.46 MB / 0.9868 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02172/0.8819, allocations: 13.23 MB / 0.9997 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005682/0.8876, allocations: 2.788 MB / 1.002 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01143/0.899, allocations: 3.762 MB / 1.006 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006532/0.9056, allocations: 3.046 MB / 1.009 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001119/0.9067, allocations: 397.7 kB / 1.009 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006562/0.9132, allocations: 2.688 MB / 1.012 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001808/0.9151, allocations: 1.251 MB / 1.013 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004012/0.9191, allocations: 2.331 MB / 1.016 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.9302, allocations: 7.237 MB / 1.023 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.9302, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9302, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001732/0.9303, allocations: 0 / 1.023 GB, free: 12.89 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.009515/0.9399, allocations: 4.865 MB / 1.027 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.9399, allocations: 8.688 kB / 1.027 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004861/0.9404, allocations: 344.1 kB / 1.028 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002694/0.9431, allocations: 0.6542 MB / 1.028 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00806/0.9511, allocations: 4.389 MB / 1.033 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.9513, allocations: 190.3 kB / 1.033 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005628/0.9518, allocations: 243.2 kB / 1.033 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004949/0.9568, allocations: 3.051 MB / 1.036 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.156e-05/0.9569, allocations: 17.02 kB / 1.036 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.9571, allocations: 96.09 kB / 1.036 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.877e-05/0.9572, allocations: 95.66 kB / 1.036 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004137/0.9613, allocations: 2.389 MB / 1.039 GB, free: 9.16 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.01707/0.9784, allocations: 12.86 MB / 1.051 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/0.9808, allocations: 1.46 MB / 1.053 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.9822, allocations: 0.939 MB / 1.054 GB, free: 332 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007407/0.9896, allocations: 3.448 MB / 1.057 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/0.9897, allocations: 48.09 kB / 1.057 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001155/0.9908, allocations: 152.6 kB / 1.057 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=125): time 4.729e-06/0.9908, allocations: 1.938 kB / 1.057 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125): time 0.00496/0.9958, allocations: 2.334 MB / 1.059 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.9959, allocations: 92.92 kB / 1.059 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005547/1.001, allocations: 3.498 MB / 1.063 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002947/1.002, allocations: 53.7 kB / 1.063 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001885/1.004, allocations: 1.725 MB / 1.065 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006174/1.004, allocations: 487.9 kB / 1.065 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006832/1.005, allocations: 463.8 kB / 1.065 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.005, allocations: 301.1 kB / 1.066 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.007, allocations: 0.8436 MB / 1.067 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/1.009, allocations: 1.458 MB / 1.068 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01592/1.025, allocations: 4.576 MB / 1.072 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-05/1.025, allocations: 8 kB / 1.073 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.006193/1.031, allocations: 2.852 MB / 1.075 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/1.031, allocations: 16 kB / 1.075 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/1.031, allocations: 16 kB / 1.075 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/1.031, allocations: 180.2 kB / 1.075 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.033, allocations: 475.1 kB / 1.076 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/1.036, allocations: 2.414 MB / 1.078 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/1.039, allocations: 115.2 kB / 1.078 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/1.039, allocations: 96.03 kB / 1.079 GB, free: 9.098 MB / 0.7481 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.003792/1.043, allocations: 1.92 MB / 1.08 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00203/1.045, allocations: 1.457 MB / 1.082 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0152/1.06, allocations: 4.514 MB / 1.086 GB, free: 0.8125 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.921e-05/1.06, allocations: 4 kB / 1.086 GB, free: 0.8086 MB / 0.7481 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.005783/1.066, allocations: 2.83 MB / 1.089 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/1.066, allocations: 12.11 kB / 1.089 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/1.066, allocations: 23.94 kB / 1.089 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/1.066, allocations: 172.9 kB / 1.089 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1.068, allocations: 472.5 kB / 1.09 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/1.071, allocations: 2.411 MB / 1.092 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/1.074, allocations: 123.9 kB / 1.092 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/1.074, allocations: 91.98 kB / 1.092 GB, free: 10.76 MB / 0.7637 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.0008173/1.075, allocations: 0.4923 MB / 1.093 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000973/1.076, allocations: 353.7 kB / 1.093 GB, free: 9.945 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004218/1.08, allocations: 2.003 MB / 1.095 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/1.08, allocations: 16 kB / 1.095 GB, free: 7.977 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.08, allocations: 0 / 1.095 GB, free: 7.977 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002873/1.083, allocations: 1.771 MB / 1.097 GB, free: 6.145 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005378/1.088, allocations: 2.613 MB / 1.099 GB, free: 3.535 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.088, allocations: 0 / 1.099 GB, free: 3.535 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.089, allocations: 264.3 kB / 1.1 GB, free: 3.289 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/1.09, allocations: 165 kB / 1.1 GB, free: 3.125 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/1.09, allocations: 39.97 kB / 1.1 GB, free: 3.086 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/1.093, allocations: 2.369 MB / 1.102 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.093, allocations: 3.984 kB / 1.102 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005882/1.099, allocations: 2.831 MB / 1.105 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002294/1.101, allocations: 0.5497 MB / 1.105 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007184/1.102, allocations: 28 kB / 1.105 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/1.103, allocations: 91.86 kB / 1.105 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/1.103, allocations: 89.12 kB / 1.106 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.104, allocations: 63.94 kB / 1.106 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004362/1.108, allocations: 2.374 MB / 1.108 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/1.108, allocations: 0 / 1.108 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00625/1.114, allocations: 1.901 MB / 1.11 GB, free: 8.73 MB / 0.7794 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.008617/1.123, allocations: 4.36 MB / 1.114 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00626/1.129, allocations: 3.291 MB / 1.117 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.129, allocations: 4.5 kB / 1.117 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/1.131, allocations: 0.8824 MB / 1.118 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008259/1.139, allocations: 1.826 MB / 1.12 GB, free: 14.76 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04637/1.185, allocations: 25.33 MB / 1.145 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/1.188, allocations: 2.412 MB / 1.147 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00394/1.192, allocations: 1.066 MB / 1.148 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00245/1.194, allocations: 1.53 MB / 1.15 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of SimCode: time 1.112e-06/1.194, allocations: 0 / 1.15 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1823/1.376, allocations: 97.28 MB / 1.245 GB, free: 15.85 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.91/20.29, allocations: 9.969 kB / 1.245 GB, free: 15.84 MB / 0.92 GB " [Timeout remaining time 639] (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: 24.919992267001362] Failed to read output from testmodel.py, exit status != 0: 20.522215176999453 20.539210441 19.605365819 Calling exit ...