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.001225/0.001225, allocations: 78.25 kB / 19.76 MB, free: 2.027 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.001337/0.001337, allocations: 159 kB / 23.01 MB, free: 4.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.339/1.339, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 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.002384/0.002384, allocations: 238 kB / 260 MB, free: 448 kB / 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 0.8657/0.8657, allocations: 138.5 MB / 455 MB, free: 15.1 MB / 430.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.002886/0.002886, allocations: 91.86 kB / 0.6473 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3976, allocations: 95.35 MB / 0.7404 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1091/0.5067, allocations: 105.7 MB / 0.8437 GB, free: 8.914 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04301/0.5497, allocations: 27.51 MB / 0.8705 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005105/0.5548, allocations: 214.3 kB / 0.8707 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.007077/0.5619, allocations: 2.477 MB / 0.8731 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01146/0.5733, allocations: 4.398 MB / 0.8774 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008264/0.5816, allocations: 3.389 MB / 0.8807 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01984/0.6014, allocations: 14.07 MB / 0.8945 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004544/0.606, allocations: 2.769 MB / 0.8972 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00773/0.6137, allocations: 3.8 MB / 0.9009 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006005/0.6197, allocations: 2.996 MB / 0.9038 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008972/0.6206, allocations: 391.9 kB / 0.9042 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004642/0.6252, allocations: 1.829 MB / 0.906 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.6267, allocations: 1.234 MB / 0.9072 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003027/0.6298, allocations: 1.832 MB / 0.909 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.6401, allocations: 6.906 MB / 0.9157 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6401, allocations: 3.938 kB / 0.9157 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6401, allocations: 0 / 0.9157 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001217/0.6402, allocations: 0 / 0.9157 GB, free: 14.91 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.008914/0.6491, allocations: 4.803 MB / 0.9204 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.6491, allocations: 16.03 kB / 0.9204 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/0.6519, allocations: 0.6492 MB / 0.9211 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008811/0.6607, allocations: 4.577 MB / 0.9255 GB, free: 4.699 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.6609, allocations: 188.7 kB / 0.9257 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004897/0.6614, allocations: 244 kB / 0.9259 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005842/0.6672, allocations: 3.58 MB / 0.9294 GB, free: 424 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.757e-05/0.6673, allocations: 3.938 kB / 0.9294 GB, free: 420 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.6675, allocations: 108 kB / 0.9295 GB, free: 312 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-05/0.6676, allocations: 88.53 kB / 0.9296 GB, free: 220 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004532/0.6721, allocations: 2.391 MB / 0.932 GB, free: 13.8 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.01585/0.688, allocations: 9.679 MB / 0.9414 GB, free: 3.93 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/0.6908, allocations: 1.46 MB / 0.9428 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.6926, allocations: 0.9434 MB / 0.9438 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006657/0.6992, allocations: 2.939 MB / 0.9466 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.6993, allocations: 51.56 kB / 0.9467 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007768/0.7, allocations: 115.2 kB / 0.9468 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=125): time 3.085e-06/0.7, allocations: 0 / 0.9468 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=125): time 0.004874/0.7049, allocations: 2.311 MB / 0.9491 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.705, allocations: 90.11 kB / 0.9491 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004512/0.7095, allocations: 3.118 MB / 0.9522 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.7097, allocations: 53.7 kB / 0.9522 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001743/0.7114, allocations: 1.791 MB / 0.954 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005005/0.7119, allocations: 476 kB / 0.9544 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000505/0.7124, allocations: 347.4 kB / 0.9548 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7126, allocations: 301.1 kB / 0.9551 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.7138, allocations: 0.6489 MB / 0.9557 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.7156, allocations: 1.367 MB / 0.957 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01528/0.7308, allocations: 4.225 MB / 0.9612 GB, free: 15.1 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.7309, allocations: 4 kB / 0.9612 GB, free: 15.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004845/0.7357, allocations: 2.351 MB / 0.9635 GB, free: 12.73 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.7357, allocations: 14.81 kB / 0.9635 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.7358, allocations: 19.94 kB / 0.9635 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004734/0.7362, allocations: 176.7 kB / 0.9637 GB, free: 12.53 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.7378, allocations: 427.3 kB / 0.9641 GB, free: 12.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.7405, allocations: 2.356 MB / 0.9664 GB, free: 9.652 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.7426, allocations: 108.4 kB / 0.9665 GB, free: 9.547 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.7427, allocations: 88.05 kB / 0.9665 GB, free: 9.461 MB / 0.795 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.003029/0.7458, allocations: 1.723 MB / 0.9682 GB, free: 7.75 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001771/0.7475, allocations: 1.363 MB / 0.9696 GB, free: 6.098 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01468/0.7622, allocations: 4.158 MB / 0.9736 GB, free: 1.699 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.361e-05/0.7622, allocations: 4 kB / 0.9736 GB, free: 1.695 MB / 0.795 GB Notification: Performance of matching and sorting (n=222) (initialization_lambda0): time 0.004584/0.7668, allocations: 2.323 MB / 0.9759 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.7668, allocations: 12 kB / 0.9759 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.7669, allocations: 19.98 kB / 0.9759 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004332/0.7673, allocations: 177.4 kB / 0.9761 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.7688, allocations: 419.4 kB / 0.9765 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.7714, allocations: 2.352 MB / 0.9788 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/0.7734, allocations: 128.4 kB / 0.9789 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.7736, allocations: 79.98 kB / 0.979 GB, free: 12.09 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: 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.0007109/0.7743, allocations: 497 kB / 0.9795 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006602/0.7749, allocations: 337.8 kB / 0.9798 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003941/0.7789, allocations: 1.997 MB / 0.9817 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.7789, allocations: 15.98 kB / 0.9818 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.7789, allocations: 4 kB / 0.9818 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002832/0.7817, allocations: 1.769 MB / 0.9835 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.7853, allocations: 1.965 MB / 0.9854 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.7853, allocations: 0 / 0.9854 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.7865, allocations: 263.6 kB / 0.9857 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004012/0.7869, allocations: 152.7 kB / 0.9858 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.787, allocations: 35.97 kB / 0.9858 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/0.7896, allocations: 2.325 MB / 0.9881 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7896, allocations: 0 / 0.9881 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.315/1.105, allocations: 2.821 MB / 0.9909 GB, free: 221.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/1.106, allocations: 0.5096 MB / 0.9914 GB, free: 221.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/1.107, allocations: 31.2 kB / 0.9914 GB, free: 221.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.108, allocations: 80.59 kB / 0.9915 GB, free: 221.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/1.108, allocations: 93.83 kB / 0.9916 GB, free: 221.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/1.108, allocations: 59.27 kB / 0.9916 GB, free: 221.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003357/1.112, allocations: 2.123 MB / 0.9937 GB, free: 221.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/1.112, allocations: 0 / 0.9937 GB, free: 221.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004411/1.116, allocations: 1.799 MB / 0.9954 GB, free: 221.3 MB / 0.8106 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.002336/1.118, allocations: 0.8825 MB / 0.9963 GB, free: 221.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005032/1.123, allocations: 2.841 MB / 0.9991 GB, free: 220.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.124, allocations: 1.812 kB / 0.9991 GB, free: 220.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.125, allocations: 0.8705 MB / 0.9999 GB, free: 219.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006299/1.131, allocations: 1.694 MB / 1.002 GB, free: 219.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009326/1.14, allocations: 6.787 MB / 1.008 GB, free: 216.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/1.143, allocations: 1.871 MB / 1.01 GB, free: 215.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003465/1.146, allocations: 1.002 MB / 1.011 GB, free: 215.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006561/1.147, allocations: 280.5 kB / 1.011 GB, free: 215.5 MB / 0.8106 GB Notification: Performance of SimCode: time 8.91e-07/1.147, allocations: 0 / 1.011 GB, free: 215.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.08433/1.231, allocations: 63.36 MB / 1.073 GB, free: 170.1 MB / 0.8106 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.142491369042546] Failed to read output from testmodel.py, exit status != 0: 1.2396158400224522 1.248909894 0.6061023170000001 Calling exit ...