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.652/1.652, allocations: 288.4 MB / 303.3 MB, free: 8.098 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.001026/0.001026, allocations: 181.5 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.388/1.388, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0008442/0.0008442, allocations: 94.34 kB / 0.744 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005326, allocations: 13.28 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1882, allocations: 115.3 MB / 0.9797 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002001/0.1903, allocations: 1.756 MB / 0.9814 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.1925, allocations: 2.253 MB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.1926, allocations: 4 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.1937, allocations: 482.3 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1939, allocations: 91.62 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.1944, allocations: 187.8 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.1948, allocations: 310.5 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1949, allocations: 64.72 kB / 0.9847 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1951, allocations: 119.4 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1952, allocations: 135.3 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.1953, allocations: 8 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.1954, allocations: 47.92 kB / 0.985 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1955, allocations: 119.5 kB / 0.9851 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.859e-05/0.1956, allocations: 125.4 kB / 0.9852 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.196, allocations: 0.5339 MB / 0.9857 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.196, allocations: 0 / 0.9857 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.196, allocations: 4 kB / 0.9857 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.196, allocations: 0 / 0.9857 GB, free: 21.35 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.0009435/0.197, allocations: 0.802 MB / 0.9865 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.197, allocations: 12.03 kB / 0.9865 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.1971, allocations: 42.55 kB / 0.9866 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.1972, allocations: 63.2 kB / 0.9866 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.1976, allocations: 399.6 kB / 0.987 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1976, allocations: 4 kB / 0.987 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1976, allocations: 8 kB / 0.987 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1978, allocations: 92.17 kB / 0.9871 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1978, allocations: 4 kB / 0.9871 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1978, allocations: 4 kB / 0.9871 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1978, allocations: 4 kB / 0.9871 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1979, allocations: 35.97 kB / 0.9871 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.1985, allocations: 0.5123 MB / 0.9876 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.1989, allocations: 106.6 kB / 0.9877 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.724e-05/0.199, allocations: 36.84 kB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.199, allocations: 0 / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.1992, allocations: 87.41 kB / 0.9879 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.1992, allocations: 0 / 0.9879 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000355/0.1995, allocations: 192.7 kB / 0.988 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1996, allocations: 114.8 kB / 0.9882 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007669/0.2004, allocations: 0.8756 MB / 0.989 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.2004, allocations: 29.7 kB / 0.989 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.2006, allocations: 303.9 kB / 0.9893 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.2006, allocations: 19.8 kB / 0.9893 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.2006, allocations: 0 / 0.9893 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.2007, allocations: 310 kB / 0.9896 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.2007, allocations: 31.92 kB / 0.9897 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.972e-05/0.2008, allocations: 80.2 kB / 0.9897 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.193e-05/0.2009, allocations: 27.98 kB / 0.9898 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2009, allocations: 0 / 0.9898 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002198/0.2011, allocations: 160.8 kB / 0.9899 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2012, allocations: 8 kB / 0.9899 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2012, allocations: 0 / 0.9899 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2012, allocations: 7.984 kB / 0.9899 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.2013, allocations: 19.98 kB / 0.99 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2013, allocations: 4 kB / 0.99 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.2014, allocations: 4 kB / 0.99 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.2014, allocations: 4 kB / 0.99 GB, free: 16.71 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.0002346/0.2017, allocations: 320.6 kB / 0.9903 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.2017, allocations: 67.2 kB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.015e-05/0.2018, allocations: 81.97 kB / 0.9904 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2018, allocations: 7.953 kB / 0.9904 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2018, allocations: 0 / 0.9904 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2018, allocations: 0 / 0.9904 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.2021, allocations: 385.4 kB / 0.9908 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2021, allocations: 0 / 0.9908 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.2022, allocations: 11.98 kB / 0.9908 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2022, allocations: 0 / 0.9908 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.2022, allocations: 0 / 0.9908 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2022, allocations: 192 / 0.9908 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2022, allocations: 3.953 kB / 0.9908 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.2024, allocations: 204.6 kB / 0.991 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/0.2025, allocations: 140.3 kB / 0.9911 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.2026, allocations: 0 / 0.9911 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.2027, allocations: 4 kB / 0.9911 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.2027, allocations: 11.98 kB / 0.9912 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.2028, allocations: 7.953 kB / 0.9912 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005924/0.2034, allocations: 0.6512 MB / 0.9918 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2034, allocations: 0 / 0.9918 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002603/0.2036, allocations: 67.98 kB / 0.9919 GB, free: 14.68 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.001131/0.2048, allocations: 1.049 MB / 0.9929 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.205, allocations: 75.88 kB / 0.993 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.205, allocations: 4.062 kB / 0.993 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.2051, allocations: 35.98 kB / 0.993 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.2057, allocations: 138.8 kB / 0.9931 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.2095, allocations: 3.688 MB / 0.9967 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.2099, allocations: 0.9785 MB / 0.9977 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001447/0.21, allocations: 46.58 kB / 0.9977 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.2102, allocations: 179.4 kB / 0.9979 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2102, allocations: 0 / 0.9979 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.2316, allocations: 11.59 MB / 1.009 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.2318, allocations: 268 kB / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/2.589, allocations: 0 / 1.009 GB, free: 12.8 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)