Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001123, allocations: 192.5 kB / 16.25 MB, free: 6.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.157/1.157, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.546/1.546, allocations: 292.3 MB / 0.5486 GB, free: 13.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 78.72 kB / 0.6711 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1832, allocations: 114.5 MB / 0.783 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003109/0.1863, allocations: 2.156 MB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.1888, allocations: 2.431 MB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.323e-05/0.1889, allocations: 4 kB / 0.7875 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.19, allocations: 0.4943 MB / 0.788 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1902, allocations: 103.6 kB / 0.7881 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.1907, allocations: 194.2 kB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.1911, allocations: 390.4 kB / 0.7886 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1912, allocations: 64.72 kB / 0.7887 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1913, allocations: 127.4 kB / 0.7888 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1915, allocations: 147.2 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.1915, allocations: 12 kB / 0.7889 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1916, allocations: 67.89 kB / 0.789 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.1918, allocations: 123.5 kB / 0.7891 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.1919, allocations: 226.5 kB / 0.7893 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.1924, allocations: 0.6656 MB / 0.79 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1924, allocations: 0 / 0.79 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1924, allocations: 0 / 0.79 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.1924, allocations: 0 / 0.79 GB, free: 6.547 MB / 0.6075 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.0009049/0.1933, allocations: 0.8679 MB / 0.7908 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1934, allocations: 19.97 kB / 0.7909 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.1934, allocations: 34.73 kB / 0.7909 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.1935, allocations: 68.09 kB / 0.791 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.1939, allocations: 432 kB / 0.7914 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.194, allocations: 0 / 0.7914 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.194, allocations: 8 kB / 0.7914 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.1943, allocations: 96.17 kB / 0.7915 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1943, allocations: 4 kB / 0.7915 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.1943, allocations: 4 kB / 0.7915 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1943, allocations: 0 / 0.7915 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.1945, allocations: 43.97 kB / 0.7915 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006653/0.1952, allocations: 0.5082 MB / 0.792 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.1956, allocations: 110.6 kB / 0.7921 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.1957, allocations: 28.84 kB / 0.7921 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.1957, allocations: 4 kB / 0.7921 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.1959, allocations: 87.39 kB / 0.7922 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.915e-06/0.1959, allocations: 3.984 kB / 0.7922 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003722/0.1963, allocations: 200.7 kB / 0.7924 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.1963, allocations: 110.8 kB / 0.7925 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008649/0.1972, allocations: 0.8873 MB / 0.7934 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1972, allocations: 25.7 kB / 0.7934 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.1975, allocations: 296.1 kB / 0.7937 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.1975, allocations: 27.64 kB / 0.7937 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.1975, allocations: 25.66 kB / 0.7938 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.1976, allocations: 314 kB / 0.7941 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.1977, allocations: 27.98 kB / 0.7941 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.236e-05/0.1978, allocations: 72.28 kB / 0.7942 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1979, allocations: 73.62 kB / 0.7942 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.198, allocations: 4 kB / 0.7942 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002268/0.1982, allocations: 160.8 kB / 0.7944 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1982, allocations: 4 kB / 0.7944 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1982, allocations: 8.031 kB / 0.7944 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1982, allocations: 0 / 0.7944 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.1983, allocations: 23.86 kB / 0.7944 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1983, allocations: 0 / 0.7944 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.1984, allocations: 15.89 kB / 0.7944 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1985, allocations: 4 kB / 0.7944 GB, free: 1.711 MB / 0.6075 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 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002558/0.1987, allocations: 316.5 kB / 0.7947 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.1988, allocations: 59.25 kB / 0.7948 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.808e-05/0.1989, allocations: 77.98 kB / 0.7949 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1989, allocations: 7.938 kB / 0.7949 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1989, allocations: 0 / 0.7949 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1989, allocations: 4 kB / 0.7949 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.1992, allocations: 385.3 kB / 0.7952 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1992, allocations: 0 / 0.7952 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.861e-05/0.1993, allocations: 7.984 kB / 0.7953 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1993, allocations: 0 / 0.7953 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1993, allocations: 4 kB / 0.7953 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1993, allocations: 3.938 kB / 0.7953 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.1993, allocations: 0 / 0.7953 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.1996, allocations: 196.3 kB / 0.7954 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.315e-05/0.1997, allocations: 128.3 kB / 0.7956 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.1997, allocations: 11.98 kB / 0.7956 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1999, allocations: 4.125 kB / 0.7956 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.1999, allocations: 11.97 kB / 0.7956 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1999, allocations: 11.94 kB / 0.7956 GB, free: 420 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006417/0.2006, allocations: 0.6551 MB / 0.7962 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2006, allocations: 4 kB / 0.7963 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002558/0.2009, allocations: 56 kB / 0.7963 GB, free: 15.7 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001292/0.2021, allocations: 1.053 MB / 0.7973 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.2024, allocations: 71.95 kB / 0.7974 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2024, allocations: 7.875 kB / 0.7974 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.2025, allocations: 39.97 kB / 0.7974 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005625/0.203, allocations: 150.3 kB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00476/0.2078, allocations: 4.903 MB / 0.8024 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.2083, allocations: 0.9782 MB / 0.8033 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.2084, allocations: 42.53 kB / 0.8034 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.2086, allocations: 179.4 kB / 0.8035 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.2086, allocations: 0 / 0.8035 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6386/0.8472, allocations: 12.2 MB / 0.8155 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003099/0.8475, allocations: 264.8 kB / 0.8157 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.805, allocations: 6.062 kB / 0.8157 GB, free: 12.04 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)