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.0007899/0.0007899, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007872/0.0007872, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.8571/0.8571, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001404/0.001404, allocations: 234 kB / 259.4 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.6555/0.6555, allocations: 138.4 MB / 454.3 MB, free: 29.99 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: "" <> 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: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.6462 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.606e-06/9.899e-06, allocations: 6.219 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.2933/0.2933, allocations: 104.8 MB / 0.7486 GB, free: 1.641 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02995/0.3232, allocations: 27.51 MB / 0.7755 GB, free: 6.895 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004097/0.3273, allocations: 214.3 kB / 0.7757 GB, free: 6.684 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004142/0.3315, allocations: 2.497 MB / 0.7781 GB, free: 4.172 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006119/0.3376, allocations: 4.506 MB / 0.7825 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004662/0.3423, allocations: 3.481 MB / 0.7859 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0117/0.354, allocations: 14.26 MB / 0.7999 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002994/0.357, allocations: 2.772 MB / 0.8026 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004876/0.3618, allocations: 5.068 MB / 0.8075 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.3641, allocations: 2.703 MB / 0.8102 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003074/0.3644, allocations: 388 kB / 0.8105 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.3667, allocations: 1.851 MB / 0.8123 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006483/0.3674, allocations: 1.273 MB / 0.8136 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0009741/0.3684, allocations: 1.539 MB / 0.8151 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004684/0.373, allocations: 6.929 MB / 0.8218 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.373, allocations: 4 kB / 0.8218 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.453e-06/0.373, allocations: 0 / 0.8218 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.872e-05/0.3731, allocations: 0 / 0.8218 GB, free: 7.305 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.0042/0.3773, allocations: 4.76 MB / 0.8265 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3773, allocations: 13.22 kB / 0.8265 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004036/0.3777, allocations: 337.4 kB / 0.8268 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.3789, allocations: 0.657 MB / 0.8275 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004639/0.3836, allocations: 4.566 MB / 0.8319 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.546e-05/0.3836, allocations: 184.8 kB / 0.8321 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.3839, allocations: 251.7 kB / 0.8323 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003144/0.387, allocations: 3.587 MB / 0.8358 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/0.3871, allocations: 7.938 kB / 0.8359 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.3872, allocations: 100 kB / 0.836 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.004e-05/0.3873, allocations: 99.08 kB / 0.836 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.3901, allocations: 2.379 MB / 0.8384 GB, free: 5.914 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.008389/0.3985, allocations: 10.03 MB / 0.8482 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.4001, allocations: 1.448 MB / 0.8496 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009891/0.4011, allocations: 0.9356 MB / 0.8505 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003677/0.4048, allocations: 2.976 MB / 0.8534 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.4048, allocations: 51.56 kB / 0.8535 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003251/0.4051, allocations: 146.9 kB / 0.8536 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=125): time 2.204e-06/0.4051, allocations: 4 kB / 0.8536 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125): time 0.002752/0.4079, allocations: 2.326 MB / 0.8559 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.4079, allocations: 90.11 kB / 0.856 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002875/0.4108, allocations: 3.392 MB / 0.8593 GB, free: 264 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.09e-05/0.4109, allocations: 57.7 kB / 0.8593 GB, free: 200 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009498/0.4118, allocations: 1.761 MB / 0.861 GB, free: 14.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.4121, allocations: 472 kB / 0.8615 GB, free: 13.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.4124, allocations: 355.3 kB / 0.8618 GB, free: 13.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.4124, allocations: 301.1 kB / 0.8621 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007092/0.4131, allocations: 0.645 MB / 0.8627 GB, free: 12.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009952/0.4141, allocations: 1.367 MB / 0.8641 GB, free: 11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007296/0.4214, allocations: 4.221 MB / 0.8682 GB, free: 6.547 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.4215, allocations: 8 kB / 0.8682 GB, free: 6.539 MB / 0.698 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002415/0.4239, allocations: 2.374 MB / 0.8705 GB, free: 4.152 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4239, allocations: 15.94 kB / 0.8705 GB, free: 4.137 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.4239, allocations: 16 kB / 0.8706 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002667/0.4242, allocations: 177.1 kB / 0.8707 GB, free: 3.945 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007663/0.4249, allocations: 428.5 kB / 0.8711 GB, free: 3.527 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.4267, allocations: 2.383 MB / 0.8735 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008133/0.4275, allocations: 111.9 kB / 0.8736 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.132e-05/0.4276, allocations: 87.97 kB / 0.8737 GB, free: 0.8359 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.001624/0.4292, allocations: 1.715 MB / 0.8753 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00096/0.4302, allocations: 1.359 MB / 0.8767 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006925/0.4371, allocations: 4.163 MB / 0.8807 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.462e-06/0.4371, allocations: 4 kB / 0.8807 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=222) (initialization_lambda0): time 0.002261/0.4394, allocations: 2.346 MB / 0.883 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4394, allocations: 12 kB / 0.883 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4394, allocations: 20.81 kB / 0.8831 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.4396, allocations: 174.7 kB / 0.8832 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/0.4403, allocations: 423.4 kB / 0.8836 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.442, allocations: 2.385 MB / 0.886 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/0.4428, allocations: 116 kB / 0.8861 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.389e-05/0.4429, allocations: 79.98 kB / 0.8861 GB, free: 3.406 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.0003355/0.4432, allocations: 0.4886 MB / 0.8866 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.4435, allocations: 357.7 kB / 0.887 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.4457, allocations: 2.014 MB / 0.8889 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.4457, allocations: 19.94 kB / 0.8889 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.4457, allocations: 0 / 0.8889 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001594/0.4473, allocations: 1.769 MB / 0.8907 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.4494, allocations: 2.221 MB / 0.8928 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.4494, allocations: 0 / 0.8928 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/0.45, allocations: 267.6 kB / 0.8931 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.4502, allocations: 156.6 kB / 0.8932 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.695e-05/0.4502, allocations: 43.91 kB / 0.8933 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.4516, allocations: 2.351 MB / 0.8956 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4516, allocations: 0 / 0.8956 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.4543, allocations: 2.844 MB / 0.8984 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/0.4549, allocations: 0.5365 MB / 0.8989 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.4551, allocations: 28 kB / 0.8989 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.4558, allocations: 83.89 kB / 0.899 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.4559, allocations: 97.12 kB / 0.8991 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/0.4559, allocations: 59.95 kB / 0.8991 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002191/0.4581, allocations: 2.312 MB / 0.9014 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4581, allocations: 0 / 0.9014 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002394/0.4605, allocations: 1.762 MB / 0.9031 GB, free: 1.77 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.004276/0.4648, allocations: 4.215 MB / 0.9072 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002781/0.4676, allocations: 2.838 MB / 0.91 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4676, allocations: 0.5 kB / 0.91 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008098/0.4684, allocations: 0.8731 MB / 0.9109 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/0.4719, allocations: 1.908 MB / 0.9127 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2467/0.7186, allocations: 24.28 MB / 0.9364 GB, free: 239.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/0.7201, allocations: 1.879 MB / 0.9383 GB, free: 239.5 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002726/0.7228, allocations: 1.045 MB / 0.9393 GB, free: 239.4 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/0.724, allocations: 1.54 MB / 0.9408 GB, free: 239.4 MB / 0.7605 GB Notification: Performance of SimCode: time 1.212e-06/0.724, allocations: 0 / 0.9408 GB, free: 239.4 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09792/0.822, allocations: 101.6 MB / 1.04 GB, free: 178.1 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.88, allocations: 3.984 kB / 1.04 GB, free: 178.1 MB / 0.7605 GB " [Timeout remaining time 649] (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: 13.502978520467877] Failed to read output from testmodel.py, exit status != 0: 11.025940063409507 11.032822264 10.65821871 Calling exit ...