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.SpeedSelect.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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 288.4 MB / 303.4 MB, free: 8.047 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.001046/0.001046, allocations: 171.3 kB / 372 MB, free: 10.29 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.491/1.491, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007906/0.0007908, allocations: 98.23 kB / 0.7441 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.0004939, allocations: 12.56 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1831, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002077/0.1853, allocations: 1.752 MB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1873, allocations: 2.25 MB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1875, allocations: 3.938 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009493/0.1884, allocations: 486.3 kB / 0.984 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.1886, allocations: 91.62 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.1891, allocations: 188.1 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.1893, allocations: 306.5 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1895, allocations: 60.72 kB / 0.9846 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1896, allocations: 127.4 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1897, allocations: 135.3 kB / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1897, allocations: 0 / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1899, allocations: 47.97 kB / 0.9849 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.19, allocations: 127.5 kB / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.1901, allocations: 125.4 kB / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.1904, allocations: 0.5416 MB / 0.9857 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1904, allocations: 0 / 0.9857 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1904, allocations: 0 / 0.9857 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.1904, allocations: 0 / 0.9857 GB, free: 21.43 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008327/0.1913, allocations: 0.7982 MB / 0.9864 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.1913, allocations: 16.02 kB / 0.9865 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.1914, allocations: 67.14 kB / 0.9865 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.1917, allocations: 403.5 kB / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1918, allocations: 4 kB / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1918, allocations: 8 kB / 0.9869 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.192, allocations: 88.23 kB / 0.987 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.192, allocations: 3.938 kB / 0.987 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.192, allocations: 4 kB / 0.987 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.192, allocations: 4 kB / 0.987 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1921, allocations: 35.97 kB / 0.987 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.1927, allocations: 0.5201 MB / 0.9876 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.1931, allocations: 106.7 kB / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.574e-05/0.1932, allocations: 32.84 kB / 0.9877 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.1932, allocations: 4 kB / 0.9877 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.1934, allocations: 87.31 kB / 0.9878 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.1934, allocations: 0 / 0.9878 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000398/0.1938, allocations: 196.7 kB / 0.988 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.1939, allocations: 102.8 kB / 0.9881 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/0.1948, allocations: 0.8795 MB / 0.9889 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1948, allocations: 25.7 kB / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.195, allocations: 308 kB / 0.9892 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.1951, allocations: 23.72 kB / 0.9893 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-06/0.1951, allocations: 0 / 0.9893 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.1952, allocations: 314 kB / 0.9896 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.146e-05/0.1952, allocations: 23.98 kB / 0.9896 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.132e-05/0.1953, allocations: 76.27 kB / 0.9897 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.725e-05/0.1954, allocations: 35.92 kB / 0.9897 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1954, allocations: 0 / 0.9897 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002187/0.1957, allocations: 160.8 kB / 0.9898 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1957, allocations: 8 kB / 0.9899 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1957, allocations: 0 / 0.9899 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1957, allocations: 3.953 kB / 0.9899 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.1958, allocations: 23.92 kB / 0.9899 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1958, allocations: 400 / 0.9899 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.1959, allocations: 8.031 kB / 0.9899 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1959, allocations: 8 kB / 0.9899 GB, free: 16.83 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,sta.y,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0002521/0.1962, allocations: 317.5 kB / 0.9902 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.1963, allocations: 67.16 kB / 0.9903 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.31e-05/0.1964, allocations: 73.98 kB / 0.9903 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1964, allocations: 4 kB / 0.9903 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1964, allocations: 3.953 kB / 0.9903 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1964, allocations: 0 / 0.9903 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.1967, allocations: 381.4 kB / 0.9907 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1967, allocations: 4 kB / 0.9907 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.75e-05/0.1967, allocations: 15.92 kB / 0.9907 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1967, allocations: 0 / 0.9907 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1968, allocations: 0 / 0.9907 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1968, allocations: 0 / 0.9907 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1968, allocations: 0 / 0.9907 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.197, allocations: 204.2 kB / 0.9909 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.1971, allocations: 136.5 kB / 0.991 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.1971, allocations: 4 kB / 0.991 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.1973, allocations: 11.94 kB / 0.9911 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.1973, allocations: 7.984 kB / 0.9911 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1974, allocations: 4 kB / 0.9911 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005965/0.198, allocations: 0.6551 MB / 0.9917 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.198, allocations: 0 / 0.9917 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002597/0.1982, allocations: 55.98 kB / 0.9918 GB, free: 14.82 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.001054/0.1993, allocations: 425.2 kB / 0.9922 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1995, allocations: 75.94 kB / 0.9922 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1995, allocations: 3.938 kB / 0.9922 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/0.1996, allocations: 39.92 kB / 0.9923 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.2002, allocations: 134.9 kB / 0.9924 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2014, allocations: 1.169 MB / 0.9936 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.2018, allocations: 0.9823 MB / 0.9945 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.2019, allocations: 42.58 kB / 0.9946 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.2019, allocations: 19.44 kB / 0.9946 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.202, allocations: 0 / 0.9946 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of Templates: time 0.007875/0.2098, allocations: 5.284 MB / 0.9997 GB, free: 6.828 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)