Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009635/0.0009632, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 194.1 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.513/1.513, allocations: 292.3 MB / 0.5486 GB, free: 13.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 66.09 kB / 0.6711 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1873, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003331/0.1907, allocations: 2.404 MB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00221/0.1929, allocations: 1.832 MB / 0.7871 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.193, allocations: 4 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005865/0.1936, allocations: 215.2 kB / 0.7873 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.992e-05/0.1937, allocations: 51.55 kB / 0.7874 GB, free: 9.289 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0009048/0.1946, allocations: 402.1 kB / 0.7878 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.1951, allocations: 406.7 kB / 0.7882 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1952, allocations: 48.38 kB / 0.7882 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.1953, allocations: 143.6 kB / 0.7883 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1955, allocations: 159.5 kB / 0.7885 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.1956, allocations: 28 kB / 0.7885 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.1959, allocations: 243.7 kB / 0.7887 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.196, allocations: 123.7 kB / 0.7889 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1961, allocations: 175.1 kB / 0.789 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005155/0.1967, allocations: 0.5959 MB / 0.7896 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1967, allocations: 4 kB / 0.7896 GB, free: 7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1967, allocations: 0 / 0.7896 GB, free: 7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.1967, allocations: 0 / 0.7896 GB, free: 7 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001008/0.1977, allocations: 0.7099 MB / 0.7903 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.1977, allocations: 12.03 kB / 0.7903 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.1978, allocations: 42.73 kB / 0.7904 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.1994, allocations: 156.4 kB / 0.7905 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.1997, allocations: 374.2 kB / 0.7909 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.835e-05/0.1998, allocations: 83.7 kB / 0.791 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.1999, allocations: 7.984 kB / 0.791 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009014/0.2008, allocations: 441.2 kB / 0.7914 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.2008, allocations: 0 / 0.7914 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.2009, allocations: 4 kB / 0.7914 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2009, allocations: 0 / 0.7914 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.2023, allocations: 0.5855 MB / 0.792 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.2038, allocations: 1.05 MB / 0.793 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004632/0.2084, allocations: 0.8417 MB / 0.7938 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006651/0.2091, allocations: 312.7 kB / 0.7941 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.2092, allocations: 7.984 kB / 0.7941 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008665/0.21, allocations: 438.1 kB / 0.7945 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.21, allocations: 7.938 kB / 0.7945 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002131/0.2122, allocations: 0.9148 MB / 0.7954 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.2122, allocations: 59.34 kB / 0.7955 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.2126, allocations: 433.6 kB / 0.7959 GB, free: 352 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.2127, allocations: 29.7 kB / 0.7959 GB, free: 316 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2128, allocations: 176 kB / 0.7961 GB, free: 136 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.2128, allocations: 55.28 kB / 0.7961 GB, free: 80 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.2129, allocations: 53.67 kB / 0.7962 GB, free: 20 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.2131, allocations: 346.8 kB / 0.7965 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007761/0.2139, allocations: 380.6 kB / 0.7969 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007403/0.2146, allocations: 382.2 kB / 0.7973 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.2159, allocations: 0.5958 MB / 0.7978 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2159, allocations: 0 / 0.7978 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0017/0.2176, allocations: 0.9069 MB / 0.7987 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.2177, allocations: 45.69 kB / 0.7988 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2177, allocations: 0 / 0.7988 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.2177, allocations: 0 / 0.7988 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.2181, allocations: 63.86 kB / 0.7988 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2181, allocations: 3.938 kB / 0.7988 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.2185, allocations: 51.8 kB / 0.7989 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.2186, allocations: 15.97 kB / 0.7989 GB, free: 13.22 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.2187, allocations: 181.8 kB / 0.7991 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.2188, allocations: 31.62 kB / 0.7991 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.597e-05/0.2189, allocations: 47.45 kB / 0.7991 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2189, allocations: 4 kB / 0.7991 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2189, allocations: 3.938 kB / 0.7992 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2189, allocations: 0 / 0.7992 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.2194, allocations: 0.5515 MB / 0.7997 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2194, allocations: 0 / 0.7997 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.2198, allocations: 67.86 kB / 0.7998 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2198, allocations: 0 / 0.7998 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.2198, allocations: 11.98 kB / 0.7998 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2199, allocations: 3.938 kB / 0.7998 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2199, allocations: 3.938 kB / 0.7998 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.2213, allocations: 0.6565 MB / 0.8004 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.2215, allocations: 164.6 kB / 0.8006 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/0.2215, allocations: 8 kB / 0.8006 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.222, allocations: 47.92 kB / 0.8006 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.222, allocations: 23.91 kB / 0.8006 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.2221, allocations: 15.98 kB / 0.8007 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002768/0.2224, allocations: 319 kB / 0.801 GB, free: 11 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2224, allocations: 0 / 0.801 GB, free: 11 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003111/0.2227, allocations: 80.25 kB / 0.801 GB, free: 10.92 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001883/0.2246, allocations: 1.245 MB / 0.8023 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001591/0.2262, allocations: 0.7831 MB / 0.803 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2262, allocations: 3.938 kB / 0.803 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007164/0.2269, allocations: 319.8 kB / 0.8033 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.2273, allocations: 92.95 kB / 0.8034 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008438/0.2357, allocations: 6.193 MB / 0.8095 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.2361, allocations: 0.8179 MB / 0.8103 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003917/0.2365, allocations: 102.2 kB / 0.8104 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.2366, allocations: 99.38 kB / 0.8105 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2367, allocations: 0 / 0.8105 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.135/2.372, allocations: 10.5 MB / 0.8207 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003545/2.372, allocations: 286.1 kB / 0.821 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/4.43, allocations: 3.375 kB / 0.821 GB, free: 6.539 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)