Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 292.3 MB / 308.1 MB, free: 4.242 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.001461/0.001461, allocations: 190 kB / 376.9 MB, free: 1.797 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.558/1.558, allocations: 205.1 MB / 0.6353 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009386/0.0009388, allocations: 99.67 kB / 0.748 GB, free: 61.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001105, allocations: 55.91 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2598, allocations: 114.6 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.004583/0.2644, allocations: 2.146 MB / 0.9843 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003514/0.2679, allocations: 2.45 MB / 0.9867 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.2682, allocations: 4 kB / 0.9867 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.2697, allocations: 0.5021 MB / 0.9872 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.2701, allocations: 87.64 kB / 0.9873 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007012/0.2708, allocations: 203.6 kB / 0.9875 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.2713, allocations: 338.4 kB / 0.9878 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.2715, allocations: 68.72 kB / 0.9879 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.2717, allocations: 119.3 kB / 0.988 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.272, allocations: 143.3 kB / 0.9881 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.272, allocations: 4 kB / 0.9881 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.2722, allocations: 47.97 kB / 0.9882 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.2724, allocations: 127.4 kB / 0.9883 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.2726, allocations: 214.5 kB / 0.9885 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006712/0.2733, allocations: 0.6618 MB / 0.9892 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2733, allocations: 0 / 0.9892 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2733, allocations: 0 / 0.9892 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.2734, allocations: 3.938 kB / 0.9892 GB, free: 3.223 MB / 0.7136 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.001417/0.2748, allocations: 0.868 MB / 0.99 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.2748, allocations: 8.031 kB / 0.99 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.275, allocations: 68.09 kB / 0.9901 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.2755, allocations: 436 kB / 0.9905 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.2755, allocations: 15.92 kB / 0.9905 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.2756, allocations: 0 / 0.9905 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.2758, allocations: 104.2 kB / 0.9906 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2758, allocations: 0 / 0.9906 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.2758, allocations: 0 / 0.9906 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2758, allocations: 0 / 0.9906 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.276, allocations: 43.97 kB / 0.9907 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007873/0.2768, allocations: 0.5123 MB / 0.9912 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.2772, allocations: 98.69 kB / 0.9913 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.012e-05/0.2773, allocations: 36.83 kB / 0.9913 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.2773, allocations: 3.984 kB / 0.9913 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.2775, allocations: 87.38 kB / 0.9914 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.875e-06/0.2775, allocations: 0 / 0.9914 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004182/0.2779, allocations: 200.9 kB / 0.9916 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.278, allocations: 110.8 kB / 0.9917 GB, free: 448 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.279, allocations: 0.8834 MB / 0.9925 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.2791, allocations: 29.7 kB / 0.9926 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.2793, allocations: 304.1 kB / 0.9929 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.2794, allocations: 19.66 kB / 0.9929 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.2794, allocations: 25.7 kB / 0.9929 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2795, allocations: 310 kB / 0.9932 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.2796, allocations: 27.98 kB / 0.9932 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.2797, allocations: 80.2 kB / 0.9933 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.2799, allocations: 73.69 kB / 0.9934 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2799, allocations: 192 / 0.9934 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002662/0.2802, allocations: 160.8 kB / 0.9935 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2802, allocations: 11.94 kB / 0.9935 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2802, allocations: 0 / 0.9935 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2802, allocations: 0 / 0.9935 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.2803, allocations: 12 kB / 0.9935 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2803, allocations: 3.938 kB / 0.9935 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2804, allocations: 15.92 kB / 0.9936 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2805, allocations: 4 kB / 0.9936 GB, free: 14.44 MB / 0.7292 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 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003088/0.2808, allocations: 312.9 kB / 0.9939 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.2809, allocations: 75.09 kB / 0.9939 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.281, allocations: 73.98 kB / 0.994 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.281, allocations: 4 kB / 0.994 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.281, allocations: 3.938 kB / 0.994 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.281, allocations: 0 / 0.994 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.2814, allocations: 381.4 kB / 0.9944 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2814, allocations: 4 kB / 0.9944 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.2814, allocations: 12 kB / 0.9944 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2814, allocations: 0 / 0.9944 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.2815, allocations: 0 / 0.9944 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2815, allocations: 0 / 0.9944 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.2815, allocations: 7.875 kB / 0.9944 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.2822, allocations: 0.9075 MB / 0.9953 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.2824, allocations: 144.2 kB / 0.9954 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.532e-05/0.2824, allocations: 4 kB / 0.9954 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.2826, allocations: 0 / 0.9954 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.2826, allocations: 16.02 kB / 0.9954 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.2826, allocations: 4 kB / 0.9954 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007465/0.2834, allocations: 0.659 MB / 0.9961 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2834, allocations: 0 / 0.9961 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003853/0.2838, allocations: 59.91 kB / 0.9961 GB, free: 11.65 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009792/0.2848, allocations: 419 kB / 0.9965 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.285, allocations: 79.88 kB / 0.9966 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.285, allocations: 4 kB / 0.9966 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.2851, allocations: 35.92 kB / 0.9967 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006519/0.2858, allocations: 138.8 kB / 0.9968 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2875, allocations: 1.327 MB / 0.9981 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.2881, allocations: 0.9785 MB / 0.999 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.2883, allocations: 42.58 kB / 0.9991 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.2884, allocations: 23.42 kB / 0.9991 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.2884, allocations: 4 kB / 0.9991 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of Templates: time 0.01125/0.2996, allocations: 5.575 MB / 1.005 GB, free: 3.137 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)