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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",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.593/1.593, allocations: 288.4 MB / 303.6 MB, free: 8.184 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.0008719/0.0008719, allocations: 184.5 kB / 372.2 MB, free: 10.1 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.338/1.338, allocations: 205.4 MB / 0.631 GB, free: 9.852 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.0007648/0.0007648, allocations: 98.22 kB / 0.7444 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004621, allocations: 14.25 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1633, 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.SpeedSelect): time 0.001682/0.165, allocations: 1.76 MB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1668, allocations: 2.246 MB / 0.9841 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1669, allocations: 4 kB / 0.9841 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008991/0.1679, allocations: 486.3 kB / 0.9846 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.168, allocations: 95.61 kB / 0.9847 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.1684, allocations: 177.2 kB / 0.9848 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.1687, allocations: 314.4 kB / 0.9851 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1688, allocations: 68.72 kB / 0.9852 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1689, allocations: 123.4 kB / 0.9853 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1691, allocations: 143.2 kB / 0.9855 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1691, allocations: 4 kB / 0.9855 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1692, allocations: 43.98 kB / 0.9855 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.986e-05/0.1693, allocations: 127.5 kB / 0.9856 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.1694, allocations: 224.3 kB / 0.9858 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.1698, allocations: 0.5339 MB / 0.9864 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1698, allocations: 0 / 0.9864 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1698, allocations: 0 / 0.9864 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1698, allocations: 0 / 0.9864 GB, free: 20.88 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.0007373/0.1705, allocations: 0.8023 MB / 0.9872 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1706, allocations: 11.97 kB / 0.9872 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.807e-05/0.1706, allocations: 34.75 kB / 0.9872 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.1707, allocations: 60.19 kB / 0.9873 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.171, allocations: 431.9 kB / 0.9877 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.171, allocations: 7.938 kB / 0.9877 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.171, allocations: 8 kB / 0.9877 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1712, allocations: 96.22 kB / 0.9878 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1712, allocations: 0 / 0.9878 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1713, allocations: 4 kB / 0.9878 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1713, allocations: 4 kB / 0.9878 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.1714, allocations: 39.91 kB / 0.9878 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.1719, allocations: 0.5161 MB / 0.9883 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.1722, allocations: 106.7 kB / 0.9884 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.1723, allocations: 36.83 kB / 0.9885 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1723, allocations: 0 / 0.9885 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.1725, allocations: 87.36 kB / 0.9885 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1725, allocations: 0 / 0.9885 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003195/0.1728, allocations: 184.9 kB / 0.9887 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.1729, allocations: 114.7 kB / 0.9888 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008148/0.1737, allocations: 0.8871 MB / 0.9897 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1737, allocations: 25.7 kB / 0.9897 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.1739, allocations: 300.1 kB / 0.99 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.174, allocations: 11.81 kB / 0.99 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.174, allocations: 0 / 0.99 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.069e-05/0.1741, allocations: 318 kB / 0.9903 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-05/0.1741, allocations: 27.92 kB / 0.9903 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.1742, allocations: 80.27 kB / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1744, allocations: 69.58 kB / 0.9905 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1744, allocations: 4 kB / 0.9905 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002158/0.1746, allocations: 160.8 kB / 0.9906 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1746, allocations: 5.406 kB / 0.9907 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1746, allocations: 8.031 kB / 0.9907 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1746, allocations: 0 / 0.9907 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.488e-05/0.1747, allocations: 23.86 kB / 0.9907 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1747, allocations: 0 / 0.9907 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1749, allocations: 7.984 kB / 0.9907 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1749, allocations: 8 kB / 0.9907 GB, free: 16.17 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.000251/0.1752, allocations: 320.8 kB / 0.991 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.1752, allocations: 67.16 kB / 0.9911 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.1753, allocations: 77.98 kB / 0.9911 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1753, allocations: 3.938 kB / 0.9911 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1753, allocations: 4 kB / 0.9911 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1754, allocations: 0 / 0.9911 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.1757, allocations: 377.5 kB / 0.9915 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1757, allocations: 0 / 0.9915 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.1757, allocations: 7.984 kB / 0.9915 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1757, allocations: 0 / 0.9915 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1758, allocations: 4 kB / 0.9915 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1758, allocations: 7.875 kB / 0.9915 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1758, allocations: 0 / 0.9915 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.176, allocations: 196.6 kB / 0.9917 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.1761, allocations: 136.2 kB / 0.9918 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.1761, allocations: 8 kB / 0.9919 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1762, allocations: 7.938 kB / 0.9919 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1763, allocations: 7.984 kB / 0.9919 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1763, allocations: 7.984 kB / 0.9919 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005145/0.1768, allocations: 0.6473 MB / 0.9925 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1768, allocations: 4 kB / 0.9925 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002344/0.1771, allocations: 59.98 kB / 0.9926 GB, free: 14.15 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.001168/0.1782, allocations: 1.055 MB / 0.9936 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.1785, allocations: 71.91 kB / 0.9937 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1785, allocations: 4 kB / 0.9937 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.486e-05/0.1786, allocations: 31.98 kB / 0.9937 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.1792, allocations: 146.8 kB / 0.9938 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.1829, allocations: 3.684 MB / 0.9974 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1832, allocations: 0.9784 MB / 0.9984 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.1833, allocations: 42.59 kB / 0.9984 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.1835, allocations: 175.4 kB / 0.9986 GB, free: 8 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1835, allocations: 0 / 0.9986 GB, free: 8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6079/0.7915, allocations: 11.7 MB / 1.01 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/0.7917, allocations: 259.8 kB / 1.01 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/3.256, allocations: 0 / 1.01 GB, free: 12.18 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)