Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.521/1.521, allocations: 288.4 MB / 303.6 MB, free: 8.07 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.001094/0.001094, allocations: 186.8 kB / 372.3 MB, free: 10.12 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.227/1.227, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0008925/0.0008927, allocations: 90.81 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003746, allocations: 14 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.00212/0.1751, allocations: 1.976 MB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1773, allocations: 1.736 MB / 0.9838 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.1775, allocations: 4 kB / 0.9838 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.1782, allocations: 187 kB / 0.984 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.1784, allocations: 55.48 kB / 0.9841 GB, free: 23.27 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.001042/0.1795, allocations: 366.4 kB / 0.9844 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.1799, allocations: 358.8 kB / 0.9848 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1801, allocations: 40.62 kB / 0.9848 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.1803, allocations: 135.6 kB / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1804, allocations: 139.5 kB / 0.9851 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.1805, allocations: 16 kB / 0.9851 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003565/0.1809, allocations: 227.7 kB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.181, allocations: 103.7 kB / 0.9854 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.1812, allocations: 180.9 kB / 0.9856 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.1816, allocations: 462.9 kB / 0.986 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1816, allocations: 0 / 0.986 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1816, allocations: 0 / 0.986 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.1816, allocations: 0 / 0.986 GB, free: 21.28 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.0009482/0.1826, allocations: 0.6518 MB / 0.9866 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1826, allocations: 8.031 kB / 0.9867 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.402e-05/0.1827, allocations: 46.73 kB / 0.9867 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.1843, allocations: 164.4 kB / 0.9869 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.1847, allocations: 374.2 kB / 0.9872 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.1848, allocations: 75.7 kB / 0.9873 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.1848, allocations: 8 kB / 0.9873 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008914/0.1857, allocations: 461.2 kB / 0.9877 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1857, allocations: 0 / 0.9877 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.1858, allocations: 8 kB / 0.9877 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1858, allocations: 0 / 0.9877 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.1872, allocations: 0.6246 MB / 0.9883 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.1887, allocations: 1.05 MB / 0.9894 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004306/0.193, allocations: 0.9179 MB / 0.9903 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.1937, allocations: 328.7 kB / 0.9906 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.1938, allocations: 4 kB / 0.9906 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008699/0.1946, allocations: 465.8 kB / 0.991 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.106e-06/0.1947, allocations: 3.938 kB / 0.991 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.002155/0.1968, allocations: 0.9773 MB / 0.992 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.1969, allocations: 55.34 kB / 0.992 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.1973, allocations: 433.6 kB / 0.9925 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.1973, allocations: 33.7 kB / 0.9925 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/0.1974, allocations: 180 kB / 0.9927 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/0.1975, allocations: 43.34 kB / 0.9927 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.1975, allocations: 8 kB / 0.9927 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.1976, allocations: 350.8 kB / 0.993 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007227/0.1983, allocations: 400.6 kB / 0.9934 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006882/0.199, allocations: 393.6 kB / 0.9938 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.2003, allocations: 0.6395 MB / 0.9944 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2003, allocations: 0 / 0.9944 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001625/0.2019, allocations: 0.9528 MB / 0.9954 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.202, allocations: 45.69 kB / 0.9954 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.202, allocations: 0 / 0.9954 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.202, allocations: 0 / 0.9954 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.2024, allocations: 71.92 kB / 0.9955 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2025, allocations: 7.875 kB / 0.9955 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.2028, allocations: 55.89 kB / 0.9955 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.2029, allocations: 11.98 kB / 0.9955 GB, free: 11.25 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.0002093/0.2031, allocations: 191.7 kB / 0.9957 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.167e-05/0.2032, allocations: 31.62 kB / 0.9958 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.321e-05/0.2033, allocations: 43.47 kB / 0.9958 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2033, allocations: 3.984 kB / 0.9958 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.2033, allocations: 11.94 kB / 0.9958 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2033, allocations: 0 / 0.9958 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.2037, allocations: 0.5438 MB / 0.9963 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2037, allocations: 3.938 kB / 0.9963 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.2041, allocations: 79.84 kB / 0.9964 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2041, allocations: 4 kB / 0.9964 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.2042, allocations: 7.984 kB / 0.9964 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2042, allocations: 4 kB / 0.9964 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2042, allocations: 3.938 kB / 0.9964 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.2056, allocations: 0.6928 MB / 0.9971 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.2057, allocations: 168.5 kB / 0.9973 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.2058, allocations: 4 kB / 0.9973 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/0.2062, allocations: 59.94 kB / 0.9973 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.2063, allocations: 27.91 kB / 0.9974 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.2064, allocations: 15.97 kB / 0.9974 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002983/0.2067, allocations: 319.1 kB / 0.9977 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2067, allocations: 0 / 0.9977 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000371/0.207, allocations: 80.19 kB / 0.9978 GB, free: 8.875 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.001864/0.2089, allocations: 1.292 MB / 0.999 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.2105, allocations: 0.8022 MB / 0.9998 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2105, allocations: 0 / 0.9998 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000707/0.2112, allocations: 343.7 kB / 1 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.2117, allocations: 77.45 kB / 1 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/0.2171, allocations: 3.813 MB / 1.004 GB, free: 2.477 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2174, allocations: 0.8142 MB / 1.005 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004304/0.2178, allocations: 98.25 kB / 1.005 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.218, allocations: 99.38 kB / 1.005 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of SimCode: time 1.563e-06/0.2181, allocations: 4 kB / 1.005 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6357/0.8537, allocations: 9.89 MB / 1.015 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004272/0.8542, allocations: 273.9 kB / 1.015 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.324, allocations: 3.656 kB / 1.015 GB, free: 7.461 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)