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.381/1.381, allocations: 252 MB / 267 MB, free: 10.98 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.001006/0.001006, allocations: 182.3 kB / 326.6 MB, free: 2.227 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.702/1.702, allocations: 205.4 MB / 0.5777 GB, free: 20.51 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.0007562/0.0007563, allocations: 92.22 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005074/0.0005075, allocations: 12.84 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2082, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002074/0.2103, allocations: 1.995 MB / 0.9023 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.2122, allocations: 1.736 MB / 0.904 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.2123, allocations: 4 kB / 0.904 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.2128, allocations: 199 kB / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.057e-05/0.2129, allocations: 51.55 kB / 0.9042 GB, free: 60.17 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.0007879/0.2137, allocations: 358.1 kB / 0.9046 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.214, allocations: 346.8 kB / 0.9049 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2141, allocations: 36.39 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.2142, allocations: 143.6 kB / 0.9051 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.2144, allocations: 135.6 kB / 0.9052 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.2144, allocations: 16 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.2148, allocations: 227.6 kB / 0.9054 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.792e-05/0.2149, allocations: 99.75 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.2149, allocations: 85.52 kB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.2153, allocations: 475 kB / 0.906 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2153, allocations: 0 / 0.906 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2153, allocations: 0 / 0.906 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.2153, allocations: 0 / 0.906 GB, free: 58.29 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.0009911/0.2163, allocations: 0.6478 MB / 0.9067 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.2164, allocations: 8.031 kB / 0.9067 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.588e-05/0.2165, allocations: 46.55 kB / 0.9067 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.2181, allocations: 163.5 kB / 0.9069 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.2185, allocations: 353.2 kB / 0.9072 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-05/0.2186, allocations: 75.39 kB / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.2186, allocations: 4 kB / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009342/0.2196, allocations: 463.9 kB / 0.9077 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2196, allocations: 0 / 0.9077 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.2196, allocations: 7.938 kB / 0.9077 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2197, allocations: 4 kB / 0.9078 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.2211, allocations: 0.6246 MB / 0.9084 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.2227, allocations: 1.054 MB / 0.9094 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004911/0.2276, allocations: 0.912 MB / 0.9103 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007381/0.2284, allocations: 328.7 kB / 0.9106 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.2284, allocations: 7.969 kB / 0.9106 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009026/0.2293, allocations: 467 kB / 0.911 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 3.216e-06/0.2293, allocations: 0 / 0.911 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.002249/0.2316, allocations: 0.9783 MB / 0.912 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.2316, allocations: 51.41 kB / 0.9121 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.232, allocations: 429.6 kB / 0.9125 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.2321, allocations: 33.7 kB / 0.9125 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.2322, allocations: 172 kB / 0.9127 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.2322, allocations: 51.3 kB / 0.9127 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.2323, allocations: 8 kB / 0.9127 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.448e-05/0.2323, allocations: 346.7 kB / 0.913 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007642/0.2331, allocations: 408.6 kB / 0.9134 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007281/0.2338, allocations: 391.7 kB / 0.9138 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007235/0.2346, allocations: 369.5 kB / 0.9142 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2346, allocations: 7.938 kB / 0.9142 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001688/0.2363, allocations: 0.95 MB / 0.9151 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.2363, allocations: 37.69 kB / 0.9151 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2364, allocations: 0 / 0.9151 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2364, allocations: 4 kB / 0.9151 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.2368, allocations: 83.84 kB / 0.9152 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2368, allocations: 0 / 0.9152 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.2372, allocations: 51.86 kB / 0.9153 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.2373, allocations: 19.94 kB / 0.9153 GB, free: 48.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.2375, allocations: 195.2 kB / 0.9155 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.2375, allocations: 31.62 kB / 0.9155 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.2376, allocations: 35.47 kB / 0.9155 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2376, allocations: 4 kB / 0.9155 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2376, allocations: 0 / 0.9155 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2376, allocations: 0 / 0.9155 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.2381, allocations: 0.5478 MB / 0.9161 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2381, allocations: 4 kB / 0.9161 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.2386, allocations: 83.84 kB / 0.9162 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.2386, allocations: 0 / 0.9162 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.2386, allocations: 7.984 kB / 0.9162 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2386, allocations: 0 / 0.9162 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2386, allocations: 0 / 0.9162 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.2401, allocations: 0.6976 MB / 0.9168 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.2402, allocations: 168.5 kB / 0.917 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.2403, allocations: 8 kB / 0.917 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/0.2407, allocations: 63.94 kB / 0.9171 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.2408, allocations: 23.89 kB / 0.9171 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.2409, allocations: 11.98 kB / 0.9171 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002554/0.2411, allocations: 319 kB / 0.9174 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2411, allocations: 0 / 0.9174 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00033/0.2415, allocations: 80.25 kB / 0.9175 GB, free: 46.2 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 (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.001919/0.2434, allocations: 1.287 MB / 0.9187 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.245, allocations: 0.8055 MB / 0.9195 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.245, allocations: 0 / 0.9195 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007128/0.2457, allocations: 354.6 kB / 0.9199 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.2461, allocations: 71.48 kB / 0.9199 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005387/0.2515, allocations: 3.814 MB / 0.9237 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.2517, allocations: 0.8181 MB / 0.9245 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004039/0.2521, allocations: 98.25 kB / 0.9246 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.2523, allocations: 99.38 kB / 0.9247 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.2523, allocations: 0 / 0.9247 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.271, allocations: 9.819 MB / 0.9342 GB, free: 29.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/0.2712, allocations: 275.7 kB / 0.9345 GB, free: 28.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.367, allocations: 0 / 0.9345 GB, free: 28.87 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)