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.001392/0.001392, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001528/0.001528, allocations: 210 kB / 22.25 MB, free: 4.855 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.789 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.00263/0.00263, allocations: 293 kB / 312.7 MB, free: 2.691 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.271/1.271, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") [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.002954/0.002954, allocations: 101.7 kB / 0.74 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1753, allocations: 95.38 MB / 0.8331 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1233/0.2986, allocations: 105.7 MB / 0.9363 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0442/0.3428, allocations: 27.49 MB / 0.9632 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005282/0.3481, allocations: 210.3 kB / 0.9634 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006906/0.355, allocations: 2.477 MB / 0.9658 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/0.3668, allocations: 4.393 MB / 0.9701 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00916/0.3759, allocations: 3.393 MB / 0.9734 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4337/0.8096, allocations: 13.19 MB / 0.9863 GB, free: 17.53 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/0.8139, allocations: 2.777 MB / 0.989 GB, free: 17.36 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007987/0.8219, allocations: 3.798 MB / 0.9927 GB, free: 17.36 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006594/0.8285, allocations: 3.002 MB / 0.9956 GB, free: 16.97 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001285/0.8298, allocations: 387.7 kB / 0.996 GB, free: 16.97 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005889/0.8357, allocations: 2.148 MB / 0.9981 GB, free: 16.97 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.837, allocations: 1.23 MB / 0.9993 GB, free: 16.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003198/0.8402, allocations: 1.841 MB / 1.001 GB, free: 16.3 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.8507, allocations: 7.11 MB / 1.008 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8507, allocations: 0 / 1.008 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8507, allocations: 1.438 kB / 1.008 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002065/0.8509, allocations: 0 / 1.008 GB, free: 15.36 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 607 * Number of variables: 607 Notification: Performance of Generate backend data structure: time 0.009455/0.8603, allocations: 4.833 MB / 1.013 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.8604, allocations: 12.12 kB / 1.013 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/0.863, allocations: 0.6487 MB / 1.013 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007613/0.8706, allocations: 4.33 MB / 1.018 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.8707, allocations: 190.2 kB / 1.018 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000435/0.8712, allocations: 251.1 kB / 1.018 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005027/0.8762, allocations: 3.579 MB / 1.022 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.29e-05/0.8763, allocations: 10.45 kB / 1.022 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/0.8765, allocations: 102.8 kB / 1.022 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.34e-05/0.8766, allocations: 94.23 kB / 1.022 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004306/0.8809, allocations: 2.386 MB / 1.024 GB, free: 11.04 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/0.8964, allocations: 9.753 MB / 1.034 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.8989, allocations: 1.46 MB / 1.035 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.9003, allocations: 0.934 MB / 1.036 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00625/0.9066, allocations: 2.987 MB / 1.039 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.9066, allocations: 50.22 kB / 1.039 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008044/0.9074, allocations: 134.2 kB / 1.039 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=125): time 3.597e-06/0.9074, allocations: 3.562 kB / 1.039 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125): time 0.004228/0.9116, allocations: 2.296 MB / 1.041 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.9117, allocations: 94.05 kB / 1.041 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003806/0.9155, allocations: 3.238 MB / 1.045 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.9156, allocations: 58.75 kB / 1.045 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.9168, allocations: 1.732 MB / 1.046 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003586/0.9172, allocations: 481.2 kB / 1.047 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000558/0.9177, allocations: 455.4 kB / 1.047 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.391e-05/0.9178, allocations: 304.7 kB / 1.047 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.919, allocations: 0.8423 MB / 1.048 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.9205, allocations: 1.593 MB / 1.05 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/0.9349, allocations: 4.571 MB / 1.054 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.2e-05/0.935, allocations: 8.438 kB / 1.054 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004992/0.94, allocations: 2.806 MB / 1.057 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.94, allocations: 14.66 kB / 1.057 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.94, allocations: 19.06 kB / 1.057 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004274/0.9404, allocations: 178.3 kB / 1.057 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.942, allocations: 485.5 kB / 1.058 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.944, allocations: 2.357 MB / 1.06 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.9464, allocations: 116.1 kB / 1.06 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.9466, allocations: 92.2 kB / 1.06 GB, free: 15.68 MB / 0.7325 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true final = true ) \"Internal energy of fluid\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003644/0.9502, allocations: 1.914 MB / 1.062 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001988/0.9522, allocations: 1.585 MB / 1.064 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0153/0.9675, allocations: 4.52 MB / 1.068 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.777e-05/0.9675, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.005557/0.9731, allocations: 2.791 MB / 1.071 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.9731, allocations: 15.94 kB / 1.071 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.9731, allocations: 20 kB / 1.071 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004463/0.9736, allocations: 180 kB / 1.071 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.9752, allocations: 473.7 kB / 1.071 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.978, allocations: 2.347 MB / 1.074 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.9802, allocations: 120.5 kB / 1.074 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.9804, allocations: 91.98 kB / 1.074 GB, free: 4.191 MB / 0.7325 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true final = true ) \"Internal energy of fluid\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.control.y,control.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (245): * Single equations (assignments): 242 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008295/0.9812, allocations: 0.4915 MB / 1.074 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005927/0.9818, allocations: 329.8 kB / 1.075 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.9861, allocations: 1.99 MB / 1.077 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.9861, allocations: 12.11 kB / 1.077 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.9861, allocations: 7.938 kB / 1.077 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003062/0.9892, allocations: 1.768 MB / 1.078 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.993, allocations: 1.977 MB / 1.08 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.993, allocations: 0 / 1.08 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.9942, allocations: 256.6 kB / 1.081 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004357/0.9947, allocations: 152.7 kB / 1.081 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.9948, allocations: 42.91 kB / 1.081 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/0.9978, allocations: 2.323 MB / 1.083 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.9978, allocations: 0 / 1.083 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/1.003, allocations: 2.81 MB / 1.086 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/1.005, allocations: 0.5267 MB / 1.086 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/1.005, allocations: 24 kB / 1.086 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/1.007, allocations: 91.84 kB / 1.086 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/1.007, allocations: 96.59 kB / 1.087 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/1.007, allocations: 59.95 kB / 1.087 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003659/1.011, allocations: 2.165 MB / 1.089 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.011, allocations: 0 / 1.089 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005122/1.016, allocations: 1.938 MB / 1.091 GB, free: 3.121 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (senTemIn.T,senTemOut.T,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2],exp.m,exp.H,CHP.vol.dynBal.U) * Number of discrete variables: 1 (control.y) * Number of discrete states: 1 (control.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002991/1.019, allocations: 1.087 MB / 1.092 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006333/1.025, allocations: 3.281 MB / 1.095 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.025, allocations: 0.5 kB / 1.095 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/1.027, allocations: 0.8796 MB / 1.096 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007129/1.034, allocations: 1.584 MB / 1.097 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/1.047, allocations: 6.814 MB / 1.104 GB, free: 5.938 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002331/1.049, allocations: 1.877 MB / 1.106 GB, free: 4.031 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003711/1.053, allocations: 1.022 MB / 1.107 GB, free: 3.035 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007266/1.054, allocations: 267.3 kB / 1.107 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of SimCode: time 1.764e-06/1.054, allocations: 3.188 kB / 1.107 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of Templates: time 0.1186/1.172, allocations: 68.78 MB / 1.174 GB, free: 15.45 MB / 0.8419 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.993977844715118] Failed to read output from testmodel.py, exit status != 0: 1.180446108803153 1.196456665 0.34248090099999995 Calling exit ...