Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03883/0.03883, allocations: 9.117 MB / 18.92 MB, free: 0.7148 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.003604/0.04244, allocations: 3.419 MB / 22.34 MB, free: 3.789 MB / 24.77 MB " [Timeout remaining time 180] 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.0005525/0.0005525, allocations: 78.95 kB / 23.16 MB, free: 2.973 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009092/0.001462, allocations: 450.8 kB / 23.6 MB, free: 2.531 MB / 24.77 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.0008342/0.0008342, allocations: 148.9 kB / 24.49 MB, free: 1.656 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000932/0.001766, allocations: 487 kB / 24.96 MB, free: 1.18 MB / 24.77 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.8777/0.8777, allocations: 177.1 MB / 202.8 MB, free: 8.352 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1358/1.013, allocations: 53.66 MB / 256.5 MB, free: 5.367 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003717/0.003717, allocations: 0.831 MB / 258.1 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001218/0.004935, allocations: 0.6433 MB / 258.7 MB, free: 3.277 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.589/1.589, allocations: 274.9 MB / 0.5218 GB, free: 1.09 MB / 0.4949 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1176/1.707, allocations: 78.89 MB / 0.5989 GB, free: 2.215 MB / 0.573 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.6001 GB, free: 0.957 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.33e-05, allocations: 2.312 kB / 0.6001 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.03308/0.0331, allocations: 49.52 MB / 0.6485 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03159/0.06469, allocations: 22.85 MB / 0.6708 GB, free: 8.375 MB / 0.6512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006331/0.07102, allocations: 368.9 kB / 0.6712 GB, free: 8.012 MB / 0.6512 GB Notification: Performance of NFTyping.typeComponents: time 0.004953/0.07597, allocations: 2.781 MB / 0.6739 GB, free: 5.215 MB / 0.6512 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.08601, allocations: 6.431 MB / 0.6802 GB, free: 14.75 MB / 0.6668 GB Notification: Performance of NFTyping.typeClassSections: time 0.008772/0.09478, allocations: 6.189 MB / 0.6862 GB, free: 8.559 MB / 0.6668 GB Notification: Performance of NFFlatten.flatten: time 0.02082/0.1156, allocations: 23.33 MB / 0.709 GB, free: 1.184 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008057/0.1237, allocations: 4.799 MB / 0.7137 GB, free: 12.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01388/0.1375, allocations: 9.362 MB / 0.7228 GB, free: 2.918 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004968/0.1425, allocations: 3.877 MB / 0.7266 GB, free: 15.03 MB / 0.7137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008683/0.1434, allocations: 0.6367 MB / 0.7272 GB, free: 14.39 MB / 0.7137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.1465, allocations: 1.814 MB / 0.729 GB, free: 12.58 MB / 0.7137 GB Notification: Performance of NFScalarize.scalarize: time 0.001351/0.1478, allocations: 1.721 MB / 0.7307 GB, free: 10.85 MB / 0.7137 GB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.1503, allocations: 2.141 MB / 0.7328 GB, free: 8.707 MB / 0.7137 GB Notification: Performance of NFConvertDAE.convert: time 0.006622/0.1569, allocations: 5.782 MB / 0.7384 GB, free: 2.906 MB / 0.7137 GB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.157, allocations: 7.938 kB / 0.7384 GB, free: 2.898 MB / 0.7137 GB Notification: Performance of FrontEnd: time 2.815e-06/0.157, allocations: 3.984 kB / 0.7384 GB, free: 2.895 MB / 0.7137 GB Notification: Performance of Transformations before backend: time 4.432e-05/0.157, allocations: 4 kB / 0.7384 GB, free: 2.891 MB / 0.7137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 865 * Number of variables: 865 Notification: Performance of Generate backend data structure: time 0.00859/0.1656, allocations: 8.657 MB / 0.7469 GB, free: 10.11 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1656, allocations: 8.031 kB / 0.7469 GB, free: 10.1 MB / 0.7293 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006352/0.1663, allocations: 491.5 kB / 0.7474 GB, free: 9.609 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002987/0.1693, allocations: 1.291 MB / 0.7486 GB, free: 8.316 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007228/0.1765, allocations: 4.935 MB / 0.7534 GB, free: 3.273 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.1767, allocations: 270.7 kB / 0.7537 GB, free: 3.008 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004096/0.1771, allocations: 367.9 kB / 0.754 GB, free: 2.648 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/0.1802, allocations: 3.229 MB / 0.7572 GB, free: 15.12 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/0.1803, allocations: 7.938 kB / 0.7572 GB, free: 15.12 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.1805, allocations: 140 kB / 0.7573 GB, free: 14.98 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/0.1805, allocations: 91.94 kB / 0.7574 GB, free: 14.89 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.182, allocations: 1.146 MB / 0.7585 GB, free: 13.71 MB / 0.7449 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.01115/0.1931, allocations: 12.47 MB / 0.7707 GB, free: 0.9062 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.1944, allocations: 1.232 MB / 0.7719 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/0.1951, allocations: 0.6139 MB / 0.7725 GB, free: 15.02 MB / 0.7605 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 evalFunc (simulation): time 0.004002/0.1991, allocations: 2.728 MB / 0.7752 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008547/0.2, allocations: 1.157 MB / 0.7763 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=205): time 2.996e-06/0.2, allocations: 4 kB / 0.7763 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=205): time 0.003103/0.2031, allocations: 2.092 MB / 0.7784 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.2031, allocations: 132.8 kB / 0.7785 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/0.2065, allocations: 4.242 MB / 0.7826 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.2066, allocations: 69.7 kB / 0.7827 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008881/0.2075, allocations: 1.682 MB / 0.7843 GB, free: 2.676 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003932/0.2079, allocations: 0.7397 MB / 0.7851 GB, free: 1.93 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004919/0.2084, allocations: 0.5283 MB / 0.7856 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.2084, allocations: 305.1 kB / 0.7859 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007103/0.2091, allocations: 459.6 kB / 0.7863 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2638/0.473, allocations: 2.148 MB / 0.7884 GB, free: 100.5 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002888/0.4759, allocations: 2.377 MB / 0.7907 GB, free: 99.39 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.4759, allocations: 6.688 kB / 0.7907 GB, free: 99.39 MB / 0.7605 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.003934/0.4798, allocations: 2.119 MB / 0.7928 GB, free: 99.17 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.219e-05/0.4799, allocations: 81.7 kB / 0.7929 GB, free: 99.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/0.4799, allocations: 23.84 kB / 0.7929 GB, free: 99.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/0.4805, allocations: 230.9 kB / 0.7931 GB, free: 99.09 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.4821, allocations: 0.7633 MB / 0.7939 GB, free: 99.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.4833, allocations: 3.779 MB / 0.7976 GB, free: 95.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.4853, allocations: 368.3 kB / 0.7979 GB, free: 95.54 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.4855, allocations: 112 kB / 0.798 GB, free: 95.54 MB / 0.7605 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001651/0.4871, allocations: 0.7596 MB / 0.7988 GB, free: 95.31 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001102/0.4882, allocations: 2.151 MB / 0.8009 GB, free: 93.21 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002544/0.4908, allocations: 2.361 MB / 0.8032 GB, free: 92.11 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.308e-05/0.4908, allocations: 7.906 kB / 0.8032 GB, free: 92.11 MB / 0.7605 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.003195/0.494, allocations: 2.13 MB / 0.8053 GB, free: 91.88 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.494, allocations: 79.86 kB / 0.8053 GB, free: 91.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.4941, allocations: 23.66 kB / 0.8053 GB, free: 91.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/0.4945, allocations: 216.3 kB / 0.8056 GB, free: 91.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.4959, allocations: 0.7463 MB / 0.8063 GB, free: 91.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007197/0.4967, allocations: 2.017 MB / 0.8083 GB, free: 89.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.4983, allocations: 300.9 kB / 0.8085 GB, free: 89.99 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.4984, allocations: 115.2 kB / 0.8087 GB, free: 89.99 MB / 0.7605 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.steBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = \"J\" fixed = true nominal = 1e5 protected = true ) \"Internal energy of fluid\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 14 (heatDemand.nextEventScaled,heatDemand.nextEvent,$PRE.heatDemand.nextEvent,heatDemand.last,heatDemand.b,heatDemand.a,coolingDemand.nextEventScaled,coolingDemand.nextEvent,$PRE.coolingDemand.nextEvent,coolingDemand.last,coolingDemand.b,coolingDemand.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (312): * Single equations (assignments): 303 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005987/0.499, allocations: 0.6035 MB / 0.8092 GB, free: 89.68 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004318/0.4995, allocations: 395.6 kB / 0.8096 GB, free: 89.68 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/0.5022, allocations: 2.211 MB / 0.8118 GB, free: 89.39 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.5022, allocations: 36.25 kB / 0.8118 GB, free: 89.39 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5022, allocations: 0 / 0.8118 GB, free: 89.39 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/0.5032, allocations: 1.244 MB / 0.813 GB, free: 88.87 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005728/0.509, allocations: 4.707 MB / 0.8176 GB, free: 88.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.509, allocations: 3.656 kB / 0.8176 GB, free: 88.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.51, allocations: 0.4886 MB / 0.8181 GB, free: 88.27 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009631/0.511, allocations: 0.729 MB / 0.8188 GB, free: 88.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003278/0.5113, allocations: 183.4 kB / 0.819 GB, free: 88.25 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.803e-05/0.5114, allocations: 61.58 kB / 0.819 GB, free: 88.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009575/0.5123, allocations: 3.758 MB / 0.8227 GB, free: 84.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5123, allocations: 6.047 kB / 0.8227 GB, free: 84.68 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.5148, allocations: 2.353 MB / 0.825 GB, free: 84.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003719/0.5152, allocations: 58.47 kB / 0.8251 GB, free: 84.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009865/0.5162, allocations: 121.9 kB / 0.8252 GB, free: 84.11 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.5163, allocations: 146.4 kB / 0.8253 GB, free: 84.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.5164, allocations: 72.38 kB / 0.8254 GB, free: 84.1 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001841/0.5183, allocations: 2.27 MB / 0.8276 GB, free: 83.91 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5183, allocations: 0 / 0.8276 GB, free: 83.91 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003448/0.5217, allocations: 2.457 MB / 0.83 GB, free: 83.91 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U,DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U,DHCsubstationHeatingDirectCooling.senT_heaPumOutPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumInPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumOutSec.T,DHCsubstationHeatingDirectCooling.senT_heaPumInSec.T,DHCsubstationHeatingDirectCooling.senT_dirCooInPri.T,DHCsubstationHeatingDirectCooling.senT_dirCooOutPri.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003216/0.525, allocations: 3.21 MB / 0.8332 GB, free: 82.88 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003632/0.5286, allocations: 3.036 MB / 0.8361 GB, free: 82.11 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.443e-05/0.5286, allocations: 63.38 kB / 0.8362 GB, free: 82.11 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008532/0.5295, allocations: 0.9798 MB / 0.8371 GB, free: 81.79 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005986/0.5355, allocations: 3.901 MB / 0.8409 GB, free: 81.42 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03658/0.5721, allocations: 22.84 MB / 0.8632 GB, free: 69.21 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009455/0.573, allocations: 1.021 MB / 0.8642 GB, free: 68.57 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00404/0.577, allocations: 1.186 MB / 0.8654 GB, free: 67.68 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006238/0.5833, allocations: 4.255 MB / 0.8696 GB, free: 66.1 MB / 0.7605 GB Notification: Performance of SimCode: time 1.112e-06/0.5833, allocations: 0 / 0.8696 GB, free: 66.1 MB / 0.7605 GB Notification: Performance of FMU documentation: time 0.2107/0.794, allocations: 222 MB / 1.086 GB, free: 5.566 MB / 0.9168 GB Notification: FMU-only work: backend 0.002543, simCode 0.01372, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09675/0.8908, allocations: 1.476 MB / 1.088 GB, free: 4.043 MB / 0.9168 GB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 5.073/5.963, allocations: 11.47 kB / 1.088 GB, free: 4.031 MB / 0.9168 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_fmu --startTime=0 --stopTime=86400 --stepSize=60 --mode=me --timeout=240 --tolerance=1e-07 ../AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu) > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1) [Timeout 252.0] (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-cvode.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-cvode.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=86400 --stepSize=60 --mode=cs --timeout=240 --tolerance=1e-07 ../AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-cvode.fmu) > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-euler.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-euler.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=86400 --stepSize=60 --mode=cs --timeout=240 --tolerance=1e-07 ../AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-euler.fmu) > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_fmpy.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_fmpy.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_fmpy_res.csv --start-time 0 --stop-time 86400 --timeout 240 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 60 ../AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu) > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_fmpy.pipe 2>&1) [Timeout 252.0] (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_fmpy-fmi3-cs-cvode.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 86400 --timeout 240 --relative-tolerance 1e-07 --interface-type CoSimulation --output-interval 60 ../AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_fmpy-fmi3-cs-cvode.fmu) > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 10.46078660339117]