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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.763/1.763, allocations: 288.3 MB / 303.2 MB, free: 8.105 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.000987/0.0009871, allocations: 177 kB / 371.8 MB, free: 10.28 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.45/1.45, allocations: 205.4 MB / 0.6306 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.0008355/0.0008355, allocations: 98.84 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005503/0.0005504, allocations: 13.59 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2429, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002144/0.2451, allocations: 1.717 MB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2472, allocations: 2.114 MB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.2473, allocations: 3.938 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009855/0.2483, allocations: 0.518 MB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.2485, allocations: 95.72 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.249, allocations: 187.5 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.2493, allocations: 283.4 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2494, allocations: 64.7 kB / 0.9843 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.2496, allocations: 119.5 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.2497, allocations: 131.3 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.2498, allocations: 4 kB / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.2499, allocations: 31.98 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.25, allocations: 127.5 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.269e-05/0.2501, allocations: 129.4 kB / 0.9848 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.2505, allocations: 0.5302 MB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.2505, allocations: 0 / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2505, allocations: 0 / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2505, allocations: 0 / 0.9853 GB, free: 21.62 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.000925/0.2514, allocations: 0.8099 MB / 0.9861 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2515, allocations: 12.02 kB / 0.9861 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.086e-05/0.2516, allocations: 71.19 kB / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.252, allocations: 395.6 kB / 0.9866 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.252, allocations: 11.98 kB / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.2521, allocations: 4 kB / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.2523, allocations: 96.17 kB / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2523, allocations: 0 / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.2523, allocations: 0 / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2523, allocations: 0 / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.2524, allocations: 43.97 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.2531, allocations: 0.52 MB / 0.9872 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.2534, allocations: 98.64 kB / 0.9873 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.2535, allocations: 3.984 kB / 0.9873 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.2536, allocations: 87.53 kB / 0.9874 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.2536, allocations: 4 kB / 0.9874 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003769/0.254, allocations: 200.7 kB / 0.9876 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.2541, allocations: 102.8 kB / 0.9877 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007856/0.2549, allocations: 0.8833 MB / 0.9886 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2549, allocations: 29.7 kB / 0.9886 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.2551, allocations: 300 kB / 0.9889 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.2551, allocations: 19.8 kB / 0.9889 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.2551, allocations: 4 kB / 0.9889 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.2552, allocations: 310 kB / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/0.2553, allocations: 23.98 kB / 0.9892 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.2553, allocations: 76.2 kB / 0.9893 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.269e-05/0.2554, allocations: 35.98 kB / 0.9893 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2554, allocations: 4 kB / 0.9893 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002069/0.2557, allocations: 160.8 kB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2557, allocations: 4 kB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2557, allocations: 7.938 kB / 0.9895 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2557, allocations: 0 / 0.9895 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.2558, allocations: 19.94 kB / 0.9895 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2558, allocations: 0 / 0.9895 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.2559, allocations: 8 kB / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.2559, allocations: 4 kB / 0.9895 GB, free: 17.05 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.0002325/0.2562, allocations: 326 kB / 0.9898 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.2562, allocations: 67.16 kB / 0.9899 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.95e-05/0.2563, allocations: 73.94 kB / 0.99 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.2563, allocations: 0 / 0.99 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2564, allocations: 7.953 kB / 0.99 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2564, allocations: 3.984 kB / 0.99 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.2566, allocations: 381.4 kB / 0.9904 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2567, allocations: 4 kB / 0.9904 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.2567, allocations: 4 kB / 0.9904 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2567, allocations: 4 kB / 0.9904 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2567, allocations: 7.984 kB / 0.9904 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2567, allocations: 0 / 0.9904 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2567, allocations: 0 / 0.9904 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.257, allocations: 196.6 kB / 0.9906 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.2571, allocations: 128.4 kB / 0.9907 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.2571, allocations: 7.984 kB / 0.9907 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.2573, allocations: 4.188 kB / 0.9907 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.2573, allocations: 19.92 kB / 0.9907 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.2573, allocations: 7.938 kB / 0.9907 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000573/0.2579, allocations: 0.6512 MB / 0.9914 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2579, allocations: 0 / 0.9914 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002911/0.2582, allocations: 51.95 kB / 0.9914 GB, free: 15.04 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.000856/0.2591, allocations: 426.8 kB / 0.9918 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.2593, allocations: 71.95 kB / 0.9919 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2593, allocations: 0 / 0.9919 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.2594, allocations: 43.92 kB / 0.9919 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.2599, allocations: 144 kB / 0.9921 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.2611, allocations: 1.161 MB / 0.9932 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.2614, allocations: 0.9901 MB / 0.9942 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.2616, allocations: 38.23 kB / 0.9942 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.2616, allocations: 23.42 kB / 0.9942 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.2616, allocations: 0 / 0.9942 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.008705/0.2703, allocations: 5.273 MB / 0.9994 GB, free: 7.055 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)