Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009825/0.0009827, allocations: 175.7 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 0.578 GB, free: 20.4 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000733/0.0007329, allocations: 82.31 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005182/0.0005183, allocations: 18.53 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2488, allocations: 106.3 MB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002555/0.2514, allocations: 2.06 MB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002494/0.2539, allocations: 1.854 MB / 0.9048 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.2542, allocations: 4 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008061/0.255, allocations: 211.2 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.2553, allocations: 55.48 kB / 0.905 GB, free: 59.49 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.001089/0.2564, allocations: 389.9 kB / 0.9054 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.2569, allocations: 378.8 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.257, allocations: 32.41 kB / 0.9058 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.2573, allocations: 143.6 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.2575, allocations: 143.4 kB / 0.906 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.544e-05/0.2576, allocations: 16 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004172/0.258, allocations: 239.6 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.2582, allocations: 107.7 kB / 0.9064 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.2584, allocations: 188.9 kB / 0.9066 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000693/0.2591, allocations: 0.5647 MB / 0.9071 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2591, allocations: 0 / 0.9071 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2592, allocations: 3.938 kB / 0.9071 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.2592, allocations: 0 / 0.9071 GB, free: 57.32 MB / 0.6042 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.00113/0.2603, allocations: 0.6596 MB / 0.9078 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.2604, allocations: 8.031 kB / 0.9078 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.022e-05/0.2605, allocations: 38.75 kB / 0.9078 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.2621, allocations: 168.4 kB / 0.908 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.2626, allocations: 370.2 kB / 0.9083 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.74e-05/0.2627, allocations: 79.94 kB / 0.9084 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.2628, allocations: 8.375 kB / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009345/0.2637, allocations: 469.1 kB / 0.9089 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2637, allocations: 0 / 0.9089 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.2638, allocations: 0 / 0.9089 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2638, allocations: 4 kB / 0.9089 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.2652, allocations: 0.6207 MB / 0.9095 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.2669, allocations: 1.054 MB / 0.9105 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004499/0.2714, allocations: 0.9081 MB / 0.9114 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006823/0.2721, allocations: 332.6 kB / 0.9117 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.2721, allocations: 4 kB / 0.9117 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009176/0.273, allocations: 468.5 kB / 0.9122 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 3.457e-06/0.2731, allocations: 0 / 0.9122 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.002333/0.2754, allocations: 0.9831 MB / 0.9131 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.2755, allocations: 59.39 kB / 0.9132 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.276, allocations: 433.6 kB / 0.9136 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.276, allocations: 33.7 kB / 0.9136 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.2761, allocations: 164.1 kB / 0.9138 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.2762, allocations: 51.3 kB / 0.9138 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.2762, allocations: 0 / 0.9138 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.2763, allocations: 354.7 kB / 0.9142 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/0.2771, allocations: 400.6 kB / 0.9145 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/0.2778, allocations: 406.2 kB / 0.9149 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.2792, allocations: 0.6387 MB / 0.9156 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2792, allocations: 0 / 0.9156 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0017/0.2809, allocations: 0.946 MB / 0.9165 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.281, allocations: 45.69 kB / 0.9165 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.281, allocations: 4 kB / 0.9165 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.281, allocations: 0 / 0.9165 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.2815, allocations: 79.84 kB / 0.9166 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2815, allocations: 0 / 0.9166 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.2819, allocations: 59.8 kB / 0.9167 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.282, allocations: 11.98 kB / 0.9167 GB, free: 47.27 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002201/0.2822, allocations: 187.5 kB / 0.9169 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.2823, allocations: 31.62 kB / 0.9169 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.2823, allocations: 51.34 kB / 0.9169 GB, free: 47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2823, allocations: 0 / 0.9169 GB, free: 47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2823, allocations: 0 / 0.9169 GB, free: 47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2824, allocations: 11.92 kB / 0.9169 GB, free: 46.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.2828, allocations: 0.54 MB / 0.9175 GB, free: 46.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2828, allocations: 4 kB / 0.9175 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/0.2832, allocations: 67.92 kB / 0.9175 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2833, allocations: 4 kB / 0.9175 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.2833, allocations: 11.98 kB / 0.9176 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2833, allocations: 0 / 0.9176 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2833, allocations: 3.984 kB / 0.9176 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.2848, allocations: 0.6916 MB / 0.9182 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.285, allocations: 168.6 kB / 0.9184 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.285, allocations: 11.98 kB / 0.9184 GB, free: 45.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.2855, allocations: 59.94 kB / 0.9185 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.2855, allocations: 19.92 kB / 0.9185 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.2856, allocations: 19.92 kB / 0.9185 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002699/0.2859, allocations: 319.1 kB / 0.9188 GB, free: 44.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2859, allocations: 0 / 0.9188 GB, free: 44.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003651/0.2862, allocations: 80.23 kB / 0.9189 GB, free: 44.91 MB / 0.6042 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.001928/0.2882, allocations: 1.297 MB / 0.9201 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.2898, allocations: 0.802 MB / 0.9209 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2898, allocations: 0 / 0.9209 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007133/0.2905, allocations: 343.7 kB / 0.9213 GB, free: 42.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.291, allocations: 79.42 kB / 0.9213 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008458/0.2995, allocations: 6.312 MB / 0.9275 GB, free: 35.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.2997, allocations: 0.8143 MB / 0.9283 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004299/0.3002, allocations: 102.2 kB / 0.9284 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.3004, allocations: 99.38 kB / 0.9285 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/0.3004, allocations: 4 kB / 0.9285 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.3227, allocations: 10.07 MB / 0.9383 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.323, allocations: 288 kB / 0.9386 GB, free: 24.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.612, allocations: 0 / 0.9386 GB, free: 24.76 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)