Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.259/1.259, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008725/0.0008725, allocations: 171.5 kB / 325.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007328/0.0007328, allocations: 86.23 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 18.72 kB / 0.7933 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1734, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.001912/0.1753, allocations: 1.833 MB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.1774, allocations: 2.442 MB / 0.9004 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1776, allocations: 7.938 kB / 0.9004 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000949/0.1785, allocations: 0.4942 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.1787, allocations: 99.56 kB / 0.901 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.1792, allocations: 191.8 kB / 0.9012 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.1794, allocations: 338.4 kB / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1796, allocations: 68.72 kB / 0.9016 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.1797, allocations: 107.4 kB / 0.9017 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1798, allocations: 143.2 kB / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.1798, allocations: 4 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.1799, allocations: 51.97 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.18, allocations: 119.5 kB / 0.902 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1802, allocations: 226.3 kB / 0.9022 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.1805, allocations: 0.646 MB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1805, allocations: 4 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1805, allocations: 0 / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1805, allocations: 0 / 0.9028 GB, free: 61.27 MB / 0.6042 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.0007209/0.1813, allocations: 0.7867 MB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1813, allocations: 12.03 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.1813, allocations: 38.73 kB / 0.9036 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.1814, allocations: 72.09 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.1817, allocations: 436 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1818, allocations: 384 / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1818, allocations: 7.938 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1819, allocations: 96.23 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.182, allocations: 0 / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.182, allocations: 0 / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.182, allocations: 7.922 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1821, allocations: 43.98 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.1826, allocations: 0.5161 MB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.1829, allocations: 102.7 kB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.147e-05/0.183, allocations: 40.84 kB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.183, allocations: 0 / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.1832, allocations: 83.38 kB / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.1832, allocations: 0 / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003031/0.1835, allocations: 192.7 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.1835, allocations: 114.8 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/0.1842, allocations: 0.8833 MB / 0.9061 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.1842, allocations: 33.7 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1844, allocations: 296.1 kB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.1844, allocations: 23.7 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.1845, allocations: 13.72 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.539e-05/0.1845, allocations: 310 kB / 0.9068 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.1846, allocations: 27.98 kB / 0.9068 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.1846, allocations: 76.27 kB / 0.9069 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.1848, allocations: 73.62 kB / 0.907 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1848, allocations: 0 / 0.907 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001888/0.185, allocations: 164.8 kB / 0.9071 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.185, allocations: 4 kB / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.185, allocations: 4 kB / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.185, allocations: 4.188 kB / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.1851, allocations: 15.98 kB / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1851, allocations: 7.969 kB / 0.9071 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.1852, allocations: 19.78 kB / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.1852, allocations: 4 kB / 0.9072 GB, free: 56.52 MB / 0.6042 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.0001922/0.1854, allocations: 313.7 kB / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.1855, allocations: 63.16 kB / 0.9075 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.1856, allocations: 74 kB / 0.9076 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1856, allocations: 0 / 0.9076 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1856, allocations: 3.984 kB / 0.9076 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1856, allocations: 7.938 kB / 0.9076 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.1858, allocations: 381.5 kB / 0.908 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1858, allocations: 0 / 0.908 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.1859, allocations: 7.938 kB / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1859, allocations: 0 / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1859, allocations: 7.984 kB / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1859, allocations: 0 / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1859, allocations: 0 / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.1861, allocations: 200.2 kB / 0.9082 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.1862, allocations: 132.3 kB / 0.9083 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.1862, allocations: 8 kB / 0.9083 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1863, allocations: 7.984 kB / 0.9083 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.1864, allocations: 7.922 kB / 0.9083 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1864, allocations: 8 kB / 0.9083 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006064/0.187, allocations: 0.6551 MB / 0.909 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.2e-07/0.1871, allocations: 0 / 0.909 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003257/0.1874, allocations: 60 kB / 0.909 GB, free: 54.51 MB / 0.6042 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.001347/0.1887, allocations: 1.052 MB / 0.9101 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.189, allocations: 71.91 kB / 0.9101 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.189, allocations: 0 / 0.9101 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/0.1891, allocations: 35.98 kB / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.1897, allocations: 156.6 kB / 0.9103 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.1945, allocations: 4.895 MB / 0.9151 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.1949, allocations: 0.9785 MB / 0.916 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001601/0.195, allocations: 30.61 kB / 0.9161 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.1952, allocations: 179.4 kB / 0.9162 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.1952, allocations: 4 kB / 0.9163 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2874/0.4826, allocations: 11.74 MB / 0.9277 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.4829, allocations: 284.4 kB / 0.928 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/2.964, allocations: 5.422 kB / 0.928 GB, free: 35.24 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)