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.00143/0.00143, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00165/0.00165, allocations: 212.9 kB / 23.04 MB, free: 5.082 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.002448/0.002448, allocations: 287.7 kB / 313.5 MB, free: 2.879 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.152/1.152, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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.002656/0.002656, allocations: 97.92 kB / 0.7403 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1672, allocations: 95.39 MB / 0.8335 GB, free: 8.727 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1294/0.2966, allocations: 117.5 MB / 0.9482 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04709/0.3437, allocations: 29.67 MB / 0.9772 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004908/0.3486, allocations: 214.2 kB / 0.9774 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00731/0.3559, allocations: 2.606 MB / 0.9799 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.3827/0.7386, allocations: 4.383 MB / 0.9842 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008152/0.7468, allocations: 3.454 MB / 0.9876 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01979/0.7665, allocations: 13.23 MB / 1 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004278/0.7708, allocations: 2.789 MB / 1.003 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008823/0.7797, allocations: 3.759 MB / 1.007 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005931/0.7856, allocations: 3.052 MB / 1.01 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.7866, allocations: 397.8 kB / 1.01 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006453/0.7931, allocations: 2.682 MB / 1.013 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.7944, allocations: 1.254 MB / 1.014 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003/0.7974, allocations: 2.335 MB / 1.016 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008185/0.8056, allocations: 7.231 MB / 1.023 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8056, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8056, allocations: 4 kB / 1.023 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.00012/0.8057, allocations: 0 / 1.023 GB, free: 12.58 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.008375/0.8141, allocations: 4.862 MB / 1.028 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.8141, allocations: 9.125 kB / 1.028 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.414e-05/0.8142, allocations: 63.19 kB / 1.028 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000369/0.8145, allocations: 342 kB / 1.029 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/0.817, allocations: 0.6626 MB / 1.029 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007071/0.8241, allocations: 4.395 MB / 1.034 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.8242, allocations: 186.1 kB / 1.034 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000448/0.8247, allocations: 240.6 kB / 1.034 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004748/0.8294, allocations: 3.052 MB / 1.037 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.006e-05/0.8295, allocations: 12.38 kB / 1.037 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.8297, allocations: 105 kB / 1.037 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.072e-05/0.8298, allocations: 98.19 kB / 1.037 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/0.8336, allocations: 2.39 MB / 1.039 GB, free: 8.836 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.0143/0.8479, allocations: 12.85 MB / 1.052 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.8501, allocations: 1.469 MB / 1.053 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.8515, allocations: 0.9319 MB / 1.054 GB, free: 348 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006454/0.8579, allocations: 3.444 MB / 1.058 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.858, allocations: 55.28 kB / 1.058 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009069/0.8589, allocations: 156.1 kB / 1.058 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=125): time 2.705e-06/0.8589, allocations: 0 / 1.058 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125): time 0.004552/0.8634, allocations: 2.328 MB / 1.06 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.8635, allocations: 94.52 kB / 1.06 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005088/0.8686, allocations: 3.503 MB / 1.064 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001894/0.8688, allocations: 53.7 kB / 1.064 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001813/0.8706, allocations: 1.722 MB / 1.065 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005257/0.8711, allocations: 484.6 kB / 1.066 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006728/0.8718, allocations: 455.8 kB / 1.066 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8719, allocations: 301.1 kB / 1.067 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.8734, allocations: 0.8514 MB / 1.067 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.8754, allocations: 1.469 MB / 1.069 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01498/0.8904, allocations: 4.577 MB / 1.073 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-05/0.8904, allocations: 8 kB / 1.073 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005265/0.8957, allocations: 2.847 MB / 1.076 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.8957, allocations: 14.03 kB / 1.076 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.8957, allocations: 24.12 kB / 1.076 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004617/0.8962, allocations: 172.7 kB / 1.076 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.8979, allocations: 479.2 kB / 1.077 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.9005, allocations: 2.406 MB / 1.079 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/0.9028, allocations: 115.9 kB / 1.079 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.903, allocations: 91.98 kB / 1.079 GB, free: 9.074 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.004244/0.9072, allocations: 1.927 MB / 1.081 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003216/0.9104, allocations: 1.449 MB / 1.083 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02314/0.9335, allocations: 4.523 MB / 1.087 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.466e-05/0.9336, allocations: 4 kB / 1.087 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.008923/0.9425, allocations: 2.823 MB / 1.09 GB, free: 14.09 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.9425, allocations: 12 kB / 1.09 GB, free: 14.08 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.9425, allocations: 16.33 kB / 1.09 GB, free: 14.06 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00065/0.9432, allocations: 181 kB / 1.09 GB, free: 13.88 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/0.946, allocations: 480.3 kB / 1.09 GB, free: 13.45 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/0.9495, allocations: 2.405 MB / 1.093 GB, free: 10.95 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/0.9533, allocations: 123.9 kB / 1.093 GB, free: 10.83 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/0.9537, allocations: 91.98 kB / 1.093 GB, free: 10.74 MB / 0.7638 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.001244/0.9549, allocations: 0.4955 MB / 1.093 GB, free: 10.27 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001912/0.9568, allocations: 353.8 kB / 1.094 GB, free: 9.918 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004782/0.9616, allocations: 1.997 MB / 1.096 GB, free: 7.969 MB / 0.7638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/0.9616, allocations: 19.98 kB / 1.096 GB, free: 7.949 MB / 0.7638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.9616, allocations: 4 kB / 1.096 GB, free: 7.945 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003138/0.9648, allocations: 1.771 MB / 1.098 GB, free: 6.113 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005422/0.9702, allocations: 2.615 MB / 1.1 GB, free: 3.504 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.9702, allocations: 0 / 1.1 GB, free: 3.504 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.9715, allocations: 264.2 kB / 1.1 GB, free: 3.258 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/0.9719, allocations: 156.6 kB / 1.1 GB, free: 3.102 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.972, allocations: 39.92 kB / 1.101 GB, free: 3.062 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002664/0.9747, allocations: 2.361 MB / 1.103 GB, free: 0.6016 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9747, allocations: 0 / 1.103 GB, free: 0.6016 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005817/0.9805, allocations: 2.831 MB / 1.106 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/0.9822, allocations: 0.5596 MB / 1.106 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008432/0.9831, allocations: 28 kB / 1.106 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/0.9851, allocations: 95.8 kB / 1.106 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.9853, allocations: 96.31 kB / 1.106 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/0.9855, allocations: 63.94 kB / 1.106 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.005052/0.9906, allocations: 2.37 MB / 1.109 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9906, allocations: 0 / 1.109 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.007881/0.9984, allocations: 1.894 MB / 1.111 GB, free: 8.707 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.009307/1.008, allocations: 4.362 MB / 1.115 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00666/1.014, allocations: 3.297 MB / 1.118 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.014, allocations: 4.5 kB / 1.118 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/1.016, allocations: 0.8752 MB / 1.119 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009492/1.026, allocations: 1.803 MB / 1.121 GB, free: 14.76 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04683/1.072, allocations: 25.34 MB / 1.145 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002933/1.075, allocations: 2.425 MB / 1.148 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004304/1.08, allocations: 1.085 MB / 1.149 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0025/1.082, allocations: 1.526 MB / 1.15 GB, free: 15.87 MB / 0.8263 GB Notification: Performance of SimCode: time 1.002e-06/1.082, allocations: 0 / 1.15 GB, free: 15.87 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1696/1.252, allocations: 97.3 MB / 1.245 GB, free: 15.8 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.82/20.07, allocations: 14.22 kB / 1.245 GB, free: 15.79 MB / 0.92 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: 24.384764257003553] Failed to read output from testmodel.py, exit status != 0: 20.35856069403235 20.383149063 19.572750736 Calling exit ...