Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 1.662/1.662, allocations: 287.4 MB / 302.6 MB, free: 8.312 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.001256/0.001256, allocations: 178.3 kB / 371.1 MB, free: 10.84 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.491/1.491, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0009471/0.0009472, allocations: 92.86 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004031, allocations: 17.05 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2111, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002611/0.2138, allocations: 1.763 MB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002667/0.2165, allocations: 2.238 MB / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.2167, allocations: 0 / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.2181, allocations: 494.3 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.2185, allocations: 91.58 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.2191, allocations: 179.7 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004525/0.2196, allocations: 323.5 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.2197, allocations: 64.73 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.22, allocations: 119.4 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.2202, allocations: 131.3 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.2202, allocations: 4 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.2204, allocations: 51.95 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.2206, allocations: 115.5 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.2207, allocations: 125.4 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.2212, allocations: 0.5416 MB / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2212, allocations: 0 / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2212, allocations: 4 kB / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.2213, allocations: 0 / 0.9848 GB, free: 21.85 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.001201/0.2225, allocations: 0.7906 MB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.2225, allocations: 12.03 kB / 0.9856 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.2226, allocations: 34.75 kB / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.2227, allocations: 64.19 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006582/0.2234, allocations: 439.8 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.2234, allocations: 8 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.2235, allocations: 0 / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.2237, allocations: 104.2 kB / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2237, allocations: 0 / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.2237, allocations: 3.938 kB / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2237, allocations: 0 / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.2239, allocations: 43.97 kB / 0.9863 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008128/0.2247, allocations: 0.5161 MB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.2251, allocations: 98.67 kB / 0.9869 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.004e-05/0.2252, allocations: 36.84 kB / 0.9869 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.2252, allocations: 7.984 kB / 0.9869 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.2254, allocations: 83.38 kB / 0.987 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.2254, allocations: 0 / 0.987 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004052/0.2258, allocations: 188.8 kB / 0.9872 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.2258, allocations: 110.8 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009509/0.2268, allocations: 0.8832 MB / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2268, allocations: 29.7 kB / 0.9882 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.227, allocations: 300.1 kB / 0.9885 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.2271, allocations: 19.81 kB / 0.9885 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.2271, allocations: 0 / 0.9885 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.2272, allocations: 314 kB / 0.9888 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.872e-05/0.2272, allocations: 27.98 kB / 0.9888 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.18e-05/0.2273, allocations: 72.27 kB / 0.9889 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.2275, allocations: 77.62 kB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2275, allocations: 0 / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002318/0.2277, allocations: 164.8 kB / 0.9891 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2277, allocations: 7.938 kB / 0.9891 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2277, allocations: 3.984 kB / 0.9891 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2278, allocations: 4 kB / 0.9891 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/0.2278, allocations: 11.94 kB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2279, allocations: 4 kB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.228, allocations: 7.984 kB / 0.9891 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.228, allocations: 4.031 kB / 0.9891 GB, free: 17.14 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.0003107/0.2283, allocations: 317.6 kB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.2284, allocations: 71.38 kB / 0.9895 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.2285, allocations: 73.98 kB / 0.9896 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2285, allocations: 7.875 kB / 0.9896 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.2285, allocations: 0 / 0.9896 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2286, allocations: 0 / 0.9896 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.2289, allocations: 385.5 kB / 0.99 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2289, allocations: 4 kB / 0.99 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.2289, allocations: 15.92 kB / 0.99 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.229, allocations: 0 / 0.99 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.229, allocations: 4 kB / 0.99 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.229, allocations: 3.938 kB / 0.99 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.229, allocations: 400 / 0.99 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.2293, allocations: 192.2 kB / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.2294, allocations: 140.2 kB / 0.9903 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.2294, allocations: 4 kB / 0.9903 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.2296, allocations: 15.92 kB / 0.9903 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.2296, allocations: 4 kB / 0.9903 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.2297, allocations: 7.984 kB / 0.9903 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000717/0.2304, allocations: 0.6512 MB / 0.991 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2304, allocations: 0 / 0.991 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003026/0.2307, allocations: 60 kB / 0.991 GB, free: 15.11 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.001496/0.2322, allocations: 1.05 MB / 0.9921 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.2324, allocations: 71.91 kB / 0.9921 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2325, allocations: 0 / 0.9921 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.2325, allocations: 31.98 kB / 0.9922 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.2332, allocations: 140.1 kB / 0.9923 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.2379, allocations: 3.692 MB / 0.9959 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.2383, allocations: 0.9785 MB / 0.9968 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.2385, allocations: 38.58 kB / 0.9969 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.2387, allocations: 179.4 kB / 0.9971 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.2387, allocations: 4 kB / 0.9971 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1399/0.3786, allocations: 11.58 MB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002872/0.379, allocations: 260.3 kB / 1.009 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/3.169, allocations: 0 / 1.009 GB, free: 13.3 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)