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.347/1.347, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001079/0.001079, allocations: 190.6 kB / 326.5 MB, free: 2.254 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.823/1.823, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001125/0.001125, allocations: 91.98 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003443, allocations: 12.19 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2222, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002463/0.2247, allocations: 1.743 MB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.227, allocations: 2.106 MB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.2271, allocations: 3.938 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.2281, allocations: 0.5141 MB / 0.9044 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.2284, allocations: 95.72 kB / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.2289, allocations: 177 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.2292, allocations: 291.3 kB / 0.905 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.2294, allocations: 72.7 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.2295, allocations: 119.4 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.2296, allocations: 127.4 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.2296, allocations: 0 / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.2298, allocations: 47.95 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2299, allocations: 115.6 kB / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.23, allocations: 121.4 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.2303, allocations: 0.5341 MB / 0.9061 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2304, allocations: 0 / 0.9061 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2304, allocations: 3.938 kB / 0.9061 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.2304, allocations: 8 kB / 0.9061 GB, free: 57.77 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.0009435/0.2313, allocations: 0.8022 MB / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2314, allocations: 8.031 kB / 0.9069 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.2314, allocations: 30.56 kB / 0.9069 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.083e-05/0.2315, allocations: 67.16 kB / 0.907 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.2319, allocations: 395.6 kB / 0.9073 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2319, allocations: 8 kB / 0.9073 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.232, allocations: 7.938 kB / 0.9074 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.2322, allocations: 104.2 kB / 0.9075 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2322, allocations: 0 / 0.9075 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.2322, allocations: 7.891 kB / 0.9075 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2322, allocations: 3.938 kB / 0.9075 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.2323, allocations: 47.91 kB / 0.9075 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.233, allocations: 0.5084 MB / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.2333, allocations: 106.7 kB / 0.9081 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.2334, allocations: 7.938 kB / 0.9081 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.2335, allocations: 83.5 kB / 0.9082 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.2335, allocations: 0 / 0.9082 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004254/0.234, allocations: 193 kB / 0.9084 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.234, allocations: 106.8 kB / 0.9085 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008155/0.2349, allocations: 0.8795 MB / 0.9093 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.2349, allocations: 25.7 kB / 0.9094 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.2351, allocations: 300.1 kB / 0.9096 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.2351, allocations: 15.75 kB / 0.9097 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.2352, allocations: 0 / 0.9097 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.581e-05/0.2352, allocations: 318 kB / 0.91 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.587e-05/0.2353, allocations: 27.98 kB / 0.91 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-05/0.2354, allocations: 72.27 kB / 0.9101 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.98e-05/0.2355, allocations: 36.05 kB / 0.9101 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2355, allocations: 0 / 0.9101 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002195/0.2357, allocations: 172.7 kB / 0.9103 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2357, allocations: 9.875 kB / 0.9103 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2358, allocations: 4 kB / 0.9103 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2358, allocations: 0 / 0.9103 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.681e-05/0.2359, allocations: 12 kB / 0.9103 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2359, allocations: 3.938 kB / 0.9103 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.236, allocations: 11.89 kB / 0.9103 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.236, allocations: 4 kB / 0.9103 GB, free: 53.16 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.000251/0.2363, allocations: 315.7 kB / 0.9106 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.2363, allocations: 71.2 kB / 0.9107 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.2364, allocations: 73.98 kB / 0.9107 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2364, allocations: 4 kB / 0.9107 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2365, allocations: 0 / 0.9107 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2365, allocations: 3.938 kB / 0.9108 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.2368, allocations: 381.4 kB / 0.9111 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2368, allocations: 192 / 0.9111 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.2368, allocations: 4 kB / 0.9111 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2368, allocations: 7.938 kB / 0.9111 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.2368, allocations: 7.953 kB / 0.9111 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2368, allocations: 0 / 0.9111 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2369, allocations: 4 kB / 0.9111 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.2371, allocations: 196.2 kB / 0.9113 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.2372, allocations: 144.2 kB / 0.9115 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.2373, allocations: 4 kB / 0.9115 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.2374, allocations: 15.94 kB / 0.9115 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.2374, allocations: 7.984 kB / 0.9115 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.2375, allocations: 4 kB / 0.9115 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005943/0.2381, allocations: 0.6551 MB / 0.9121 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2381, allocations: 0 / 0.9121 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002759/0.2384, allocations: 52 kB / 0.9122 GB, free: 51.14 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.001223/0.2396, allocations: 1.051 MB / 0.9132 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.2398, allocations: 75.97 kB / 0.9133 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2398, allocations: 0 / 0.9133 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.2399, allocations: 39.91 kB / 0.9133 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.2404, allocations: 141 kB / 0.9135 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.244, allocations: 3.629 MB / 0.917 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.2444, allocations: 0.994 MB / 0.918 GB, free: 45.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.2446, allocations: 42.27 kB / 0.918 GB, free: 45.22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.2448, allocations: 179.4 kB / 0.9182 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of SimCode: time 7.32e-07/0.2448, allocations: 0 / 0.9182 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.2662, allocations: 11.57 MB / 0.9295 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.2665, allocations: 257.7 kB / 0.9297 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/2.466, allocations: 3.094 kB / 0.9297 GB, free: 33.38 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)