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.001195/0.001195, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001285/0.001285, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.427/1.427, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.00239/0.00239, allocations: 277 kB / 309.8 MB, free: 3.5 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.039/1.039, allocations: 180.6 MB / 0.5337 GB, free: 12.35 MB / 398.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.002902/0.002902, allocations: 97.89 kB / 0.7346 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4859, allocations: 95.34 MB / 0.8277 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1227/0.6087, allocations: 116.4 MB / 0.9414 GB, free: 5.453 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04486/0.6535, allocations: 29.56 MB / 0.9703 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006665/0.6602, allocations: 214.2 kB / 0.9705 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0075/0.6677, allocations: 2.526 MB / 0.9729 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01175/0.6794, allocations: 4.311 MB / 0.9771 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008755/0.6882, allocations: 3.345 MB / 0.9804 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01783/0.706, allocations: 12.92 MB / 0.993 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004859/0.7109, allocations: 3.089 MB / 0.996 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007914/0.7188, allocations: 3.74 MB / 0.9997 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00497/0.7238, allocations: 3.046 MB / 1.003 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007454/0.7245, allocations: 404 kB / 1.003 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006132/0.7306, allocations: 2.601 MB / 1.006 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.732, allocations: 1.249 MB / 1.007 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003259/0.7353, allocations: 2.329 MB / 1.009 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.7453, allocations: 7.233 MB / 1.016 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7453, allocations: 0 / 1.016 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7454, allocations: 0 / 1.016 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.086e-05/0.7454, allocations: 0 / 1.016 GB, free: 8.688 MB / 0.7481 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.008997/0.7544, allocations: 4.933 MB / 1.021 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7545, allocations: 8.031 kB / 1.021 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.104e-05/0.7546, allocations: 60.75 kB / 1.021 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004664/0.755, allocations: 349.4 kB / 1.021 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.758, allocations: 0.6492 MB / 1.022 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009193/0.7672, allocations: 4.486 MB / 1.026 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.7674, allocations: 184.8 kB / 1.027 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004412/0.7678, allocations: 251.9 kB / 1.027 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005816/0.7736, allocations: 3.049 MB / 1.03 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.331e-05/0.7737, allocations: 7.953 kB / 1.03 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.774, allocations: 104 kB / 1.03 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.456e-05/0.774, allocations: 92.47 kB / 1.03 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00455/0.7786, allocations: 2.395 MB / 1.032 GB, free: 7.797 MB / 0.7637 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.01805/0.7966, allocations: 12.96 MB / 1.045 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.7996, allocations: 1.621 MB / 1.047 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/0.8014, allocations: 0.9394 MB / 1.047 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007311/0.8087, allocations: 4.264 MB / 1.052 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.8088, allocations: 59.48 kB / 1.052 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007336/0.8095, allocations: 154.8 kB / 1.052 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=125): time 2.805e-06/0.8095, allocations: 0 / 1.052 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of matching and sorting (n=125): time 0.004924/0.8144, allocations: 2.394 MB / 1.054 GB, free: 436 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.8145, allocations: 90.11 kB / 1.054 GB, free: 328 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004944/0.8194, allocations: 3.494 MB / 1.058 GB, free: 12.84 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.8196, allocations: 53.7 kB / 1.058 GB, free: 12.79 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/0.8212, allocations: 1.725 MB / 1.059 GB, free: 11.05 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000486/0.8217, allocations: 495.9 kB / 1.06 GB, free: 10.56 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006501/0.8224, allocations: 455.8 kB / 1.06 GB, free: 10.11 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8225, allocations: 305.1 kB / 1.061 GB, free: 9.805 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.8239, allocations: 0.8488 MB / 1.061 GB, free: 8.953 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.8259, allocations: 1.452 MB / 1.063 GB, free: 7.238 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01551/0.8414, allocations: 4.562 MB / 1.067 GB, free: 2.438 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/0.8415, allocations: 4 kB / 1.067 GB, free: 2.434 MB / 0.795 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005785/0.8472, allocations: 2.842 MB / 1.07 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.8473, allocations: 12 kB / 1.07 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.8473, allocations: 16.08 kB / 1.07 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/0.8478, allocations: 181.2 kB / 1.07 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.8495, allocations: 475.3 kB / 1.071 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.8523, allocations: 2.517 MB / 1.073 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.8546, allocations: 124.5 kB / 1.073 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.8548, allocations: 91.98 kB / 1.073 GB, free: 12.04 MB / 0.8106 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.003352/0.8582, allocations: 1.922 MB / 1.075 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002019/0.8602, allocations: 1.452 MB / 1.077 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01539/0.8756, allocations: 4.514 MB / 1.081 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.128e-05/0.8756, allocations: 8 kB / 1.081 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.005569/0.8812, allocations: 2.806 MB / 1.084 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.8812, allocations: 13.25 kB / 1.084 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.8812, allocations: 16 kB / 1.084 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.8817, allocations: 185.2 kB / 1.084 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.8833, allocations: 463.3 kB / 1.084 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.8859, allocations: 2.521 MB / 1.087 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.8883, allocations: 128.5 kB / 1.087 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.8884, allocations: 91.98 kB / 1.087 GB, free: 13.27 MB / 0.8262 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.0007561/0.8892, allocations: 0.4926 MB / 1.088 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007643/0.89, allocations: 353.7 kB / 1.088 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/0.894, allocations: 1.988 MB / 1.09 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.894, allocations: 15.98 kB / 1.09 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.894, allocations: 4 kB / 1.09 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002831/0.8968, allocations: 1.757 MB / 1.092 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003966/0.9008, allocations: 2.654 MB / 1.094 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.9008, allocations: 0 / 1.094 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.902, allocations: 259.6 kB / 1.094 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004112/0.9024, allocations: 156.7 kB / 1.095 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.795e-05/0.9025, allocations: 35.97 kB / 1.095 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.9053, allocations: 2.482 MB / 1.097 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.9053, allocations: 0 / 1.097 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004913/0.9102, allocations: 2.817 MB / 1.1 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.9113, allocations: 0.6273 MB / 1.1 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/0.9117, allocations: 28 kB / 1.1 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.9131, allocations: 87.84 kB / 1.101 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.9133, allocations: 89.19 kB / 1.101 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.9135, allocations: 63.94 kB / 1.101 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00357/0.917, allocations: 2.367 MB / 1.103 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.917, allocations: 0 / 1.103 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004496/0.9215, allocations: 1.898 MB / 1.105 GB, free: 10.82 MB / 0.8419 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.007718/0.9293, allocations: 4.337 MB / 1.109 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005792/0.935, allocations: 3.301 MB / 1.112 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9351, allocations: 0.5625 kB / 1.112 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.9366, allocations: 0.8615 MB / 1.113 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007402/0.944, allocations: 1.819 MB / 1.115 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0408/0.9848, allocations: 25.27 MB / 1.14 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002285/0.9871, allocations: 2.408 MB / 1.142 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003407/0.9905, allocations: 1.089 MB / 1.143 GB, free: 3.164 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002145/0.9926, allocations: 1.53 MB / 1.145 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of SimCode: time 1.042e-06/0.9926, allocations: 0 / 1.145 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4735/1.466, allocations: 95.97 MB / 1.238 GB, free: 221.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.85/18.32, allocations: 11.62 kB / 1.238 GB, free: 221.8 MB / 0.8731 GB " [Timeout remaining time 641] (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: 22.33083162701223] Failed to read output from testmodel.py, exit status != 0: 18.572306704998482 18.581976908 17.834292072 Calling exit ...