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.CoolingCapacityWaterCooled.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.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.547/1.547, allocations: 288.4 MB / 303.6 MB, free: 8.133 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.0008737/0.0008735, allocations: 179.2 kB / 372.3 MB, free: 10.12 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.245/1.245, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0007167/0.0007167, allocations: 98.3 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003834, allocations: 13.41 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1821, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002293/0.1844, allocations: 2.463 MB / 0.9826 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1866, allocations: 2.079 MB / 0.9846 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.1869, allocations: 0 / 0.9846 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007324/0.1877, allocations: 222.9 kB / 0.9849 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.1879, allocations: 71.41 kB / 0.9849 GB, free: 22.37 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.001018/0.1889, allocations: 435.8 kB / 0.9853 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.1894, allocations: 446.6 kB / 0.9858 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1895, allocations: 56.95 kB / 0.9858 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1897, allocations: 183.5 kB / 0.986 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1899, allocations: 183.4 kB / 0.9862 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.851e-05/0.19, allocations: 24 kB / 0.9862 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.1904, allocations: 223.7 kB / 0.9864 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.1905, allocations: 143.6 kB / 0.9865 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.1907, allocations: 224.8 kB / 0.9868 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004854/0.1912, allocations: 0.5728 MB / 0.9873 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1912, allocations: 0 / 0.9873 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.963e-06/0.1912, allocations: 0 / 0.9873 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.1913, allocations: 3.938 kB / 0.9873 GB, free: 19.91 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001161/0.1924, allocations: 0.7711 MB / 0.9881 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1925, allocations: 8.031 kB / 0.9881 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/0.1925, allocations: 50.73 kB / 0.9881 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.1944, allocations: 240.2 kB / 0.9884 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.1949, allocations: 425.9 kB / 0.9888 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.195, allocations: 91.62 kB / 0.9888 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.1951, allocations: 16 kB / 0.9889 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1962, allocations: 0.5529 MB / 0.9894 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1962, allocations: 4 kB / 0.9894 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.1963, allocations: 0 / 0.9894 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1963, allocations: 4 kB / 0.9894 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.1981, allocations: 0.8314 MB / 0.9902 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.2, allocations: 1.288 MB / 0.9915 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004597/0.2046, allocations: 1.092 MB / 0.9925 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009253/0.2056, allocations: 424.6 kB / 0.993 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.2056, allocations: 4 kB / 0.993 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/0.2067, allocations: 0.5613 MB / 0.9935 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 3.166e-06/0.2067, allocations: 0 / 0.9935 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.002867/0.2096, allocations: 1.257 MB / 0.9947 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2096, allocations: 59.41 kB / 0.9948 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.2101, allocations: 0.5174 MB / 0.9953 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/0.2102, allocations: 33.7 kB / 0.9953 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.2103, allocations: 200.5 kB / 0.9955 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.2104, allocations: 67 kB / 0.9956 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.2104, allocations: 4 kB / 0.9956 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/0.2105, allocations: 354.8 kB / 0.9959 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009279/0.2115, allocations: 0.4887 MB / 0.9964 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009591/0.2124, allocations: 0.5247 MB / 0.9969 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.2141, allocations: 0.8103 MB / 0.9977 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2141, allocations: 4 kB / 0.9977 GB, free: 9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002098/0.2162, allocations: 1.131 MB / 0.9988 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.2163, allocations: 47.03 kB / 0.9989 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2163, allocations: 3.984 kB / 0.9989 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2163, allocations: 0 / 0.9989 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/0.2169, allocations: 107.8 kB / 0.999 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2169, allocations: 7.938 kB / 0.999 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.2174, allocations: 75.78 kB / 0.999 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/0.2175, allocations: 19.97 kB / 0.9991 GB, free: 7.594 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 (22): * Single equations (assignments): 21 * 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.00027/0.2177, allocations: 213.7 kB / 0.9993 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.2178, allocations: 51.38 kB / 0.9993 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.88e-05/0.2179, allocations: 47.92 kB / 0.9994 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2179, allocations: 7.938 kB / 0.9994 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.2179, allocations: 3.984 kB / 0.9994 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2179, allocations: 4 kB / 0.9994 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.2184, allocations: 0.6417 MB / 1 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2184, allocations: 4 kB / 1 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/0.219, allocations: 99.83 kB / 1 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.219, allocations: 7.938 kB / 1 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.219, allocations: 11.98 kB / 1 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.219, allocations: 4 kB / 1 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.219, allocations: 0 / 1 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.2208, allocations: 0.8935 MB / 1.001 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.221, allocations: 192.4 kB / 1.001 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.2211, allocations: 7.984 kB / 1.001 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.2216, allocations: 79.92 kB / 1.001 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.2217, allocations: 27.95 kB / 1.001 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.2218, allocations: 11.98 kB / 1.001 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003311/0.2221, allocations: 383.1 kB / 1.002 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2221, allocations: 0 / 1.002 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003682/0.2225, allocations: 100 kB / 1.002 GB, free: 4.734 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 (21): * Single equations (assignments): 19 * 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.002305/0.2248, allocations: 1.491 MB / 1.003 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.2267, allocations: 0.9942 MB / 1.004 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2268, allocations: 0 / 1.004 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008948/0.2277, allocations: 455.6 kB / 1.005 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.2282, allocations: 90.5 kB / 1.005 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007891/0.2361, allocations: 4.719 MB / 1.009 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.2366, allocations: 0.8541 MB / 1.01 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005722/0.2372, allocations: 134.9 kB / 1.01 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.2375, allocations: 135.4 kB / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.2375, allocations: 0 / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9913/1.229, allocations: 12.18 MB / 1.022 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002539/1.229, allocations: 270.4 kB / 1.023 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/3.532, allocations: 0 / 1.023 GB, free: 15.53 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)