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.001033/0.001033, 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.001219/0.001219, allocations: 169.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.9634/0.9634, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.002474/0.002474, allocations: 241.2 kB / 259.4 MB, free: 13.03 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.7016/0.7016, allocations: 138.4 MB / 454.3 MB, free: 30.06 MB / 410.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.647 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.787e-05, allocations: 5.094 kB / 0.647 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.2908/0.2908, allocations: 104.8 MB / 0.7494 GB, free: 1.387 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.03052/0.3213, allocations: 27.5 MB / 0.7762 GB, free: 6.293 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005242/0.3266, allocations: 214.3 kB / 0.7764 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004931/0.3315, allocations: 2.497 MB / 0.7789 GB, free: 3.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007469/0.339, allocations: 4.515 MB / 0.7833 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005459/0.3444, allocations: 3.475 MB / 0.7867 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01219/0.3566, allocations: 14.25 MB / 0.8006 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00363/0.3602, allocations: 2.799 MB / 0.8033 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008759/0.369, allocations: 5.076 MB / 0.8083 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003488/0.3725, allocations: 2.692 MB / 0.8109 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005101/0.373, allocations: 388 kB / 0.8113 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/0.3761, allocations: 1.851 MB / 0.8131 GB, free: 480 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008428/0.3769, allocations: 1.269 MB / 0.8143 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.3782, allocations: 1.539 MB / 0.8158 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005653/0.3839, allocations: 6.929 MB / 0.8226 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3839, allocations: 0 / 0.8226 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3839, allocations: 4 kB / 0.8226 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.712e-05/0.3839, allocations: 0 / 0.8226 GB, free: 6.699 MB / 0.6511 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.005063/0.389, allocations: 4.757 MB / 0.8273 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.3891, allocations: 17.2 kB / 0.8273 GB, free: 1.852 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003105/0.3894, allocations: 337.4 kB / 0.8276 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.3908, allocations: 0.657 MB / 0.8282 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/0.3954, allocations: 4.567 MB / 0.8327 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.885e-05/0.3954, allocations: 188.7 kB / 0.8329 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.3957, allocations: 263.9 kB / 0.8331 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.3991, allocations: 3.575 MB / 0.8366 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.052e-05/0.3992, allocations: 11.92 kB / 0.8366 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.3993, allocations: 104 kB / 0.8367 GB, free: 7.789 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.869e-05/0.3994, allocations: 96.47 kB / 0.8368 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/0.4021, allocations: 2.383 MB / 0.8391 GB, free: 5.293 MB / 0.6667 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.009729/0.4118, allocations: 10.02 MB / 0.8489 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.4137, allocations: 1.456 MB / 0.8504 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.4148, allocations: 0.9394 MB / 0.8513 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004011/0.4188, allocations: 2.969 MB / 0.8542 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.4188, allocations: 52.42 kB / 0.8542 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004576/0.4193, allocations: 142.8 kB / 0.8544 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=125): time 2.635e-06/0.4193, allocations: 0 / 0.8544 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125): time 0.003039/0.4223, allocations: 2.334 MB / 0.8566 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.4224, allocations: 94.11 kB / 0.8567 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/0.4253, allocations: 3.392 MB / 0.86 GB, free: 15.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.271e-05/0.4254, allocations: 56.33 kB / 0.8601 GB, free: 15.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.4264, allocations: 1.765 MB / 0.8618 GB, free: 13.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/0.4267, allocations: 472 kB / 0.8623 GB, free: 13.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.427, allocations: 347.4 kB / 0.8626 GB, free: 13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.4271, allocations: 305.1 kB / 0.8629 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008436/0.4279, allocations: 0.6566 MB / 0.8635 GB, free: 12.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.429, allocations: 1.363 MB / 0.8649 GB, free: 10.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007655/0.4367, allocations: 4.232 MB / 0.869 GB, free: 5.918 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.4367, allocations: 4 kB / 0.869 GB, free: 5.914 MB / 0.698 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002841/0.4395, allocations: 2.374 MB / 0.8713 GB, free: 3.527 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4395, allocations: 12.19 kB / 0.8713 GB, free: 3.516 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.4395, allocations: 20 kB / 0.8713 GB, free: 3.496 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/0.4398, allocations: 168.7 kB / 0.8715 GB, free: 3.328 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008545/0.4407, allocations: 435.3 kB / 0.8719 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.4423, allocations: 2.374 MB / 0.8742 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.4434, allocations: 107.8 kB / 0.8743 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.865e-05/0.4435, allocations: 83.98 kB / 0.8744 GB, free: 236 kB / 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.001993/0.4455, allocations: 1.723 MB / 0.8761 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001101/0.4466, allocations: 1.359 MB / 0.8774 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007348/0.4539, allocations: 4.17 MB / 0.8815 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.616e-06/0.4539, allocations: 7.938 kB / 0.8815 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of matching and sorting (n=222) (initialization_lambda0): time 0.002713/0.4566, allocations: 2.351 MB / 0.8838 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4566, allocations: 12 kB / 0.8838 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.4567, allocations: 16 kB / 0.8838 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002397/0.4569, allocations: 177 kB / 0.884 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008181/0.4577, allocations: 419.4 kB / 0.8844 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.4593, allocations: 2.384 MB / 0.8867 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.4603, allocations: 123.9 kB / 0.8868 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.401e-05/0.4604, allocations: 79.98 kB / 0.8869 GB, free: 2.777 MB / 0.7136 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.0005134/0.4609, allocations: 490.4 kB / 0.8874 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/0.4613, allocations: 361.7 kB / 0.8877 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.4638, allocations: 2.014 MB / 0.8897 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.4638, allocations: 16 kB / 0.8897 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4638, allocations: 3.938 kB / 0.8897 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001792/0.4656, allocations: 1.777 MB / 0.8915 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.4679, allocations: 2.217 MB / 0.8936 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4679, allocations: 0 / 0.8936 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.4685, allocations: 259.6 kB / 0.8939 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002366/0.4688, allocations: 161.8 kB / 0.894 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/0.4688, allocations: 35.98 kB / 0.8941 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.4704, allocations: 2.348 MB / 0.8964 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4704, allocations: 0 / 0.8964 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.4733, allocations: 2.84 MB / 0.8991 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006642/0.474, allocations: 0.5365 MB / 0.8997 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.4742, allocations: 31.94 kB / 0.8997 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007381/0.4749, allocations: 87.84 kB / 0.8998 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.4751, allocations: 97.34 kB / 0.8999 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.284e-05/0.4752, allocations: 67.88 kB / 0.8999 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002199/0.4774, allocations: 2.316 MB / 0.9022 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4774, allocations: 4 kB / 0.9022 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002659/0.48, allocations: 1.75 MB / 0.9039 GB, free: 1.152 MB / 0.7292 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.00461/0.4846, allocations: 4.217 MB / 0.908 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003173/0.4878, allocations: 2.831 MB / 0.9108 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4878, allocations: 0.5 kB / 0.9108 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009012/0.4887, allocations: 0.881 MB / 0.9116 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/0.4926, allocations: 1.914 MB / 0.9135 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2351/0.7277, allocations: 24.27 MB / 0.9372 GB, free: 239.2 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/0.7293, allocations: 1.87 MB / 0.939 GB, free: 239 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002953/0.7323, allocations: 1.052 MB / 0.9401 GB, free: 238.9 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/0.7336, allocations: 1.536 MB / 0.9416 GB, free: 238.9 MB / 0.7605 GB Notification: Performance of SimCode: time 1.122e-06/0.7336, allocations: 0 / 0.9416 GB, free: 238.9 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1563/0.8899, allocations: 101.7 MB / 1.041 GB, free: 176.9 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.88, allocations: 0 / 1.041 GB, free: 176.9 MB / 0.7605 GB " [Timeout remaining time 648] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage_fmu --startTime=0 --stopTime=20000 --stepSize=8 --mode=me --timeout=240 --tolerance=1e-06 ../BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage.fmu) > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1) [Timeout 252.0] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_OMSimulator-cs-cvode.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_OMSimulator-cs-cvode.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=20000 --stepSize=8 --mode=cs --timeout=240 --tolerance=1e-06 ../BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage_OMSimulator-cs-cvode.fmu) > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_OMSimulator-cs-euler.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_OMSimulator-cs-euler.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=20000 --stepSize=8 --mode=cs --timeout=240 --tolerance=1e-06 ../BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage_OMSimulator-cs-euler.fmu) > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-euler timed out simulating the FMU (rm -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_fmpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_fmpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_fmpy_res.csv --start-time 0 --stop-time 20000 --timeout 240 --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_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 15.77096539363265]