Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.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.DryWetSelector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.753/1.753, allocations: 292.3 MB / 308.1 MB, free: 4.32 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.001275/0.001275, allocations: 176.5 kB / 376.9 MB, free: 1.812 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.378/1.378, allocations: 205.1 MB / 0.6354 GB, free: 9.805 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.001223/0.001223, allocations: 93.17 kB / 0.7479 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2722, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.003788/0.2761, allocations: 1.803 MB / 0.984 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.2774, allocations: 0.7653 MB / 0.9847 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.2775, allocations: 8 kB / 0.9847 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.536e-05/0.2776, allocations: 3.938 kB / 0.9848 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.17e-05/0.2777, allocations: 23.78 kB / 0.9848 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.2781, allocations: 67.86 kB / 0.9848 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.2782, allocations: 107.6 kB / 0.9849 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2783, allocations: 41.19 kB / 0.985 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.2784, allocations: 35.86 kB / 0.985 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.692e-05/0.2785, allocations: 51.77 kB / 0.9851 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.2786, allocations: 4 kB / 0.9851 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.2788, allocations: 99.89 kB / 0.9852 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.2788, allocations: 23.92 kB / 0.9852 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.2789, allocations: 51.61 kB / 0.9852 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.2791, allocations: 143.6 kB / 0.9854 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2791, allocations: 4 kB / 0.9854 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2791, allocations: 0 / 0.9854 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.2791, allocations: 0 / 0.9854 GB, free: 7.145 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006718/0.2798, allocations: 443 kB / 0.9858 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2799, allocations: 12.03 kB / 0.9858 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.2799, allocations: 16.78 kB / 0.9858 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.2801, allocations: 176.2 kB / 0.986 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.2801, allocations: 8.359 kB / 0.986 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.2801, allocations: 12.12 kB / 0.986 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.2805, allocations: 121.6 kB / 0.9861 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2805, allocations: 0 / 0.9861 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.2805, allocations: 4 kB / 0.9861 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2805, allocations: 8 kB / 0.9861 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.2809, allocations: 107.9 kB / 0.9862 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.2814, allocations: 400.2 kB / 0.9866 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.2818, allocations: 106.6 kB / 0.9867 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.282, allocations: 68.75 kB / 0.9868 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/0.2824, allocations: 0.5583 MB / 0.9873 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2825, allocations: 38.5 kB / 0.9874 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.2825, allocations: 0 / 0.9874 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0006403/0.2831, allocations: 185.3 kB / 0.9876 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.2832, allocations: 55.41 kB / 0.9876 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.2833, allocations: 171.3 kB / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2833, allocations: 29.7 kB / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.2834, allocations: 96.14 kB / 0.9879 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.2834, allocations: 31.55 kB / 0.9879 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.2835, allocations: 21.72 kB / 0.9879 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2836, allocations: 318.8 kB / 0.9882 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.2838, allocations: 43.95 kB / 0.9883 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.284, allocations: 55.95 kB / 0.9883 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.2843, allocations: 101.2 kB / 0.9884 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2843, allocations: 4 kB / 0.9884 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003938/0.2847, allocations: 145.4 kB / 0.9886 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2848, allocations: 4 kB / 0.9886 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2848, allocations: 4 kB / 0.9886 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2848, allocations: 0 / 0.9886 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.2849, allocations: 23.97 kB / 0.9886 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.285, allocations: 0 / 0.9886 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.2851, allocations: 19.89 kB / 0.9886 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.2851, allocations: 4 kB / 0.9886 GB, free: 3.453 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 7.975e-05/0.2852, allocations: 125.8 kB / 0.9888 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.2852, allocations: 15.75 kB / 0.9888 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.2857, allocations: 158.9 kB / 0.9889 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.2857, allocations: 4 kB / 0.9889 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2857, allocations: 0 / 0.9889 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2857, allocations: 3.984 kB / 0.9889 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.2859, allocations: 209.6 kB / 0.9891 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.2859, allocations: 7.875 kB / 0.9891 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2861, allocations: 19.98 kB / 0.9892 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2861, allocations: 3.984 kB / 0.9892 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.2861, allocations: 4 kB / 0.9892 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2861, allocations: 0 / 0.9892 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2861, allocations: 0 / 0.9892 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008514/0.287, allocations: 0.8603 MB / 0.99 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.2871, allocations: 93 kB / 0.9901 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.2871, allocations: 7.984 kB / 0.9901 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2872, allocations: 15.98 kB / 0.9901 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.2873, allocations: 11.97 kB / 0.9901 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.2873, allocations: 0 / 0.9901 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.298e-05/0.2874, allocations: 124 kB / 0.9902 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2874, allocations: 0 / 0.9902 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003808/0.2878, allocations: 27.94 kB / 0.9903 GB, free: 1.633 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001639/0.288, allocations: 107.2 kB / 0.9904 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004128/0.2884, allocations: 107.8 kB / 0.9905 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2884, allocations: 0 / 0.9905 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.2886, allocations: 63.89 kB / 0.9905 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.289, allocations: 26.52 kB / 0.9906 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.2895, allocations: 380.6 kB / 0.9909 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2898, allocations: 0.7009 MB / 0.9916 GB, free: 200 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.646e-05/0.2899, allocations: 12.56 kB / 0.9916 GB, free: 188 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.29, allocations: 11.44 kB / 0.9916 GB, free: 176 kB / 0.7136 GB Notification: Performance of SimCode: time 2.104e-06/0.29, allocations: 0 / 0.9916 GB, free: 176 kB / 0.7136 GB Notification: Performance of Templates: time 0.003971/0.2939, allocations: 1.492 MB / 0.9931 GB, free: 14.7 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)