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.001247/0.001247, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001428/0.001428, allocations: 220.4 kB / 23.01 MB, free: 4.609 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.37/1.37, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.002353/0.002353, allocations: 287.1 kB / 313.5 MB, free: 2.82 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.16/1.16, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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.002844/0.002844, allocations: 105.1 kB / 0.7408 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1717, allocations: 95.38 MB / 0.8339 GB, free: 8.199 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1206/0.2923, allocations: 117.5 MB / 0.9487 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04135/0.3336, allocations: 29.66 MB / 0.9776 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004892/0.3385, allocations: 210.3 kB / 0.9778 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00673/0.3453, allocations: 2.604 MB / 0.9804 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.3966/0.7418, allocations: 4.388 MB / 0.9847 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007821/0.7497, allocations: 3.451 MB / 0.988 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01962/0.7693, allocations: 13.23 MB / 1.001 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00499/0.7743, allocations: 2.798 MB / 1.004 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00918/0.7835, allocations: 3.751 MB / 1.007 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005392/0.7889, allocations: 3.056 MB / 1.01 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008681/0.7897, allocations: 398 kB / 1.011 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005979/0.7957, allocations: 2.69 MB / 1.013 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.797, allocations: 1.246 MB / 1.015 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004403/0.8014, allocations: 2.335 MB / 1.017 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.8139, allocations: 7.227 MB / 1.024 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.8139, allocations: 0 / 1.024 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.694e-06/0.8139, allocations: 0 / 1.024 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001893/0.8141, allocations: 0 / 1.024 GB, free: 12.83 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.009216/0.8233, allocations: 4.868 MB / 1.029 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.8234, allocations: 11.91 kB / 1.029 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002536/0.8259, allocations: 0.6547 MB / 1.029 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00706/0.833, allocations: 4.39 MB / 1.034 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.8331, allocations: 191.1 kB / 1.034 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003594/0.8334, allocations: 245.6 kB / 1.034 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004426/0.8379, allocations: 3.047 MB / 1.037 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.88e-05/0.8379, allocations: 15.88 kB / 1.037 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/0.8381, allocations: 104.3 kB / 1.037 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-05/0.8382, allocations: 89.56 kB / 1.037 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/0.8418, allocations: 2.395 MB / 1.04 GB, free: 9.141 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.01416/0.856, allocations: 12.85 MB / 1.052 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.8582, allocations: 1.463 MB / 1.053 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.8596, allocations: 0.9425 MB / 1.054 GB, free: 296 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006766/0.8664, allocations: 3.43 MB / 1.058 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.8664, allocations: 53.06 kB / 1.058 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009688/0.8674, allocations: 155.5 kB / 1.058 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=125): time 2.745e-06/0.8674, allocations: 4 kB / 1.058 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125): time 0.004607/0.872, allocations: 2.338 MB / 1.06 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.8721, allocations: 90.86 kB / 1.06 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004942/0.877, allocations: 3.494 MB / 1.064 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.8772, allocations: 60.59 kB / 1.064 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001774/0.879, allocations: 1.732 MB / 1.065 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00053/0.8795, allocations: 483.6 kB / 1.066 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006539/0.8801, allocations: 459.8 kB / 1.066 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.8803, allocations: 301.1 kB / 1.067 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.8817, allocations: 0.8475 MB / 1.068 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.8837, allocations: 1.457 MB / 1.069 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/0.8985, allocations: 4.576 MB / 1.073 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/0.8985, allocations: 4 kB / 1.073 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005675/0.9042, allocations: 2.851 MB / 1.076 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.9043, allocations: 12 kB / 1.076 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/0.9043, allocations: 20 kB / 1.076 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005658/0.9049, allocations: 179.1 kB / 1.076 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.9067, allocations: 477.4 kB / 1.077 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.9094, allocations: 2.41 MB / 1.079 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/0.912, allocations: 124.3 kB / 1.079 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/0.9122, allocations: 95.97 kB / 1.079 GB, free: 9.137 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.003583/0.9158, allocations: 1.915 MB / 1.081 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002012/0.9178, allocations: 1.455 MB / 1.083 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01493/0.9328, allocations: 4.519 MB / 1.087 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.177e-05/0.9328, allocations: 8 kB / 1.087 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.005933/0.9387, allocations: 2.825 MB / 1.09 GB, free: 14.15 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.9387, allocations: 12 kB / 1.09 GB, free: 14.14 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.9388, allocations: 16 kB / 1.09 GB, free: 14.12 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004781/0.9392, allocations: 177.3 kB / 1.09 GB, free: 13.95 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.941, allocations: 475.7 kB / 1.091 GB, free: 13.52 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/0.9437, allocations: 2.41 MB / 1.093 GB, free: 11.02 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.9463, allocations: 124.5 kB / 1.093 GB, free: 10.89 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/0.9465, allocations: 91.98 kB / 1.093 GB, free: 10.8 MB / 0.7638 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.0008594/0.9474, allocations: 0.4902 MB / 1.094 GB, free: 10.34 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/0.9485, allocations: 361.3 kB / 1.094 GB, free: 9.984 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/0.953, allocations: 1.993 MB / 1.096 GB, free: 8.035 MB / 0.7638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.953, allocations: 16 kB / 1.096 GB, free: 8.02 MB / 0.7638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.953, allocations: 0 / 1.096 GB, free: 8.02 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002916/0.9559, allocations: 1.778 MB / 1.098 GB, free: 6.184 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005719/0.9616, allocations: 2.614 MB / 1.1 GB, free: 3.574 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.9617, allocations: 3.984 kB / 1.1 GB, free: 3.57 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.9629, allocations: 253.8 kB / 1.1 GB, free: 3.332 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/0.9633, allocations: 156.7 kB / 1.101 GB, free: 3.176 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.9635, allocations: 47.91 kB / 1.101 GB, free: 3.129 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00267/0.9661, allocations: 2.365 MB / 1.103 GB, free: 0.6641 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9661, allocations: 3.938 kB / 1.103 GB, free: 0.6602 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005494/0.9716, allocations: 2.83 MB / 1.106 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/0.9736, allocations: 0.546 MB / 1.106 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/0.9747, allocations: 31.94 kB / 1.106 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/0.9767, allocations: 91.8 kB / 1.106 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.9769, allocations: 93.12 kB / 1.106 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/0.9771, allocations: 63.94 kB / 1.106 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004865/0.982, allocations: 2.374 MB / 1.109 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.982, allocations: 0 / 1.109 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006268/0.9882, allocations: 1.894 MB / 1.111 GB, free: 8.777 MB / 0.7794 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.003145/0.9914, allocations: 1.065 MB / 1.112 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006268/0.9977, allocations: 3.305 MB / 1.115 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.9977, allocations: 1.188 kB / 1.115 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.9993, allocations: 0.8805 MB / 1.116 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008129/1.007, allocations: 1.812 MB / 1.118 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/1.021, allocations: 6.921 MB / 1.124 GB, free: 11.21 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003208/1.024, allocations: 2.369 MB / 1.127 GB, free: 8.828 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/1.026, allocations: 291.3 kB / 1.127 GB, free: 8.547 MB / 0.795 GB Notification: Performance of SimCode: time 8.62e-07/1.026, allocations: 0 / 1.127 GB, free: 8.547 MB / 0.795 GB Notification: Performance of Templates: time 0.1185/1.144, allocations: 80.65 MB / 1.206 GB, free: 8.496 MB / 0.8731 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: 19.627949577057734] Failed to read output from testmodel.py, exit status != 0: 1.1528235350269824 1.167350643 0.35043030199999997 Calling exit ...