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.001034/0.001034, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001139/0.001139, allocations: 225.8 kB / 22.25 MB, free: 3.566 MB / 13.93 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: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.001695/0.001695, allocations: 278.2 kB / 312.7 MB, free: 1.637 MB / 234.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.6926/0.6926, allocations: 180.6 MB / 0.5369 GB, free: 1.598 MB / 394.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: 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.002635/0.002635, allocations: 107.8 kB / 0.7402 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3706, allocations: 95.37 MB / 0.8334 GB, free: 17.36 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.06376/0.4344, allocations: 105.7 MB / 0.9366 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02799/0.4624, allocations: 27.49 MB / 0.9634 GB, free: 11.76 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003915/0.4663, allocations: 214.3 kB / 0.9637 GB, free: 11.55 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004183/0.4705, allocations: 2.499 MB / 0.9661 GB, free: 9.039 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006071/0.4765, allocations: 4.397 MB / 0.9704 GB, free: 4.625 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004441/0.481, allocations: 3.38 MB / 0.9737 GB, free: 1.262 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01003/0.491, allocations: 13.21 MB / 0.9866 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002687/0.4937, allocations: 2.761 MB / 0.9893 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004424/0.4981, allocations: 3.805 MB / 0.993 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002823/0.5009, allocations: 3 MB / 0.9959 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003829/0.5013, allocations: 395.9 kB / 0.9963 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.5049, allocations: 2.145 MB / 0.9984 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000681/0.5056, allocations: 1.234 MB / 0.9996 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.5068, allocations: 1.843 MB / 1.001 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005633/0.5125, allocations: 7.108 MB / 1.008 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5125, allocations: 0 / 1.008 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5125, allocations: 3.938 kB / 1.008 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.828e-05/0.5125, allocations: 0 / 1.008 GB, free: 13.64 MB / 0.7448 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.004917/0.5174, allocations: 4.827 MB / 1.013 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5175, allocations: 11.98 kB / 1.013 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002929/0.5178, allocations: 341.4 kB / 1.013 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.5191, allocations: 0.6531 MB / 1.014 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004327/0.5234, allocations: 4.322 MB / 1.018 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.875e-05/0.5235, allocations: 184.7 kB / 1.018 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.5237, allocations: 255.9 kB / 1.019 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/0.5271, allocations: 3.58 MB / 1.022 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/0.5272, allocations: 4 kB / 1.022 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.5273, allocations: 100 kB / 1.022 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.017e-05/0.5274, allocations: 100.5 kB / 1.022 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/0.5301, allocations: 2.387 MB / 1.025 GB, free: 12.43 MB / 0.7605 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.009081/0.5391, allocations: 10.11 MB / 1.035 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.5409, allocations: 1.451 MB / 1.036 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.542, allocations: 0.9472 MB / 1.037 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00378/0.5457, allocations: 3.003 MB / 1.04 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.5458, allocations: 47.56 kB / 1.04 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004523/0.5462, allocations: 154.8 kB / 1.04 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=125): time 3.096e-06/0.5462, allocations: 0 / 1.04 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=125): time 0.00288/0.5491, allocations: 2.33 MB / 1.042 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.5491, allocations: 90.11 kB / 1.042 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/0.552, allocations: 3.509 MB / 1.046 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.796e-05/0.5521, allocations: 61.7 kB / 1.046 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.5531, allocations: 1.729 MB / 1.048 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.5534, allocations: 484 kB / 1.048 GB, free: 4.258 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003944/0.5538, allocations: 447.9 kB / 1.048 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.5539, allocations: 305.1 kB / 1.049 GB, free: 3.512 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000877/0.5547, allocations: 0.8488 MB / 1.05 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.5559, allocations: 1.59 MB / 1.051 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007505/0.5634, allocations: 4.579 MB / 1.056 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.5634, allocations: 7.938 kB / 1.056 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.002869/0.5663, allocations: 2.839 MB / 1.058 GB, free: 9.098 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.5663, allocations: 15.94 kB / 1.058 GB, free: 9.082 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.5663, allocations: 16 kB / 1.058 GB, free: 9.066 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.5666, allocations: 181.5 kB / 1.059 GB, free: 8.887 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008972/0.5675, allocations: 483.2 kB / 1.059 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.5693, allocations: 2.379 MB / 1.061 GB, free: 5.922 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.5703, allocations: 115.9 kB / 1.061 GB, free: 5.809 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.5704, allocations: 99.97 kB / 1.062 GB, free: 5.711 MB / 0.7917 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.002068/0.5725, allocations: 1.921 MB / 1.063 GB, free: 3.789 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001157/0.5736, allocations: 1.586 MB / 1.065 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00719/0.5808, allocations: 4.508 MB / 1.069 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.528e-06/0.5808, allocations: 8 kB / 1.069 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.002873/0.5837, allocations: 2.811 MB / 1.072 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5837, allocations: 12 kB / 1.072 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.5837, allocations: 20 kB / 1.072 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002324/0.584, allocations: 173.2 kB / 1.072 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008713/0.5848, allocations: 471.3 kB / 1.073 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.5865, allocations: 2.375 MB / 1.075 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.5875, allocations: 131.9 kB / 1.075 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.5876, allocations: 95.92 kB / 1.075 GB, free: 6.949 MB / 0.8073 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.0004749/0.5881, allocations: 0.4917 MB / 1.076 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/0.5884, allocations: 349.7 kB / 1.076 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.5908, allocations: 2.009 MB / 1.078 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.5908, allocations: 15.98 kB / 1.078 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5908, allocations: 0 / 1.078 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001646/0.5924, allocations: 1.761 MB / 1.08 GB, free: 2.234 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2707/0.8631, allocations: 2.255 MB / 1.082 GB, free: 221 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.8631, allocations: 4.062 kB / 1.082 GB, free: 221 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009282/0.864, allocations: 258.9 kB / 1.082 GB, free: 221 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003124/0.8644, allocations: 151.5 kB / 1.082 GB, free: 221 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.541e-05/0.8644, allocations: 40.77 kB / 1.082 GB, free: 221 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.8659, allocations: 2.34 MB / 1.085 GB, free: 219.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8659, allocations: 4.812 kB / 1.085 GB, free: 219.6 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003598/0.8695, allocations: 2.843 MB / 1.088 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008688/0.8704, allocations: 0.5434 MB / 1.088 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.8706, allocations: 32.98 kB / 1.088 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007765/0.8714, allocations: 79.25 kB / 1.088 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.8716, allocations: 95.8 kB / 1.088 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.682e-05/0.8717, allocations: 67.03 kB / 1.088 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002693/0.8744, allocations: 2.365 MB / 1.091 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.8744, allocations: 0 / 1.091 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00323/0.8776, allocations: 1.886 MB / 1.093 GB, free: 217.5 MB / 0.8073 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.004608/0.8822, allocations: 4.372 MB / 1.097 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003643/0.8858, allocations: 3.293 MB / 1.1 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.8858, allocations: 2.625 kB / 1.1 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008879/0.8867, allocations: 0.8671 MB / 1.101 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/0.8903, allocations: 1.812 MB / 1.103 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/0.9128, allocations: 25.26 MB / 1.127 GB, free: 201.4 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.9139, allocations: 1.871 MB / 1.129 GB, free: 200.4 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002232/0.9161, allocations: 1.08 MB / 1.13 GB, free: 199.9 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.9172, allocations: 1.528 MB / 1.132 GB, free: 198.6 MB / 0.8073 GB Notification: Performance of SimCode: time 9.52e-07/0.9172, allocations: 0 / 1.132 GB, free: 198.6 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1478/1.065, allocations: 101.8 MB / 1.231 GB, free: 98.91 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.553/10.62, allocations: 7.922 kB / 1.231 GB, free: 98.91 MB / 0.8073 GB " [Timeout remaining time 649] (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] OMSimulator-cs-cvode timed out simulating the FMU (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: 14.592679211869836]