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.00142/0.00142, allocations: 100.8 kB / 16.29 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 181.8 kB / 17.22 MB, free: 5.625 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.537/1.537, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.785/1.785, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001775/0.001776, allocations: 67.91 kB / 0.6722 GB, free: 6.469 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2719, allocations: 114.6 MB / 0.7841 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.003507/0.2754, allocations: 1.73 MB / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.2769, allocations: 0.7458 MB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.277, allocations: 0 / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.107e-05/0.2771, allocations: 11.86 kB / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2772, allocations: 31.72 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.2776, allocations: 87.72 kB / 0.7866 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.2778, allocations: 115.6 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.278, allocations: 41.33 kB / 0.7868 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.2781, allocations: 39.86 kB / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.56e-05/0.2782, allocations: 51.77 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.2782, allocations: 11.98 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.2784, allocations: 107.9 kB / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.2785, allocations: 19.91 kB / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.2785, allocations: 59.66 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.2788, allocations: 147.5 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2788, allocations: 4 kB / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2788, allocations: 0 / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2788, allocations: 0 / 0.7872 GB, free: 0.5742 MB / 0.6544 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.0006097/0.2794, allocations: 439 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2795, allocations: 8.031 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.2795, allocations: 20.75 kB / 0.7877 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3785/0.658, allocations: 175.7 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.6581, allocations: 5.875 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.6582, allocations: 17.06 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.6586, allocations: 119.6 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.6586, allocations: 1.969 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.6586, allocations: 6.562 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6586, allocations: 2.312 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.659, allocations: 117.4 kB / 0.7881 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.6595, allocations: 400.4 kB / 0.7885 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.6598, allocations: 106.5 kB / 0.7886 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.66, allocations: 66.39 kB / 0.7886 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/0.6603, allocations: 0.5558 MB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.6604, allocations: 34 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.6604, allocations: 0.5938 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005618/0.6609, allocations: 187 kB / 0.7894 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.661, allocations: 57.41 kB / 0.7894 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.6611, allocations: 168.7 kB / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.6611, allocations: 25.7 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.6612, allocations: 101.2 kB / 0.7897 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.6612, allocations: 30.5 kB / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.6612, allocations: 22.72 kB / 0.7898 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.6613, allocations: 322.3 kB / 0.7901 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.6614, allocations: 43.22 kB / 0.7901 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.6616, allocations: 45.86 kB / 0.7902 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.6619, allocations: 108.3 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6619, allocations: 0.9688 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00031/0.6622, allocations: 142.2 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.6622, allocations: 7.312 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.6622, allocations: 2.875 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.6622, allocations: 0 / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.6624, allocations: 31.75 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6624, allocations: 4.484 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-05/0.6625, allocations: 20.42 kB / 0.7905 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.6625, allocations: 3.125 kB / 0.7905 GB, free: 47.06 MB / 0.6544 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 6.732e-05/0.6626, allocations: 115.9 kB / 0.7906 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.6626, allocations: 12.66 kB / 0.7906 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003941/0.663, allocations: 158.8 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.663, allocations: 0 / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6631, allocations: 5.219 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6631, allocations: 2.688 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.6632, allocations: 209.3 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.6632, allocations: 0 / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.6634, allocations: 24.03 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6634, allocations: 3.719 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.6634, allocations: 6.656 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.6634, allocations: 4.594 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6634, allocations: 7.312 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.6638, allocations: 239.1 kB / 0.7912 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.6638, allocations: 94 kB / 0.7913 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.6638, allocations: 7.312 kB / 0.7913 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.664, allocations: 11.69 kB / 0.7913 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.664, allocations: 16.03 kB / 0.7913 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.664, allocations: 2.625 kB / 0.7914 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.391e-05/0.6641, allocations: 120.9 kB / 0.7915 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.61e-07/0.6641, allocations: 0 / 0.7915 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002398/0.6644, allocations: 28.52 kB / 0.7915 GB, free: 46.4 MB / 0.6544 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.0001647/0.6645, allocations: 113.6 kB / 0.7916 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003484/0.6649, allocations: 109 kB / 0.7917 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6649, allocations: 0 / 0.7917 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.665, allocations: 65.38 kB / 0.7918 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.6655, allocations: 30.78 kB / 0.7918 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.6659, allocations: 224.3 kB / 0.792 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.666, allocations: 0.7012 MB / 0.7927 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.396e-05/0.6661, allocations: 10.67 kB / 0.7927 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.6661, allocations: 14.19 kB / 0.7927 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.6661, allocations: 2.625 kB / 0.7927 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of Templates: time 0.00381/0.6699, allocations: 1.599 MB / 0.7943 GB, free: 45.41 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)