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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 195.6 kB / 16.64 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.822/1.822, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 75.78 kB / 0.6723 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2591, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.003332/0.2625, allocations: 1.734 MB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2638, allocations: 0.7585 MB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.931e-05/0.264, allocations: 0 / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.54e-05/0.2641, allocations: 11.86 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2642, allocations: 23.8 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.2646, allocations: 91.7 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.2648, allocations: 111.6 kB / 0.7868 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.2649, allocations: 41.05 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.76e-05/0.265, allocations: 47.78 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.2651, allocations: 51.77 kB / 0.7869 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.2651, allocations: 8 kB / 0.7869 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.2654, allocations: 103.8 kB / 0.787 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.2654, allocations: 27.86 kB / 0.7871 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.499e-05/0.2655, allocations: 47.73 kB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.2658, allocations: 155.5 kB / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2658, allocations: 0 / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2658, allocations: 0 / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.2658, allocations: 0 / 0.7873 GB, free: 9.5 MB / 0.6075 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.0006625/0.2665, allocations: 443 kB / 0.7877 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.2665, allocations: 8.031 kB / 0.7877 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.2666, allocations: 20.69 kB / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.2667, allocations: 178.6 kB / 0.7879 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2668, allocations: 8.375 kB / 0.7879 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.2668, allocations: 16.12 kB / 0.7879 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.2671, allocations: 124.5 kB / 0.788 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2671, allocations: 3.938 kB / 0.788 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2672, allocations: 0 / 0.788 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2672, allocations: 4 kB / 0.788 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.2675, allocations: 111.9 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/0.2681, allocations: 404.2 kB / 0.7885 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.2684, allocations: 106.6 kB / 0.7886 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.2686, allocations: 68.81 kB / 0.7887 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004666/0.2691, allocations: 0.5505 MB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.2692, allocations: 42.44 kB / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.2692, allocations: 4 kB / 0.7893 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006264/0.2698, allocations: 193.3 kB / 0.7895 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.2698, allocations: 51.41 kB / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.27, allocations: 160.5 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.27, allocations: 25.7 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.2701, allocations: 100.1 kB / 0.7898 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.2701, allocations: 31.55 kB / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.2701, allocations: 25.72 kB / 0.7898 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2703, allocations: 327.2 kB / 0.7902 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.2704, allocations: 43.95 kB / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.2706, allocations: 47.89 kB / 0.7902 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.2709, allocations: 104.7 kB / 0.7903 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2709, allocations: 0 / 0.7903 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003691/0.2713, allocations: 141.4 kB / 0.7905 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2713, allocations: 10.66 kB / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2713, allocations: 0 / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2713, allocations: 0 / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.2715, allocations: 27.97 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.2715, allocations: 4 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.744e-05/0.2716, allocations: 15.89 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.2716, allocations: 4 kB / 0.7905 GB, free: 5.809 MB / 0.6075 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 8.703e-05/0.2717, allocations: 122.4 kB / 0.7906 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.2718, allocations: 19.75 kB / 0.7907 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000434/0.2722, allocations: 154.9 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2722, allocations: 0 / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2722, allocations: 0 / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.2722, allocations: 3.984 kB / 0.7908 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.2725, allocations: 210 kB / 0.791 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2725, allocations: 3.938 kB / 0.791 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.2726, allocations: 23.92 kB / 0.791 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2726, allocations: 8 kB / 0.7911 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2726, allocations: 15.86 kB / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2726, allocations: 0 / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2727, allocations: 0 / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.2731, allocations: 231.3 kB / 0.7913 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.2732, allocations: 104.8 kB / 0.7914 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.2732, allocations: 7.984 kB / 0.7914 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.2733, allocations: 7.984 kB / 0.7914 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.2734, allocations: 11.98 kB / 0.7914 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.2734, allocations: 4 kB / 0.7914 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.874e-05/0.2735, allocations: 122.1 kB / 0.7915 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2735, allocations: 0 / 0.7915 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000261/0.2738, allocations: 24 kB / 0.7916 GB, free: 4.656 MB / 0.6075 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.0001864/0.274, allocations: 107.2 kB / 0.7917 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.2744, allocations: 107.8 kB / 0.7918 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2744, allocations: 4 kB / 0.7918 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.2745, allocations: 55.89 kB / 0.7918 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.275, allocations: 46.69 kB / 0.7919 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.2755, allocations: 228 kB / 0.7921 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2758, allocations: 0.7041 MB / 0.7928 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.581e-05/0.2759, allocations: 8.547 kB / 0.7928 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.2759, allocations: 19.44 kB / 0.7928 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2759, allocations: 0 / 0.7928 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of Templates: time 0.004769/0.2807, allocations: 1.61 MB / 0.7944 GB, free: 1.738 MB / 0.6075 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)