Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.543/1.543, allocations: 287.4 MB / 302.6 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009978/0.0009977, allocations: 177.4 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000882/0.0008819, allocations: 113.6 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000425/0.0004251, allocations: 13.39 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.181, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.001977/0.183, allocations: 1.984 MB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1851, allocations: 1.72 MB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.1853, allocations: 4 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006167/0.1859, allocations: 195 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.1861, allocations: 55.55 kB / 0.9826 GB, free: 24.11 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0009723/0.1871, allocations: 374.1 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.1874, allocations: 350.8 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1876, allocations: 48.64 kB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.1877, allocations: 135.6 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1879, allocations: 143.4 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.463e-05/0.188, allocations: 20 kB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.1883, allocations: 211.7 kB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.1884, allocations: 111.7 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.1885, allocations: 77.52 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.1889, allocations: 466.8 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1889, allocations: 0 / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1889, allocations: 4 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.1889, allocations: 0 / 0.9845 GB, free: 22.21 MB / 0.6198 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.0009343/0.1899, allocations: 0.6518 MB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1899, allocations: 15.97 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/0.19, allocations: 42.73 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.1914, allocations: 164.4 kB / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.1918, allocations: 366.2 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.248e-05/0.1919, allocations: 79.69 kB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.192, allocations: 15.94 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008424/0.1928, allocations: 459.2 kB / 0.9862 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1928, allocations: 0 / 0.9862 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.1929, allocations: 0 / 0.9862 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.1929, allocations: 0 / 0.9862 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.1942, allocations: 0.6246 MB / 0.9868 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.1957, allocations: 1.047 MB / 0.9878 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004307/0.2, allocations: 0.912 MB / 0.9887 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006536/0.2007, allocations: 328.7 kB / 0.989 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.2008, allocations: 7.984 kB / 0.989 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008416/0.2016, allocations: 463 kB / 0.9895 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.2016, allocations: 0 / 0.9895 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.002093/0.2037, allocations: 0.9753 MB / 0.9904 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.2038, allocations: 63.34 kB / 0.9905 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.2042, allocations: 433.6 kB / 0.9909 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.2042, allocations: 33.7 kB / 0.9909 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.657e-05/0.2043, allocations: 175.9 kB / 0.9911 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.2044, allocations: 47.36 kB / 0.9911 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.2044, allocations: 0 / 0.9911 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.2045, allocations: 350.8 kB / 0.9915 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007313/0.2052, allocations: 404.6 kB / 0.9919 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000695/0.2059, allocations: 391.7 kB / 0.9922 GB, free: 14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.2072, allocations: 0.6411 MB / 0.9929 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2072, allocations: 0 / 0.9929 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001573/0.2088, allocations: 0.9475 MB / 0.9938 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.2088, allocations: 45.69 kB / 0.9938 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2089, allocations: 4 kB / 0.9938 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2089, allocations: 0 / 0.9938 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.2093, allocations: 75.86 kB / 0.9939 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2093, allocations: 7.938 kB / 0.9939 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.2097, allocations: 51.89 kB / 0.994 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.2097, allocations: 11.98 kB / 0.994 GB, free: 12.19 MB / 0.6198 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 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002115/0.21, allocations: 201.8 kB / 0.9942 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.21, allocations: 35.62 kB / 0.9942 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.2101, allocations: 39.47 kB / 0.9942 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.2101, allocations: 7.984 kB / 0.9943 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.2101, allocations: 3.938 kB / 0.9943 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2101, allocations: 0 / 0.9943 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.2105, allocations: 0.5475 MB / 0.9948 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2105, allocations: 0 / 0.9948 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.211, allocations: 79.84 kB / 0.9949 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.211, allocations: 3.938 kB / 0.9949 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.211, allocations: 11.98 kB / 0.9949 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.211, allocations: 4 kB / 0.9949 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.211, allocations: 3.938 kB / 0.9949 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.2124, allocations: 0.6924 MB / 0.9956 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.2126, allocations: 168.5 kB / 0.9957 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.2126, allocations: 8 kB / 0.9957 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.2131, allocations: 59.94 kB / 0.9958 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.2131, allocations: 23.91 kB / 0.9958 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.2132, allocations: 11.98 kB / 0.9958 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002697/0.2134, allocations: 315.1 kB / 0.9961 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2134, allocations: 4 kB / 0.9961 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003312/0.2138, allocations: 80.25 kB / 0.9962 GB, free: 9.809 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001799/0.2156, allocations: 1.291 MB / 0.9975 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.2171, allocations: 0.7996 MB / 0.9983 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2171, allocations: 0 / 0.9983 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006683/0.2178, allocations: 351.7 kB / 0.9986 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.2182, allocations: 86.41 kB / 0.9987 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005386/0.2236, allocations: 3.809 MB / 1.002 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.2238, allocations: 0.8142 MB / 1.003 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004174/0.2243, allocations: 98.25 kB / 1.003 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.2244, allocations: 103.4 kB / 1.003 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.2245, allocations: 0 / 1.003 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3211/0.5456, allocations: 9.826 MB / 1.013 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004317/0.5461, allocations: 269.5 kB / 1.013 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/3.008, allocations: 6.969 kB / 1.013 GB, free: 8.449 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)