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.698/1.698, allocations: 288.4 MB / 303.3 MB, free: 8.105 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.001013/0.001013, allocations: 186.2 kB / 372 MB, free: 10.26 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.437/1.437, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0008328/0.0008329, allocations: 89.31 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004155, allocations: 17.53 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2204, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002529/0.2229, allocations: 1.972 MB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.2258, allocations: 1.728 MB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.226, allocations: 0 / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008191/0.2269, allocations: 199 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.2271, allocations: 55.55 kB / 0.9835 GB, free: 23.57 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.001098/0.2282, allocations: 378.9 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.2285, allocations: 338.8 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2287, allocations: 40.33 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.2289, allocations: 143.6 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.2291, allocations: 139.5 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.111e-05/0.2291, allocations: 16 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.2295, allocations: 219.7 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2296, allocations: 107.7 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.2297, allocations: 77.52 kB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.2301, allocations: 459.2 kB / 0.9854 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2301, allocations: 3.984 kB / 0.9854 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2301, allocations: 4 kB / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.2301, allocations: 0 / 0.9854 GB, free: 21.68 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.001017/0.2311, allocations: 0.6594 MB / 0.986 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2312, allocations: 12.02 kB / 0.986 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.017e-05/0.2313, allocations: 38.56 kB / 0.9861 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.2329, allocations: 175.4 kB / 0.9862 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.2334, allocations: 353.2 kB / 0.9866 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.693e-05/0.2335, allocations: 75.38 kB / 0.9866 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.2335, allocations: 12 kB / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009371/0.2345, allocations: 457.2 kB / 0.9871 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2345, allocations: 0 / 0.9871 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.2345, allocations: 3.938 kB / 0.9871 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.2345, allocations: 7.953 kB / 0.9871 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.236, allocations: 0.6257 MB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.2377, allocations: 1.047 MB / 0.9887 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004768/0.2425, allocations: 0.9042 MB / 0.9896 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006702/0.2431, allocations: 340.6 kB / 0.9899 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.2432, allocations: 3.938 kB / 0.9899 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009503/0.2441, allocations: 471 kB / 0.9904 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.745e-06/0.2441, allocations: 0 / 0.9904 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0022/0.2464, allocations: 0.9756 MB / 0.9913 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.2464, allocations: 59.34 kB / 0.9914 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.2468, allocations: 429.6 kB / 0.9918 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.2469, allocations: 41.64 kB / 0.9918 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/0.247, allocations: 172 kB / 0.992 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.247, allocations: 47.34 kB / 0.992 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.2471, allocations: 4 kB / 0.9921 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.2471, allocations: 350.8 kB / 0.9924 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007742/0.2479, allocations: 404.6 kB / 0.9928 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/0.2487, allocations: 395.6 kB / 0.9931 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/0.2494, allocations: 378.7 kB / 0.9935 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2494, allocations: 0 / 0.9935 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001679/0.2511, allocations: 0.9452 MB / 0.9944 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.2511, allocations: 41.69 kB / 0.9945 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.2511, allocations: 4 kB / 0.9945 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.2512, allocations: 0 / 0.9945 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.2517, allocations: 75.86 kB / 0.9945 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2517, allocations: 0 / 0.9945 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.2521, allocations: 55.89 kB / 0.9946 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.2521, allocations: 11.98 kB / 0.9946 GB, free: 11.93 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.0002178/0.2523, allocations: 192.8 kB / 0.9948 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.2524, allocations: 35.53 kB / 0.9948 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.2525, allocations: 43.45 kB / 0.9949 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2525, allocations: 8 kB / 0.9949 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2525, allocations: 0 / 0.9949 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2525, allocations: 0 / 0.9949 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.2529, allocations: 0.5477 MB / 0.9954 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2529, allocations: 3.938 kB / 0.9954 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/0.2533, allocations: 75.91 kB / 0.9955 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2533, allocations: 0 / 0.9955 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.2534, allocations: 11.98 kB / 0.9955 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2534, allocations: 0 / 0.9955 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2534, allocations: 4 kB / 0.9955 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.2548, allocations: 0.7032 MB / 0.9962 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.255, allocations: 164.7 kB / 0.9964 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.255, allocations: 3.938 kB / 0.9964 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.2555, allocations: 67.94 kB / 0.9964 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.2556, allocations: 19.97 kB / 0.9964 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.2556, allocations: 7.984 kB / 0.9964 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002545/0.2559, allocations: 319.1 kB / 0.9968 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2559, allocations: 0 / 0.9968 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003284/0.2562, allocations: 84.19 kB / 0.9968 GB, free: 9.566 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.001901/0.2581, allocations: 1.298 MB / 0.9981 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.2597, allocations: 0.7958 MB / 0.9989 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2597, allocations: 0 / 0.9989 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007063/0.2604, allocations: 343.7 kB / 0.9992 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.2609, allocations: 85.38 kB / 0.9993 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/0.2667, allocations: 3.807 MB / 1.003 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.2669, allocations: 0.8142 MB / 1.004 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004307/0.2674, allocations: 94.27 kB / 1.004 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.2676, allocations: 103.4 kB / 1.004 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.2676, allocations: 0 / 1.004 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.2891, allocations: 9.828 MB / 1.014 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/0.2894, allocations: 270.9 kB / 1.014 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.475, allocations: 0 / 1.014 GB, free: 8.234 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)