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.CoolingCapacityWaterCooled.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.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",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.515/1.515, allocations: 252 MB / 267.3 MB, free: 10.79 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.001016/0.001016, allocations: 170.7 kB / 327 MB, free: 2.07 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.667/1.667, allocations: 205.4 MB / 0.578 GB, free: 20.08 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.0009334/0.0009336, allocations: 86.36 kB / 0.6826 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 8.844 kB / 0.7971 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1747, allocations: 106.3 MB / 0.9009 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.0026/0.1774, allocations: 2.585 MB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.18, allocations: 2.214 MB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.1802, allocations: 4 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008637/0.1811, allocations: 247 kB / 0.9059 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.1814, allocations: 67.41 kB / 0.9059 GB, free: 58.01 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.001137/0.1825, allocations: 433.9 kB / 0.9063 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005817/0.1831, allocations: 490.6 kB / 0.9068 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1832, allocations: 52.66 kB / 0.9069 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.1835, allocations: 179.4 kB / 0.907 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.1838, allocations: 199.3 kB / 0.9072 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.112e-05/0.1839, allocations: 28 kB / 0.9072 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.1843, allocations: 235.7 kB / 0.9075 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.1844, allocations: 147.6 kB / 0.9076 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.1846, allocations: 224.6 kB / 0.9078 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006715/0.1853, allocations: 0.732 MB / 0.9085 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1853, allocations: 0 / 0.9085 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1853, allocations: 0 / 0.9085 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.1854, allocations: 0 / 0.9085 GB, free: 55.33 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001295/0.1867, allocations: 0.774 MB / 0.9093 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1867, allocations: 8.031 kB / 0.9093 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.14e-05/0.1868, allocations: 42.75 kB / 0.9093 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.1888, allocations: 256.1 kB / 0.9096 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005892/0.1895, allocations: 418 kB / 0.91 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.1896, allocations: 87.89 kB / 0.9101 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/0.1897, allocations: 16.38 kB / 0.9101 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.1909, allocations: 0.5564 MB / 0.9106 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1909, allocations: 0 / 0.9106 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.1909, allocations: 8 kB / 0.9106 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1909, allocations: 0 / 0.9106 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.1928, allocations: 0.8314 MB / 0.9115 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.1949, allocations: 1.277 MB / 0.9127 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005099/0.2001, allocations: 1.084 MB / 0.9138 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009506/0.201, allocations: 428.6 kB / 0.9142 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.2011, allocations: 3.984 kB / 0.9142 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.2023, allocations: 0.569 MB / 0.9147 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=21): time 3.006e-06/0.2023, allocations: 0 / 0.9147 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.002955/0.2052, allocations: 1.256 MB / 0.9159 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.2053, allocations: 59.41 kB / 0.916 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/0.2059, allocations: 0.5213 MB / 0.9165 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.843e-05/0.206, allocations: 33.7 kB / 0.9165 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.2061, allocations: 200.4 kB / 0.9167 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/0.2062, allocations: 59.11 kB / 0.9168 GB, free: 46.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.2062, allocations: 8 kB / 0.9168 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.2063, allocations: 358.8 kB / 0.9171 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.2073, allocations: 0.4887 MB / 0.9176 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.2083, allocations: 0.5242 MB / 0.9181 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.2101, allocations: 0.8067 MB / 0.9189 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2101, allocations: 0 / 0.9189 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002228/0.2124, allocations: 1.139 MB / 0.92 GB, free: 43.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.2124, allocations: 41.69 kB / 0.9201 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2125, allocations: 0 / 0.9201 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2125, allocations: 3.938 kB / 0.9201 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.2131, allocations: 111.8 kB / 0.9202 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.2131, allocations: 0 / 0.9202 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/0.2137, allocations: 83.77 kB / 0.9203 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.2138, allocations: 15.92 kB / 0.9203 GB, free: 43.02 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 (22): * Single equations (assignments): 21 * 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.0002776/0.214, allocations: 222.9 kB / 0.9205 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.559e-05/0.2142, allocations: 39.53 kB / 0.9205 GB, free: 42.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.504e-05/0.2142, allocations: 59.83 kB / 0.9206 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2143, allocations: 4 kB / 0.9206 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2143, allocations: 4 kB / 0.9206 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2143, allocations: 0 / 0.9206 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.2148, allocations: 0.6494 MB / 0.9212 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2148, allocations: 0 / 0.9212 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005916/0.2154, allocations: 99.89 kB / 0.9213 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2154, allocations: 0 / 0.9213 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.2155, allocations: 19.91 kB / 0.9213 GB, free: 41.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2155, allocations: 0 / 0.9213 GB, free: 41.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2155, allocations: 0 / 0.9213 GB, free: 41.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.2174, allocations: 0.8944 MB / 0.9222 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.2177, allocations: 180.6 kB / 0.9224 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-05/0.2178, allocations: 11.92 kB / 0.9224 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005669/0.2183, allocations: 83.92 kB / 0.9225 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.2184, allocations: 19.97 kB / 0.9225 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.2185, allocations: 23.97 kB / 0.9225 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003556/0.2188, allocations: 387.1 kB / 0.9229 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2189, allocations: 0 / 0.9229 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003946/0.2193, allocations: 107.8 kB / 0.923 GB, free: 40.14 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 (21): * Single equations (assignments): 19 * 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.002375/0.2216, allocations: 1.489 MB / 0.9244 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00202/0.2237, allocations: 0.9942 MB / 0.9254 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2237, allocations: 0 / 0.9254 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009432/0.2246, allocations: 451.6 kB / 0.9258 GB, free: 37.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.2252, allocations: 96.83 kB / 0.9259 GB, free: 37.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.2362, allocations: 7.623 MB / 0.9334 GB, free: 29.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.2365, allocations: 0.8503 MB / 0.9342 GB, free: 28.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005586/0.2371, allocations: 134.9 kB / 0.9343 GB, free: 28.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.2374, allocations: 131.4 kB / 0.9345 GB, free: 28.24 MB / 0.6042 GB Notification: Performance of SimCode: time 1.563e-06/0.2374, allocations: 4 kB / 0.9345 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.2597, allocations: 12.4 MB / 0.9466 GB, free: 16.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.2599, allocations: 294.4 kB / 0.9469 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/2.68, allocations: 1.875 kB / 0.9469 GB, free: 15.75 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)