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.705/1.705, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.001166/0.001167, allocations: 177 kB / 371.8 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.55/1.55, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0008121/0.0008123, allocations: 105.6 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003743, allocations: 17.55 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2048, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002369/0.2073, allocations: 1.725 MB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004136/0.2114, allocations: 2.114 MB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.2116, allocations: 0 / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.2136, allocations: 0.5218 MB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.2139, allocations: 91.78 kB / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.2149, allocations: 187.5 kB / 0.984 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.2154, allocations: 283.4 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.2157, allocations: 68.72 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.2159, allocations: 119.4 kB / 0.9845 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.2161, allocations: 131.4 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.2162, allocations: 4 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.2164, allocations: 39.95 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.2165, allocations: 127.5 kB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.2167, allocations: 125.4 kB / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006234/0.2173, allocations: 0.5341 MB / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2173, allocations: 3.938 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2173, allocations: 0 / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.2174, allocations: 0 / 0.9854 GB, free: 21.52 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.001402/0.2188, allocations: 0.8021 MB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2188, allocations: 8.031 kB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.2189, allocations: 38.56 kB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.219, allocations: 67.2 kB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.2197, allocations: 395.6 kB / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.2197, allocations: 7.984 kB / 0.9867 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.2197, allocations: 4 kB / 0.9867 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.22, allocations: 104.1 kB / 0.9868 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2201, allocations: 0 / 0.9868 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.2201, allocations: 0 / 0.9868 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2201, allocations: 8 kB / 0.9868 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.2203, allocations: 43.91 kB / 0.9868 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008877/0.2212, allocations: 0.5123 MB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.2217, allocations: 102.7 kB / 0.9874 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.2218, allocations: 4 kB / 0.9874 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.222, allocations: 87.48 kB / 0.9875 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.222, allocations: 0 / 0.9875 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005148/0.2226, allocations: 188.8 kB / 0.9877 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.2226, allocations: 110.8 kB / 0.9878 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.2239, allocations: 0.8794 MB / 0.9887 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.2239, allocations: 29.7 kB / 0.9887 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.2243, allocations: 308 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.2243, allocations: 11.81 kB / 0.989 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.2243, allocations: 4 kB / 0.989 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.063e-05/0.2244, allocations: 310 kB / 0.9893 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.2245, allocations: 27.98 kB / 0.9893 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.2246, allocations: 68.28 kB / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.2247, allocations: 39.92 kB / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2247, allocations: 0 / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003472/0.2251, allocations: 173 kB / 0.9896 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2251, allocations: 8 kB / 0.9896 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2252, allocations: 0 / 0.9896 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.2252, allocations: 3.953 kB / 0.9896 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.2253, allocations: 12 kB / 0.9896 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.2253, allocations: 0 / 0.9896 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.2255, allocations: 15.95 kB / 0.9896 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.2256, allocations: 15.94 kB / 0.9896 GB, free: 16.91 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.0003778/0.2259, allocations: 309.9 kB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.323e-05/0.226, allocations: 67.16 kB / 0.99 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.2262, allocations: 81.92 kB / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2262, allocations: 0 / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2262, allocations: 3.953 kB / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2263, allocations: 0 / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.2267, allocations: 381.4 kB / 0.9904 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2267, allocations: 4 kB / 0.9904 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.004e-05/0.2268, allocations: 8 kB / 0.9905 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2268, allocations: 0 / 0.9905 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.2268, allocations: 0 / 0.9905 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2268, allocations: 0 / 0.9905 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2269, allocations: 0 / 0.9905 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.2272, allocations: 200.1 kB / 0.9906 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.2274, allocations: 136.3 kB / 0.9908 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.2275, allocations: 8 kB / 0.9908 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.2277, allocations: 7.984 kB / 0.9908 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.2278, allocations: 7.984 kB / 0.9908 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.2278, allocations: 8.047 kB / 0.9908 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009408/0.2287, allocations: 0.6512 MB / 0.9914 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2288, allocations: 0 / 0.9914 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004156/0.2292, allocations: 56 kB / 0.9915 GB, free: 14.9 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.001645/0.2308, allocations: 1.069 MB / 0.9925 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.2312, allocations: 63.97 kB / 0.9926 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2312, allocations: 0 / 0.9926 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.2313, allocations: 35.92 kB / 0.9926 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007249/0.232, allocations: 146.2 kB / 0.9928 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.2361, allocations: 3.636 MB / 0.9963 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.2365, allocations: 0.9979 MB / 0.9973 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.2366, allocations: 46.58 kB / 0.9973 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.2368, allocations: 179.4 kB / 0.9975 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of SimCode: time 8.41e-07/0.2368, allocations: 0 / 0.9975 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.2579, allocations: 11.57 MB / 1.009 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.2582, allocations: 259.1 kB / 1.009 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/2.459, allocations: 4 kB / 1.009 GB, free: 13.09 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)