Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.7/1.7, allocations: 287.5 MB / 302.6 MB, free: 8.199 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.001121/0.001121, allocations: 180.4 kB / 371.2 MB, free: 10.74 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.43/1.43, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007961/0.0007962, allocations: 88.5 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003939, allocations: 14.27 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1868, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002217/0.1891, allocations: 1.98 MB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00229/0.1914, allocations: 1.732 MB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.1916, allocations: 0 / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007021/0.1924, allocations: 199 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.1925, allocations: 51.55 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.001108/0.1937, allocations: 377.6 kB / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.1941, allocations: 342.8 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1943, allocations: 48.31 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.1945, allocations: 135.6 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.1947, allocations: 139.5 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.103e-05/0.1948, allocations: 20 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.1951, allocations: 223.6 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1952, allocations: 107.7 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.743e-05/0.1953, allocations: 81.58 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.1958, allocations: 463.1 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1958, allocations: 0 / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1958, allocations: 0 / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.1958, allocations: 0 / 0.9844 GB, free: 22.29 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00103/0.1968, allocations: 0.6557 MB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1969, allocations: 8.031 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.1985, allocations: 168.4 kB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.1989, allocations: 374.2 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-05/0.199, allocations: 71.95 kB / 0.9856 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.1991, allocations: 7.938 kB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009212/0.2, allocations: 463.4 kB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2, allocations: 0 / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.2001, allocations: 4 kB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2001, allocations: 4 kB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.2015, allocations: 0.6284 MB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.2032, allocations: 1.047 MB / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004575/0.2078, allocations: 0.9169 MB / 0.9886 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006995/0.2085, allocations: 332.6 kB / 0.9889 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.2086, allocations: 0 / 0.9889 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008997/0.2095, allocations: 469.2 kB / 0.9894 GB, free: 17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.615e-06/0.2095, allocations: 0 / 0.9894 GB, free: 17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.002241/0.2118, allocations: 0.9695 MB / 0.9903 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.2118, allocations: 59.41 kB / 0.9904 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.2122, allocations: 433.6 kB / 0.9908 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.2123, allocations: 33.7 kB / 0.9908 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.2124, allocations: 179.9 kB / 0.991 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.2125, allocations: 47.3 kB / 0.9911 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.2125, allocations: 7.938 kB / 0.9911 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.2126, allocations: 346.8 kB / 0.9914 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007955/0.2134, allocations: 404.6 kB / 0.9918 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007774/0.2142, allocations: 387.7 kB / 0.9922 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.2155, allocations: 0.6411 MB / 0.9928 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2155, allocations: 4 kB / 0.9928 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001745/0.2173, allocations: 0.9475 MB / 0.9937 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.2174, allocations: 37.69 kB / 0.9937 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2174, allocations: 0 / 0.9937 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.2174, allocations: 4 kB / 0.9937 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.2179, allocations: 75.92 kB / 0.9938 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2179, allocations: 3.938 kB / 0.9938 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.2183, allocations: 63.78 kB / 0.9939 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.2184, allocations: 11.98 kB / 0.9939 GB, free: 12.31 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 (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.0002323/0.2186, allocations: 193.7 kB / 0.9941 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.2187, allocations: 31.62 kB / 0.9941 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.812e-05/0.2188, allocations: 39.47 kB / 0.9941 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.2188, allocations: 4 kB / 0.9942 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2188, allocations: 3.938 kB / 0.9942 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2188, allocations: 0 / 0.9942 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.2192, allocations: 0.5475 MB / 0.9947 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2193, allocations: 4 kB / 0.9947 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/0.2197, allocations: 71.92 kB / 0.9948 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2197, allocations: 0 / 0.9948 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.2197, allocations: 15.98 kB / 0.9948 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2197, allocations: 3.938 kB / 0.9948 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2198, allocations: 7.875 kB / 0.9948 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.2212, allocations: 0.6922 MB / 0.9955 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.2214, allocations: 176.5 kB / 0.9956 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.2215, allocations: 0 / 0.9956 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.2219, allocations: 67.94 kB / 0.9957 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.222, allocations: 23.91 kB / 0.9957 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.2221, allocations: 7.984 kB / 0.9957 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003266/0.2224, allocations: 323.1 kB / 0.996 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2224, allocations: 0 / 0.996 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003488/0.2228, allocations: 84.23 kB / 0.9961 GB, free: 9.93 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 (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.0003709/0.2231, allocations: 158.3 kB / 0.9963 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.2248, allocations: 0.7958 MB / 0.997 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2248, allocations: 0 / 0.997 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007327/0.2255, allocations: 347.7 kB / 0.9974 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.226, allocations: 69.45 kB / 0.9974 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.2275, allocations: 0.8798 MB / 0.9983 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.2278, allocations: 0.8107 MB / 0.9991 GB, free: 6.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004317/0.2282, allocations: 102.2 kB / 0.9992 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.2284, allocations: 35.36 kB / 0.9992 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.2284, allocations: 0 / 0.9992 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of Templates: time 0.01005/0.2384, allocations: 6.501 MB / 1.006 GB, free: 280 kB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)