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.402/1.402, allocations: 252 MB / 267 MB, free: 10.97 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.001116/0.001116, allocations: 178.3 kB / 326.6 MB, free: 2.234 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.595/1.595, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.0007888/0.0007888, allocations: 95.38 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003769, allocations: 13.69 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2065, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.00233/0.2088, allocations: 1.774 MB / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002424/0.2113, allocations: 2.246 MB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.2115, allocations: 7.938 kB / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.2128, allocations: 490.3 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.213, allocations: 91.62 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.2136, allocations: 180.1 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004/0.2141, allocations: 306.5 kB / 0.9053 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.2142, allocations: 64.72 kB / 0.9053 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.2144, allocations: 127.4 kB / 0.9055 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.2146, allocations: 127.4 kB / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.2147, allocations: 4 kB / 0.9056 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.2148, allocations: 47.97 kB / 0.9056 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.215, allocations: 123.5 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/0.2151, allocations: 121.4 kB / 0.9059 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.2155, allocations: 0.5339 MB / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2155, allocations: 3.938 kB / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2155, allocations: 4 kB / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.2156, allocations: 0 / 0.9064 GB, free: 57.57 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.001142/0.2167, allocations: 0.8061 MB / 0.9072 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2168, allocations: 8.031 kB / 0.9072 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.2168, allocations: 34.5 kB / 0.9072 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.719e-05/0.2169, allocations: 67.16 kB / 0.9073 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.2174, allocations: 395.6 kB / 0.9077 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2174, allocations: 8 kB / 0.9077 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.2174, allocations: 7.938 kB / 0.9077 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.2177, allocations: 104.2 kB / 0.9078 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.2177, allocations: 0 / 0.9078 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.2177, allocations: 7.891 kB / 0.9078 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2177, allocations: 0 / 0.9078 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.2178, allocations: 43.97 kB / 0.9078 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007166/0.2186, allocations: 0.5161 MB / 0.9083 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.2189, allocations: 94.66 kB / 0.9084 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.176e-05/0.219, allocations: 40.78 kB / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.219, allocations: 4 kB / 0.9085 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.2192, allocations: 87.41 kB / 0.9085 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.2192, allocations: 0 / 0.9085 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003758/0.2196, allocations: 196.8 kB / 0.9087 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.2197, allocations: 102.8 kB / 0.9088 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008769/0.2205, allocations: 0.8795 MB / 0.9097 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2206, allocations: 25.7 kB / 0.9097 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.2208, allocations: 296.1 kB / 0.91 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.2208, allocations: 23.75 kB / 0.91 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.2208, allocations: 0 / 0.91 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.019e-05/0.2209, allocations: 318 kB / 0.9103 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.221, allocations: 23.98 kB / 0.9103 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.2211, allocations: 76.2 kB / 0.9104 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.854e-05/0.2211, allocations: 36 kB / 0.9105 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2211, allocations: 4 kB / 0.9105 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002387/0.2214, allocations: 169 kB / 0.9106 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2214, allocations: 4 kB / 0.9106 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2214, allocations: 0 / 0.9106 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2215, allocations: 4 kB / 0.9106 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.2215, allocations: 12 kB / 0.9106 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.2216, allocations: 4.25 kB / 0.9106 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.2217, allocations: 11.89 kB / 0.9107 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.2217, allocations: 8.016 kB / 0.9107 GB, free: 52.92 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 ($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.0002645/0.222, allocations: 320.7 kB / 0.911 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.222, allocations: 67.2 kB / 0.911 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/0.2221, allocations: 73.98 kB / 0.9111 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2221, allocations: 3.938 kB / 0.9111 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2222, allocations: 3.938 kB / 0.9111 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2222, allocations: 4 kB / 0.9111 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.2225, allocations: 389.4 kB / 0.9115 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2225, allocations: 0 / 0.9115 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.2226, allocations: 4 kB / 0.9115 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.2226, allocations: 4 kB / 0.9115 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2226, allocations: 7.953 kB / 0.9115 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.2226, allocations: 0 / 0.9115 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2226, allocations: 0 / 0.9115 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.2229, allocations: 184.2 kB / 0.9117 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.693e-05/0.223, allocations: 140.2 kB / 0.9118 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.223, allocations: 8 kB / 0.9118 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2232, allocations: 19.94 kB / 0.9118 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.2232, allocations: 7.984 kB / 0.9118 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.2233, allocations: 0 / 0.9118 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006837/0.2239, allocations: 0.659 MB / 0.9125 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.224, allocations: 0 / 0.9125 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002844/0.2242, allocations: 55.94 kB / 0.9125 GB, free: 50.9 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 (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.001352/0.2256, allocations: 1.046 MB / 0.9136 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.2258, allocations: 75.89 kB / 0.9136 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2258, allocations: 0 / 0.9136 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.283e-05/0.2259, allocations: 39.97 kB / 0.9137 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006299/0.2266, allocations: 138.8 kB / 0.9138 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/0.2312, allocations: 3.688 MB / 0.9174 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.2317, allocations: 0.9746 MB / 0.9184 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002065/0.2319, allocations: 46.56 kB / 0.9184 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.2321, allocations: 167.4 kB / 0.9186 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of SimCode: time 1.503e-06/0.2321, allocations: 0 / 0.9186 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.2545, allocations: 11.61 MB / 0.9299 GB, free: 33.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.2547, allocations: 256.4 kB / 0.9301 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/2.404, allocations: 4 kB / 0.9301 GB, free: 33.05 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)