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.0007448/0.0007448, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.000847/0.000847, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8339/0.8339, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001437/0.001437, allocations: 237.9 kB / 260.2 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6665/0.6665, allocations: 138.4 MB / 455.1 MB, free: 30.03 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: 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 1.553e-06/1.553e-06, allocations: 0 / 0.6475 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.625e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.2925/0.2926, allocations: 104.8 MB / 0.7498 GB, free: 1.578 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02988/0.3224, allocations: 27.51 MB / 0.7767 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004822/0.3273, allocations: 218.2 kB / 0.7769 GB, free: 6.395 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.005614/0.3329, allocations: 2.5 MB / 0.7794 GB, free: 3.879 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009045/0.3419, allocations: 4.507 MB / 0.7838 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005969/0.3479, allocations: 3.473 MB / 0.7871 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0145/0.3624, allocations: 14.26 MB / 0.8011 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004005/0.3664, allocations: 2.78 MB / 0.8038 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009131/0.3755, allocations: 5.063 MB / 0.8087 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0041/0.3796, allocations: 2.705 MB / 0.8114 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008626/0.3805, allocations: 384 kB / 0.8117 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003908/0.3844, allocations: 1.851 MB / 0.8135 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.3856, allocations: 1.285 MB / 0.8148 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003317/0.3889, allocations: 1.535 MB / 0.8163 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.3993, allocations: 6.926 MB / 0.8231 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.3993, allocations: 0 / 0.8231 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3993, allocations: 0 / 0.8231 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003277/0.3996, allocations: 4 kB / 0.8231 GB, free: 7.02 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 607 * Number of variables: 607 Notification: Performance of Generate backend data structure: time 0.01054/0.4101, allocations: 4.749 MB / 0.8277 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/0.4102, allocations: 15.97 kB / 0.8277 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/0.4123, allocations: 0.657 MB / 0.8284 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006938/0.4192, allocations: 4.57 MB / 0.8328 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/0.4195, allocations: 188.7 kB / 0.833 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/0.4198, allocations: 243.9 kB / 0.8332 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003855/0.4237, allocations: 3.587 MB / 0.8367 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.018e-05/0.4237, allocations: 11.92 kB / 0.8368 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.4239, allocations: 100 kB / 0.8368 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-05/0.4239, allocations: 96.52 kB / 0.8369 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002928/0.4269, allocations: 2.379 MB / 0.8393 GB, free: 5.977 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.4377, allocations: 9.673 MB / 0.8487 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.4395, allocations: 1.463 MB / 0.8501 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.4406, allocations: 0.9395 MB / 0.8511 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004443/0.445, allocations: 2.937 MB / 0.8539 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.445, allocations: 51.56 kB / 0.854 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006376/0.4457, allocations: 115.2 kB / 0.8541 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=125): time 5.4e-06/0.4457, allocations: 0 / 0.8541 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125): time 0.003151/0.4488, allocations: 2.311 MB / 0.8563 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.4489, allocations: 94.05 kB / 0.8564 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/0.4519, allocations: 3.121 MB / 0.8595 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.4521, allocations: 53.7 kB / 0.8595 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.4533, allocations: 1.779 MB / 0.8613 GB, free: 15.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003695/0.4537, allocations: 472 kB / 0.8617 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.454, allocations: 343.4 kB / 0.862 GB, free: 14.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.4541, allocations: 305.1 kB / 0.8623 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007862/0.4549, allocations: 0.645 MB / 0.863 GB, free: 13.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.4559, allocations: 1.371 MB / 0.8643 GB, free: 11.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00769/0.4636, allocations: 4.231 MB / 0.8684 GB, free: 7.281 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.4636, allocations: 4 kB / 0.8684 GB, free: 7.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003223/0.4668, allocations: 2.351 MB / 0.8707 GB, free: 4.914 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.4669, allocations: 12 kB / 0.8707 GB, free: 4.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.4669, allocations: 16 kB / 0.8708 GB, free: 4.887 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003216/0.4672, allocations: 181 kB / 0.8709 GB, free: 4.707 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/0.468, allocations: 423.3 kB / 0.8713 GB, free: 4.293 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.4697, allocations: 2.351 MB / 0.8736 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.4712, allocations: 112.5 kB / 0.8737 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.4713, allocations: 83.98 kB / 0.8738 GB, free: 1.652 MB / 0.698 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true final = true ) \"Internal energy of fluid\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002363/0.4737, allocations: 1.723 MB / 0.8755 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001027/0.4747, allocations: 1.355 MB / 0.8768 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007354/0.4821, allocations: 4.167 MB / 0.8809 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.449e-05/0.4821, allocations: 4 kB / 0.8809 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=222) (initialization_lambda0): time 0.003698/0.4858, allocations: 2.327 MB / 0.8832 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.4858, allocations: 12 kB / 0.8832 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.4858, allocations: 16 kB / 0.8832 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003284/0.4861, allocations: 181.4 kB / 0.8834 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008578/0.487, allocations: 419.4 kB / 0.8838 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.4889, allocations: 2.352 MB / 0.8861 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.4905, allocations: 120.5 kB / 0.8862 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.4906, allocations: 83.98 kB / 0.8863 GB, free: 4.27 MB / 0.7136 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true final = true ) \"Internal energy of fluid\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.control.y,control.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 209 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000581/0.4911, allocations: 484.4 kB / 0.8867 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/0.4916, allocations: 337.8 kB / 0.887 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/0.4945, allocations: 2.005 MB / 0.889 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.4945, allocations: 19.98 kB / 0.889 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4946, allocations: 4 kB / 0.889 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001709/0.4963, allocations: 1.769 MB / 0.8908 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.4994, allocations: 1.957 MB / 0.8927 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.4994, allocations: 4 kB / 0.8927 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/0.5001, allocations: 259.6 kB / 0.8929 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000272/0.5004, allocations: 162.3 kB / 0.8931 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.613e-05/0.5004, allocations: 35.98 kB / 0.8931 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.5023, allocations: 2.313 MB / 0.8954 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5023, allocations: 4 kB / 0.8954 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/0.5058, allocations: 2.82 MB / 0.8981 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.507, allocations: 0.5054 MB / 0.8986 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/0.5073, allocations: 31.94 kB / 0.8986 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007902/0.5081, allocations: 87.89 kB / 0.8987 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.5082, allocations: 101.1 kB / 0.8988 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.427e-05/0.5083, allocations: 55.95 kB / 0.8989 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002436/0.5108, allocations: 2.122 MB / 0.901 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5108, allocations: 0 / 0.901 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003787/0.5146, allocations: 1.796 MB / 0.9027 GB, free: 3.184 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (senTemIn.T,senTemOut.T,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2],exp.m,exp.H,CHP.vol.dynBal.U) * Number of discrete variables: 1 (control.y) * Number of discrete states: 1 (control.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001599/0.5162, allocations: 0.9186 MB / 0.9036 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003759/0.5199, allocations: 2.842 MB / 0.9064 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.5199, allocations: 0.5 kB / 0.9064 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009989/0.5209, allocations: 0.8728 MB / 0.9072 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00459/0.5255, allocations: 1.683 MB / 0.9089 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008627/0.5341, allocations: 6.595 MB / 0.9153 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/0.5357, allocations: 1.825 MB / 0.9171 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008842/0.5366, allocations: 288.4 kB / 0.9174 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of SimCode: time 1.953e-06/0.5366, allocations: 0 / 0.9174 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of Templates: time 0.3202/0.8568, allocations: 79.59 MB / 0.9951 GB, free: 219.7 MB / 0.7605 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 sys.exit(0), Time elapsed: 14.598542909137905] Failed to read output from testmodel.py, exit status != 0: 0.8634410575032234 0.869677319 0.46892941400000004 Calling exit ...