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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002447/0.002447, allocations: 283.6 kB / 306.5 MB, free: 8.332 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.207/1.207, allocations: 180.8 MB / 0.53 GB, free: 14.47 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 102 kB / 0.7308 GB, free: 38.96 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1443, allocations: 94.2 MB / 0.8228 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1283/0.2726, allocations: 117 MB / 0.9371 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04625/0.3189, allocations: 29.57 MB / 0.966 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00517/0.324, allocations: 214.3 kB / 0.9662 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007582/0.3316, allocations: 2.588 MB / 0.9687 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.3433, allocations: 4.355 MB / 0.9729 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009017/0.3523, allocations: 3.446 MB / 0.9763 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01904/0.3714, allocations: 13.22 MB / 0.9892 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004613/0.376, allocations: 2.792 MB / 0.9919 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007818/0.3838, allocations: 3.742 MB / 0.9956 GB, free: 352 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005225/0.389, allocations: 3.041 MB / 0.9986 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007331/0.3898, allocations: 399.9 kB / 0.9989 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00565/0.3954, allocations: 2.586 MB / 1.001 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001351/0.3968, allocations: 1.25 MB / 1.003 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003062/0.3998, allocations: 2.325 MB / 1.005 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.4293/0.8291, allocations: 7.097 MB / 1.012 GB, free: 39.51 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.8291, allocations: 0 / 1.012 GB, free: 39.51 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8291, allocations: 2.031 kB / 1.012 GB, free: 39.51 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002543/0.8294, allocations: 0 / 1.012 GB, free: 39.51 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.008897/0.8383, allocations: 4.849 MB / 1.017 GB, free: 37.37 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.8383, allocations: 9.844 kB / 1.017 GB, free: 37.37 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/0.8408, allocations: 0.6511 MB / 1.017 GB, free: 37.12 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007579/0.8484, allocations: 4.383 MB / 1.022 GB, free: 36.39 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.8486, allocations: 186.9 kB / 1.022 GB, free: 36.38 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004193/0.849, allocations: 247 kB / 1.022 GB, free: 36.38 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005188/0.8542, allocations: 3.053 MB / 1.025 GB, free: 35.99 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.668e-05/0.8542, allocations: 11.47 kB / 1.025 GB, free: 35.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.8544, allocations: 99.84 kB / 1.025 GB, free: 35.98 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.8546, allocations: 93.17 kB / 1.025 GB, free: 35.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005997/0.8606, allocations: 2.389 MB / 1.027 GB, free: 35.95 MB / 0.7481 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.01544/0.876, allocations: 12.85 MB / 1.04 GB, free: 30.31 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.8783, allocations: 1.469 MB / 1.041 GB, free: 30.26 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.8797, allocations: 0.932 MB / 1.042 GB, free: 30.24 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005986/0.8857, allocations: 3.442 MB / 1.046 GB, free: 29.87 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.8857, allocations: 52.5 kB / 1.046 GB, free: 29.83 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006722/0.8864, allocations: 151.8 kB / 1.046 GB, free: 29.74 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=125): time 2.755e-06/0.8864, allocations: 3.062 kB / 1.046 GB, free: 29.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=125): time 0.004023/0.8904, allocations: 2.334 MB / 1.048 GB, free: 29.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.8904, allocations: 91.83 kB / 1.048 GB, free: 29.38 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/0.8942, allocations: 3.474 MB / 1.052 GB, free: 29.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.8943, allocations: 55.75 kB / 1.052 GB, free: 29.06 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.8954, allocations: 1.723 MB / 1.053 GB, free: 28.51 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.8957, allocations: 478.4 kB / 1.054 GB, free: 28.21 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004986/0.8962, allocations: 459.2 kB / 1.054 GB, free: 28.18 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.8963, allocations: 307 kB / 1.055 GB, free: 27.88 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.8975, allocations: 0.8422 MB / 1.055 GB, free: 27.86 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.8989, allocations: 1.46 MB / 1.057 GB, free: 27.15 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01363/0.9125, allocations: 4.575 MB / 1.061 GB, free: 26.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-05/0.9125, allocations: 5.594 kB / 1.061 GB, free: 26.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004739/0.9173, allocations: 2.847 MB / 1.064 GB, free: 26.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.9173, allocations: 16.75 kB / 1.064 GB, free: 26.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.9173, allocations: 16.47 kB / 1.064 GB, free: 26.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004159/0.9177, allocations: 183.5 kB / 1.064 GB, free: 26.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.9192, allocations: 478.7 kB / 1.065 GB, free: 26.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.9211, allocations: 2.403 MB / 1.067 GB, free: 24.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.9233, allocations: 121.7 kB / 1.067 GB, free: 24.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.9235, allocations: 93.36 kB / 1.067 GB, free: 24.71 MB / 0.7481 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true final = true ) \"Internal energy of fluid\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002587/0.9261, allocations: 1.924 MB / 1.069 GB, free: 24.58 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001316/0.9274, allocations: 1.451 MB / 1.071 GB, free: 23.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01257/0.9399, allocations: 4.514 MB / 1.075 GB, free: 23.13 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.218e-05/0.94, allocations: 11.44 kB / 1.075 GB, free: 23.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.004085/0.944, allocations: 2.822 MB / 1.078 GB, free: 22.85 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.9441, allocations: 17.84 kB / 1.078 GB, free: 22.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.9441, allocations: 15.08 kB / 1.078 GB, free: 22.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003574/0.9444, allocations: 176.5 kB / 1.078 GB, free: 22.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.9458, allocations: 477.5 kB / 1.078 GB, free: 22.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.9475, allocations: 2.407 MB / 1.081 GB, free: 21.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.9497, allocations: 125.5 kB / 1.081 GB, free: 21.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.9498, allocations: 90.03 kB / 1.081 GB, free: 21.43 MB / 0.7481 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true final = true ) \"Internal energy of fluid\" type: Real Notification: 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.0006453/0.9504, allocations: 0.4979 MB / 1.081 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/0.951, allocations: 349.2 kB / 1.082 GB, free: 20.99 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003348/0.9543, allocations: 2.008 MB / 1.084 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.9543, allocations: 16.81 kB / 1.084 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.9543, allocations: 3.281 kB / 1.084 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002226/0.9566, allocations: 1.768 MB / 1.086 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/0.9602, allocations: 2.609 MB / 1.088 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.9602, allocations: 4 kB / 1.088 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.9612, allocations: 260.1 kB / 1.088 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000314/0.9615, allocations: 158.4 kB / 1.088 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.647e-05/0.9616, allocations: 38.72 kB / 1.089 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.9633, allocations: 2.373 MB / 1.091 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9633, allocations: 3.938 kB / 1.091 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/0.967, allocations: 2.825 MB / 1.094 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.9682, allocations: 0.543 MB / 1.094 GB, free: 16.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004915/0.9687, allocations: 35.55 kB / 1.094 GB, free: 16.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.9702, allocations: 92.73 kB / 1.094 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.9704, allocations: 96.06 kB / 1.094 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.9705, allocations: 63.61 kB / 1.094 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002843/0.9733, allocations: 2.362 MB / 1.097 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9733, allocations: 0 / 1.097 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004134/0.9775, allocations: 1.887 MB / 1.099 GB, free: 12.56 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.002363/0.9798, allocations: 1.068 MB / 1.1 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004418/0.9842, allocations: 3.3 MB / 1.103 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.9843, allocations: 0.5 kB / 1.103 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.9853, allocations: 0.8871 MB / 1.104 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0057/0.991, allocations: 1.804 MB / 1.105 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008622/0.9997, allocations: 6.847 MB / 1.112 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/1.002, allocations: 2.404 MB / 1.114 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003314/1.005, allocations: 1.091 MB / 1.116 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006573/1.006, allocations: 279.3 kB / 1.116 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of SimCode: time 5.01e-07/1.006, allocations: 0 / 1.116 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of Templates: time 0.1156/1.121, allocations: 68.82 MB / 1.183 GB, free: 7.855 MB / 0.8262 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.68132930342108] Failed to read output from testmodel.py, exit status != 0: 1.129636524245143 1.143707766 0.311486572 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0219c957b0>