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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.851/2.851, allocations: 287.3 MB / 302.3 MB, free: 8.223 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.002287/0.002287, allocations: 184.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001094/0.001093, allocations: 93.05 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004865, allocations: 13.38 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2166, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.00273/0.2194, allocations: 1.736 MB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003482/0.2229, allocations: 2.102 MB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.2232, allocations: 7.938 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.2251, allocations: 0.518 MB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.2256, allocations: 91.72 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008042/0.2264, allocations: 183.6 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005883/0.227, allocations: 292 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.2272, allocations: 64.72 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.2273, allocations: 115.5 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.2276, allocations: 127.4 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.2276, allocations: 4 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.2279, allocations: 47.89 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.228, allocations: 119.6 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2282, allocations: 125.4 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006299/0.2288, allocations: 0.538 MB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2288, allocations: 4 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2288, allocations: 0 / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.2288, allocations: 0 / 0.9841 GB, free: 22.3 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.00133/0.2302, allocations: 0.806 MB / 0.9849 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2302, allocations: 8.031 kB / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.2304, allocations: 63.2 kB / 0.985 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.231, allocations: 403.5 kB / 0.9854 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.231, allocations: 0 / 0.9854 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.2311, allocations: 12 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.2314, allocations: 100.1 kB / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2314, allocations: 0 / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.2314, allocations: 8 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2314, allocations: 0 / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.2316, allocations: 43.86 kB / 0.9855 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009035/0.2325, allocations: 0.5123 MB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.2331, allocations: 98.66 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.2332, allocations: 0 / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.2334, allocations: 91.56 kB / 0.9862 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.2334, allocations: 7.938 kB / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005686/0.234, allocations: 184.8 kB / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.2341, allocations: 106.8 kB / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.2355, allocations: 0.8833 MB / 0.9873 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.2356, allocations: 33.7 kB / 0.9874 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.2359, allocations: 300 kB / 0.9877 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.236, allocations: 15.81 kB / 0.9877 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.236, allocations: 0 / 0.9877 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.2361, allocations: 314 kB / 0.988 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.2362, allocations: 27.98 kB / 0.988 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.2364, allocations: 76.22 kB / 0.9881 GB, free: 18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.2365, allocations: 27.98 kB / 0.9881 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2365, allocations: 0 / 0.9881 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004028/0.237, allocations: 172.8 kB / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.237, allocations: 4 kB / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.237, allocations: 0 / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.237, allocations: 11.88 kB / 0.9883 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.2372, allocations: 12 kB / 0.9883 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.2372, allocations: 0 / 0.9883 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.2374, allocations: 15.98 kB / 0.9883 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.2375, allocations: 0 / 0.9883 GB, free: 17.75 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.0004346/0.2379, allocations: 316.3 kB / 0.9886 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/0.238, allocations: 75.16 kB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.2382, allocations: 77.98 kB / 0.9888 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2382, allocations: 3.953 kB / 0.9888 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.2382, allocations: 0 / 0.9888 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2382, allocations: 3.938 kB / 0.9888 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.2387, allocations: 377.5 kB / 0.9891 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2387, allocations: 0 / 0.9891 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.75e-05/0.2388, allocations: 11.98 kB / 0.9891 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2388, allocations: 0 / 0.9891 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.2388, allocations: 192 / 0.9891 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2388, allocations: 4 kB / 0.9891 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2388, allocations: 7.891 kB / 0.9891 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.2393, allocations: 196.2 kB / 0.9893 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.2394, allocations: 136.3 kB / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.2395, allocations: 0 / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.2397, allocations: 7.984 kB / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.2398, allocations: 8 kB / 0.9895 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.2399, allocations: 15.94 kB / 0.9895 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001054/0.2409, allocations: 0.6512 MB / 0.9901 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.41e-07/0.2409, allocations: 0 / 0.9901 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004278/0.2414, allocations: 59.98 kB / 0.9902 GB, free: 15.73 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.001231/0.2426, allocations: 422.3 kB / 0.9906 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.243, allocations: 71.95 kB / 0.9907 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.243, allocations: 0 / 0.9907 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.2432, allocations: 43.98 kB / 0.9907 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009972/0.2442, allocations: 144.4 kB / 0.9908 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.2463, allocations: 1.161 MB / 0.992 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.2469, allocations: 0.9823 MB / 0.9929 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002867/0.2472, allocations: 42.27 kB / 0.993 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.883e-05/0.2474, allocations: 23.44 kB / 0.993 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of SimCode: time 2.635e-06/0.2474, allocations: 0 / 0.993 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.0162/0.2636, allocations: 5.284 MB / 0.9982 GB, free: 7.73 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)