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.001269/0.001269, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001714/0.001714, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.773 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.002475/0.002475, allocations: 296 kB / 312.7 MB, free: 2.57 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.194/1.194, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage",fmuType="me",version="2.0",platforms={"static"}) [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.002977/0.002977, allocations: 101.8 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1812, allocations: 95.39 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1226/0.3038, allocations: 105.7 MB / 0.9359 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04642/0.3503, allocations: 27.49 MB / 0.9627 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005773/0.356, allocations: 214.2 kB / 0.9629 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.008094/0.3641, allocations: 2.476 MB / 0.9653 GB, free: 4 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01243/0.3765, allocations: 4.394 MB / 0.9696 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009947/0.3865, allocations: 3.394 MB / 0.9729 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4242/0.8107, allocations: 13.19 MB / 0.9858 GB, free: 17.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004736/0.8154, allocations: 2.77 MB / 0.9885 GB, free: 17.08 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008791/0.8242, allocations: 3.8 MB / 0.9922 GB, free: 17.08 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006895/0.8311, allocations: 3.003 MB / 0.9952 GB, free: 16.7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001974/0.8331, allocations: 388.1 kB / 0.9955 GB, free: 16.7 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006935/0.84, allocations: 2.143 MB / 0.9976 GB, free: 16.7 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002326/0.8424, allocations: 1.233 MB / 0.9988 GB, free: 16.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003744/0.8461, allocations: 1.845 MB / 1.001 GB, free: 16.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.8567, allocations: 7.107 MB / 1.008 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.8567, allocations: 5.922 kB / 1.008 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8567, allocations: 1.219 kB / 1.008 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001676/0.8568, allocations: 0 / 1.008 GB, free: 15.09 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.008749/0.8656, allocations: 4.826 MB / 1.012 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.8656, allocations: 9.062 kB / 1.012 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004244/0.8661, allocations: 346.3 kB / 1.013 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/0.8686, allocations: 0.6518 MB / 1.013 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007609/0.8762, allocations: 4.339 MB / 1.017 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.8763, allocations: 184.4 kB / 1.018 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005105/0.8768, allocations: 249.4 kB / 1.018 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005086/0.8819, allocations: 3.575 MB / 1.021 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.068e-05/0.882, allocations: 13.97 kB / 1.021 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.8822, allocations: 105.2 kB / 1.022 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.841e-05/0.8823, allocations: 93.44 kB / 1.022 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003839/0.8861, allocations: 2.381 MB / 1.024 GB, free: 10.72 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.01526/0.9014, allocations: 10.1 MB / 1.034 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.9037, allocations: 1.459 MB / 1.035 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.9051, allocations: 0.9444 MB / 1.036 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006146/0.9113, allocations: 3.008 MB / 1.039 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.9113, allocations: 54.81 kB / 1.039 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009897/0.9123, allocations: 158.4 kB / 1.039 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=125): time 3.667e-06/0.9123, allocations: 3.938 kB / 1.039 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125): time 0.004219/0.9165, allocations: 2.33 MB / 1.042 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.9166, allocations: 92.48 kB / 1.042 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00457/0.9211, allocations: 3.51 MB / 1.045 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003067/0.9215, allocations: 56.17 kB / 1.045 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.9228, allocations: 1.728 MB / 1.047 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000513/0.9233, allocations: 481.1 kB / 1.047 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005608/0.9238, allocations: 452.8 kB / 1.048 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.896e-05/0.9239, allocations: 303.3 kB / 1.048 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.9252, allocations: 0.8457 MB / 1.049 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.9267, allocations: 1.592 MB / 1.05 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01367/0.9404, allocations: 4.58 MB / 1.055 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-05/0.9404, allocations: 9.344 kB / 1.055 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004787/0.9452, allocations: 2.843 MB / 1.058 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.9452, allocations: 13.66 kB / 1.058 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.9453, allocations: 19.69 kB / 1.058 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004128/0.9457, allocations: 172.3 kB / 1.058 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.9472, allocations: 481 kB / 1.058 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.9494, allocations: 2.385 MB / 1.061 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.952, allocations: 116.2 kB / 1.061 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/0.9522, allocations: 94.02 kB / 1.061 GB, free: 14.91 MB / 0.7325 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true final = true ) \"Internal energy of fluid\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003397/0.9556, allocations: 1.91 MB / 1.063 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001827/0.9575, allocations: 1.597 MB / 1.064 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0147/0.9722, allocations: 4.505 MB / 1.069 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.053e-05/0.9722, allocations: 8 kB / 1.069 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.005789/0.978, allocations: 2.812 MB / 1.071 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.978, allocations: 12 kB / 1.071 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.978, allocations: 20 kB / 1.071 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004474/0.9785, allocations: 184.2 kB / 1.072 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.9802, allocations: 468.3 kB / 1.072 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.9828, allocations: 2.388 MB / 1.074 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/0.9856, allocations: 123.9 kB / 1.074 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.9858, allocations: 91.98 kB / 1.075 GB, free: 3.117 MB / 0.7325 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true final = true ) \"Internal energy of fluid\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.control.y,control.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (245): * Single equations (assignments): 242 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000937/0.9868, allocations: 0.4935 MB / 1.075 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/0.9879, allocations: 357.7 kB / 1.075 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/0.9921, allocations: 1.999 MB / 1.077 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.9921, allocations: 15.98 kB / 1.077 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9922, allocations: 0 / 1.077 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002816/0.995, allocations: 1.779 MB / 1.079 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004593/0.9996, allocations: 2.23 MB / 1.081 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.9996, allocations: 0 / 1.081 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.001, allocations: 262 kB / 1.082 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004229/1.001, allocations: 155.9 kB / 1.082 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.913e-05/1.001, allocations: 35.98 kB / 1.082 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002595/1.004, allocations: 2.342 MB / 1.084 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.004, allocations: 7.969 kB / 1.084 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005282/1.009, allocations: 2.834 MB / 1.087 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/1.011, allocations: 0.5498 MB / 1.087 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005607/1.012, allocations: 38.92 kB / 1.087 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.013, allocations: 79.91 kB / 1.087 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/1.013, allocations: 97.12 kB / 1.088 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/1.014, allocations: 55.95 kB / 1.088 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003942/1.017, allocations: 2.37 MB / 1.09 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.017, allocations: 0 / 1.09 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005502/1.023, allocations: 1.889 MB / 1.092 GB, free: 1.512 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.008241/1.031, allocations: 4.379 MB / 1.096 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006165/1.037, allocations: 3.282 MB / 1.099 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/1.037, allocations: 0.5 kB / 1.099 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/1.039, allocations: 0.8771 MB / 1.1 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008158/1.047, allocations: 1.802 MB / 1.102 GB, free: 7.617 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04373/1.091, allocations: 25.27 MB / 1.127 GB, free: 13.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/1.093, allocations: 1.875 MB / 1.128 GB, free: 11.92 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003892/1.097, allocations: 1.083 MB / 1.129 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002491/1.1, allocations: 1.53 MB / 1.131 GB, free: 9.336 MB / 0.795 GB Notification: Performance of SimCode: time 1.002e-06/1.1, allocations: 4 kB / 1.131 GB, free: 9.332 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1859/1.285, allocations: 101.7 MB / 1.23 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/17.15, allocations: 3.938 kB / 1.23 GB, free: 5.238 MB / 0.8887 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage_fmu --startTime=0 --stopTime=20000 --stepSize=8 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage.fmu > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.42224797839299] Failed to read output from testmodel.py, exit status != 0: 17.382422557100654 17.398727925 16.538796669 Calling exit ...