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.436/1.436, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.001058/0.001058, allocations: 180.9 kB / 325.8 MB, free: 2.672 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.476/1.476, allocations: 205 MB / 0.576 GB, free: 20.93 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.0006662/0.0006662, allocations: 94.3 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004426, allocations: 14.72 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1965, allocations: 105.4 MB / 0.8962 GB, free: 68.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.001945/0.1985, allocations: 2.088 MB / 0.8983 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.2004, allocations: 1.879 MB / 0.9001 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.2005, allocations: 0 / 0.9001 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.201, allocations: 214.9 kB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.931e-05/0.2011, allocations: 51.55 kB / 0.9003 GB, free: 63.75 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.0008107/0.202, allocations: 374.8 kB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.2023, allocations: 378.8 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.2023, allocations: 48.36 kB / 0.9011 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.2025, allocations: 139.5 kB / 0.9012 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.2026, allocations: 151.4 kB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/0.2027, allocations: 24 kB / 0.9014 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.203, allocations: 223.7 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.612e-05/0.2031, allocations: 107.7 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.2032, allocations: 155.2 kB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004306/0.2037, allocations: 0.5802 MB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2037, allocations: 3.938 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2037, allocations: 3.938 kB / 0.9025 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.2037, allocations: 0 / 0.9025 GB, free: 61.6 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.0008805/0.2046, allocations: 0.6527 MB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.2046, allocations: 8.031 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.2047, allocations: 46.73 kB / 0.9031 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.2063, allocations: 164.4 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.2066, allocations: 366.3 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/0.2067, allocations: 75.95 kB / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.2068, allocations: 12.38 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.2077, allocations: 461.1 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2077, allocations: 0 / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.2077, allocations: 4 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2077, allocations: 4 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.2091, allocations: 0.6246 MB / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.2106, allocations: 1.047 MB / 0.9058 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004733/0.2154, allocations: 0.9158 MB / 0.9067 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006528/0.2161, allocations: 328.7 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.2161, allocations: 7.984 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008529/0.2169, allocations: 463 kB / 0.9075 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.585e-06/0.217, allocations: 0 / 0.9075 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.002212/0.2192, allocations: 0.9822 MB / 0.9084 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.2192, allocations: 59.41 kB / 0.9085 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.2196, allocations: 429.6 kB / 0.9089 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.2196, allocations: 29.7 kB / 0.9089 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.2197, allocations: 176 kB / 0.9091 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.2198, allocations: 47.36 kB / 0.9091 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.2198, allocations: 25.72 kB / 0.9092 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.2199, allocations: 350.7 kB / 0.9095 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00076/0.2206, allocations: 396.6 kB / 0.9099 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007359/0.2214, allocations: 399.6 kB / 0.9103 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.2228, allocations: 0.6413 MB / 0.9109 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2228, allocations: 3.938 kB / 0.9109 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001681/0.2245, allocations: 0.9437 MB / 0.9118 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.2245, allocations: 47.88 kB / 0.9118 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2245, allocations: 0 / 0.9118 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2245, allocations: 0 / 0.9118 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.225, allocations: 75.91 kB / 0.9119 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.225, allocations: 3.938 kB / 0.9119 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.2254, allocations: 63.73 kB / 0.912 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.2255, allocations: 11.98 kB / 0.912 GB, free: 51.54 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 (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.0002031/0.2257, allocations: 198.8 kB / 0.9122 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.2257, allocations: 31.62 kB / 0.9122 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.2258, allocations: 43.47 kB / 0.9123 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2258, allocations: 4 kB / 0.9123 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2258, allocations: 0 / 0.9123 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2258, allocations: 7.922 kB / 0.9123 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.2262, allocations: 0.5401 MB / 0.9128 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2262, allocations: 0 / 0.9128 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004402/0.2267, allocations: 71.92 kB / 0.9129 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2267, allocations: 3.984 kB / 0.9129 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.2267, allocations: 15.92 kB / 0.9129 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2267, allocations: 3.984 kB / 0.9129 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2267, allocations: 4 kB / 0.9129 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.2282, allocations: 0.6974 MB / 0.9136 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.2283, allocations: 164.6 kB / 0.9137 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.2284, allocations: 7.984 kB / 0.9137 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.2288, allocations: 59.94 kB / 0.9138 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.2289, allocations: 19.97 kB / 0.9138 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.229, allocations: 15.92 kB / 0.9138 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002506/0.2292, allocations: 315.1 kB / 0.9141 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2292, allocations: 0 / 0.9141 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003161/0.2295, allocations: 84.23 kB / 0.9142 GB, free: 49.18 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.001943/0.2315, allocations: 1.296 MB / 0.9155 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.2331, allocations: 0.7996 MB / 0.9163 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2331, allocations: 0 / 0.9163 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007295/0.2339, allocations: 347.7 kB / 0.9166 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.2343, allocations: 73.39 kB / 0.9167 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008474/0.2428, allocations: 6.298 MB / 0.9228 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.2431, allocations: 0.8182 MB / 0.9236 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00044/0.2435, allocations: 102.2 kB / 0.9237 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.2437, allocations: 99.38 kB / 0.9238 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.2437, allocations: 0 / 0.9238 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2404/0.4841, allocations: 10.07 MB / 0.9336 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.4843, allocations: 296 kB / 0.9339 GB, free: 29.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/3.062, allocations: 3.938 kB / 0.9339 GB, free: 29.04 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)