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.001152/0.001152, allocations: 101.6 kB / 16.27 MB, free: 6.418 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.001114/0.001114, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.518/1.518, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.872/1.872, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.001809/0.001809, allocations: 67.91 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3107, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.004046/0.3148, allocations: 1.742 MB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3165, allocations: 0.7458 MB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3166, allocations: 0 / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.77e-05/0.3167, allocations: 15.8 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3168, allocations: 27.78 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.3174, allocations: 91.72 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.3176, allocations: 111.6 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.3178, allocations: 41.31 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.3179, allocations: 43.84 kB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.153e-05/0.318, allocations: 51.77 kB / 0.7868 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.3181, allocations: 12 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.3184, allocations: 107.8 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.3184, allocations: 23.92 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.844e-05/0.3185, allocations: 43.73 kB / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.3188, allocations: 151.5 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3188, allocations: 11.94 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.795e-06/0.3188, allocations: 0 / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.3188, allocations: 0 / 0.7872 GB, free: 0.6445 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.000944/0.3198, allocations: 435 kB / 0.7876 GB, free: 176 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.3198, allocations: 12.03 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.3199, allocations: 12.75 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4394/0.7593, allocations: 174.8 kB / 0.7878 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.7593, allocations: 5.875 kB / 0.7878 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.7594, allocations: 14.25 kB / 0.7878 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.7598, allocations: 118.7 kB / 0.7879 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.7599, allocations: 3.375 kB / 0.7879 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.7599, allocations: 6.406 kB / 0.7879 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.7599, allocations: 0 / 0.7879 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.7602, allocations: 116.3 kB / 0.788 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.7608, allocations: 406.3 kB / 0.7884 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.7611, allocations: 106 kB / 0.7885 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.7613, allocations: 59.77 kB / 0.7886 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003568/0.7617, allocations: 0.5607 MB / 0.7891 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.7617, allocations: 32.5 kB / 0.7892 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.7617, allocations: 0 / 0.7892 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0006265/0.7623, allocations: 192.9 kB / 0.7893 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.7624, allocations: 53.72 kB / 0.7894 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.7625, allocations: 169.7 kB / 0.7896 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.7625, allocations: 25.7 kB / 0.7896 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.7626, allocations: 101.5 kB / 0.7897 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.7626, allocations: 28.38 kB / 0.7897 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.7627, allocations: 23.31 kB / 0.7897 GB, free: 48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.901e-05/0.7627, allocations: 321.1 kB / 0.79 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.7629, allocations: 46.22 kB / 0.7901 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.7631, allocations: 43.53 kB / 0.7901 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.7634, allocations: 108.5 kB / 0.7902 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7634, allocations: 3.188 kB / 0.7902 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003563/0.7637, allocations: 146.1 kB / 0.7904 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.7638, allocations: 2.656 kB / 0.7904 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7638, allocations: 3.125 kB / 0.7904 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.7638, allocations: 0 / 0.7904 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.764, allocations: 24.86 kB / 0.7904 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.764, allocations: 7.781 kB / 0.7904 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.7641, allocations: 28.2 kB / 0.7904 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.7641, allocations: 2.625 kB / 0.7904 GB, free: 47.62 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.95e-05/0.7642, allocations: 120.8 kB / 0.7905 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.7642, allocations: 9.156 kB / 0.7906 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/0.7647, allocations: 154.6 kB / 0.7907 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.7647, allocations: 0 / 0.7907 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7647, allocations: 6.688 kB / 0.7907 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.7647, allocations: 1.5 kB / 0.7907 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.7649, allocations: 206.9 kB / 0.7909 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7649, allocations: 0 / 0.7909 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.765, allocations: 26.5 kB / 0.7909 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.7651, allocations: 2.672 kB / 0.7909 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.7651, allocations: 5.219 kB / 0.7909 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.7651, allocations: 2.625 kB / 0.7909 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7651, allocations: 6.375 kB / 0.7909 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.7655, allocations: 246.5 kB / 0.7912 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.7656, allocations: 93.89 kB / 0.7913 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.7656, allocations: 2.469 kB / 0.7913 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.7657, allocations: 17.89 kB / 0.7913 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.7658, allocations: 7.281 kB / 0.7913 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.7658, allocations: 1.406 kB / 0.7913 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.58e-05/0.7659, allocations: 124.6 kB / 0.7914 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7659, allocations: 0 / 0.7914 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002451/0.7661, allocations: 26.06 kB / 0.7914 GB, free: 46.96 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.0001825/0.7663, allocations: 113.2 kB / 0.7916 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003984/0.7667, allocations: 111.1 kB / 0.7917 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7667, allocations: 2.625 kB / 0.7917 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.7669, allocations: 58.14 kB / 0.7917 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.7673, allocations: 30.94 kB / 0.7917 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.7678, allocations: 258.5 kB / 0.792 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.768, allocations: 0.6997 MB / 0.7927 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.768, allocations: 18.47 kB / 0.7927 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/0.768, allocations: 0 / 0.7927 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.00348/0.7715, allocations: 1.449 MB / 0.7941 GB, free: 45.94 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)