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.001471/0.001471, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001609/0.001609, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002418/0.002418, allocations: 282.4 kB / 313.5 MB, free: 2.605 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.246/1.246, allocations: 180.6 MB / 0.5377 GB, free: 14.46 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage",fmuType="cs",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.002732/0.002732, allocations: 100.9 kB / 0.7402 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1599, allocations: 95.39 MB / 0.8334 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1108/0.2708, allocations: 105.6 MB / 0.9365 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04263/0.3134, allocations: 27.45 MB / 0.9633 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005705/0.3191, allocations: 210.3 kB / 0.9635 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006935/0.326, allocations: 2.492 MB / 0.9659 GB, free: 156 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01223/0.3383, allocations: 4.414 MB / 0.9703 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008302/0.3466, allocations: 3.411 MB / 0.9736 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4244/0.771, allocations: 13.22 MB / 0.9865 GB, free: 17.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00541/0.7764, allocations: 2.786 MB / 0.9892 GB, free: 17.15 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008336/0.7848, allocations: 3.771 MB / 0.9929 GB, free: 17.15 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006061/0.7908, allocations: 3.052 MB / 0.9959 GB, free: 16.78 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001756/0.7926, allocations: 397.6 kB / 0.9963 GB, free: 16.78 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007334/0.7999, allocations: 2.216 MB / 0.9984 GB, free: 16.78 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00234/0.8023, allocations: 1.254 MB / 0.9997 GB, free: 16.58 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004736/0.807, allocations: 1.859 MB / 1.001 GB, free: 16.1 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.8187, allocations: 7.193 MB / 1.008 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.8187, allocations: 0 / 1.008 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8187, allocations: 1.375 kB / 1.008 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000186/0.8189, allocations: 0 / 1.008 GB, free: 15.18 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.01046/0.8294, allocations: 4.866 MB / 1.013 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.8294, allocations: 9.469 kB / 1.013 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.679e-05/0.8295, allocations: 62.22 kB / 1.013 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004655/0.83, allocations: 343.7 kB / 1.014 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/0.8327, allocations: 0.6522 MB / 1.014 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008002/0.8407, allocations: 4.395 MB / 1.019 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.8408, allocations: 183.9 kB / 1.019 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000502/0.8413, allocations: 247.1 kB / 1.019 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00504/0.8464, allocations: 3.584 MB / 1.022 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.936e-05/0.8464, allocations: 10.02 kB / 1.022 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/0.8467, allocations: 102 kB / 1.023 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.447e-05/0.8467, allocations: 99.42 kB / 1.023 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003922/0.8507, allocations: 2.394 MB / 1.025 GB, free: 10.79 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.0153/0.866, allocations: 10.11 MB / 1.035 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.8682, allocations: 1.464 MB / 1.036 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.8696, allocations: 0.9349 MB / 1.037 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006014/0.8756, allocations: 3.03 MB / 1.04 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.8756, allocations: 53.88 kB / 1.04 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001264/0.8769, allocations: 164.4 kB / 1.04 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=125): time 5.851e-06/0.8769, allocations: 0 / 1.04 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125): time 0.004778/0.8817, allocations: 2.334 MB / 1.043 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.8817, allocations: 89.55 kB / 1.043 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004484/0.8862, allocations: 3.495 MB / 1.046 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003263/0.8865, allocations: 55.02 kB / 1.046 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.8878, allocations: 1.728 MB / 1.048 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004492/0.8882, allocations: 482.6 kB / 1.048 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005654/0.8888, allocations: 454 kB / 1.049 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.651e-05/0.8888, allocations: 306.1 kB / 1.049 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.8901, allocations: 0.8472 MB / 1.05 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.8916, allocations: 1.635 MB / 1.052 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01341/0.905, allocations: 4.583 MB / 1.056 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/0.905, allocations: 5.375 kB / 1.056 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004277/0.9093, allocations: 2.853 MB / 1.059 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.9093, allocations: 10.03 kB / 1.059 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.9093, allocations: 26.02 kB / 1.059 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/0.9098, allocations: 172.8 kB / 1.059 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.9113, allocations: 481.2 kB / 1.059 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.9137, allocations: 2.376 MB / 1.062 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.9163, allocations: 123.3 kB / 1.062 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/0.9165, allocations: 97.31 kB / 1.062 GB, free: 14.67 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.003586/0.9201, allocations: 1.921 MB / 1.064 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001879/0.922, allocations: 1.626 MB / 1.065 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0147/0.9367, allocations: 4.525 MB / 1.07 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.996e-05/0.9367, allocations: 4 kB / 1.07 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.005477/0.9422, allocations: 2.83 MB / 1.073 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.9422, allocations: 12 kB / 1.073 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.9422, allocations: 19.38 kB / 1.073 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004292/0.9426, allocations: 183.5 kB / 1.073 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.9443, allocations: 472.8 kB / 1.073 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.9469, allocations: 2.376 MB / 1.076 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/0.9496, allocations: 124 kB / 1.076 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.9498, allocations: 95.92 kB / 1.076 GB, free: 2.586 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.0008627/0.9507, allocations: 0.5005 MB / 1.076 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007997/0.9515, allocations: 349.8 kB / 1.077 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/0.9555, allocations: 2.007 MB / 1.079 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.9555, allocations: 15.98 kB / 1.079 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9555, allocations: 4 kB / 1.079 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002727/0.9583, allocations: 1.771 MB / 1.08 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.9621, allocations: 2.234 MB / 1.083 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.9621, allocations: 0 / 1.083 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.9633, allocations: 256.8 kB / 1.083 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/0.9637, allocations: 163.7 kB / 1.083 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.867e-05/0.9638, allocations: 35.98 kB / 1.083 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.9663, allocations: 2.345 MB / 1.085 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9663, allocations: 0 / 1.085 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005107/0.9714, allocations: 2.839 MB / 1.088 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001818/0.9733, allocations: 0.5498 MB / 1.089 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006813/0.9739, allocations: 28 kB / 1.089 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/0.9756, allocations: 99.27 kB / 1.089 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.9758, allocations: 91.7 kB / 1.089 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/0.9759, allocations: 67.94 kB / 1.089 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00411/0.98, allocations: 2.374 MB / 1.091 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.98, allocations: 0 / 1.091 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005241/0.9853, allocations: 1.891 MB / 1.093 GB, free: 0.9531 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.007812/0.9931, allocations: 4.38 MB / 1.097 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005895/0.999, allocations: 3.3 MB / 1.101 GB, free: 9.637 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.999, allocations: 4.5 kB / 1.101 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/1, allocations: 0.8731 MB / 1.101 GB, free: 8.773 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008237/1.009, allocations: 1.81 MB / 1.103 GB, free: 7.027 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04396/1.053, allocations: 25.33 MB / 1.128 GB, free: 13.17 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002094/1.055, allocations: 1.868 MB / 1.13 GB, free: 11.27 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003582/1.058, allocations: 1.081 MB / 1.131 GB, free: 10.22 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002214/1.061, allocations: 1.533 MB / 1.132 GB, free: 8.688 MB / 0.795 GB Notification: Performance of SimCode: time 7.21e-07/1.061, allocations: 0 / 1.132 GB, free: 8.688 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1714/1.232, allocations: 101.8 MB / 1.232 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.15/19.39, allocations: 3.938 kB / 1.232 GB, free: 4.504 MB / 0.8887 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage_fmu --startTime=0 --stopTime=20000 --stepSize=8 --timeout=50 --tolerance=1e-06 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: 23.927085172967054] Failed to read output from testmodel.py, exit status != 0: 19.678228934062645 19.693350214 18.871390399 Calling exit ...