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.001161/0.001161, allocations: 104 kB / 16.36 MB, free: 6.301 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.001274/0.001275, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.478/1.478, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.846/1.846, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.002302/0.002302, allocations: 72.47 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3217, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.004002/0.3258, allocations: 1.745 MB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.3274, allocations: 0.7497 MB / 0.7872 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3276, allocations: 7.938 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.484e-05/0.3276, allocations: 11.86 kB / 0.7873 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.3278, allocations: 19.8 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.3283, allocations: 91.7 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.3285, allocations: 119.6 kB / 0.7875 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.3286, allocations: 37.05 kB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3287, allocations: 39.86 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.778e-05/0.3288, allocations: 55.7 kB / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.3289, allocations: 8 kB / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.3291, allocations: 107.8 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.217e-05/0.3292, allocations: 23.92 kB / 0.7877 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.3292, allocations: 55.72 kB / 0.7878 GB, free: 44 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4844/0.8137, allocations: 142.3 kB / 0.7879 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.8137, allocations: 0.5312 kB / 0.7879 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8137, allocations: 1.25 kB / 0.7879 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.8138, allocations: 0 / 0.7879 GB, free: 46.89 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.0006759/0.8145, allocations: 438.7 kB / 0.7883 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.8145, allocations: 9.375 kB / 0.7884 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.8146, allocations: 12.62 kB / 0.7884 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.8147, allocations: 188.6 kB / 0.7885 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.8147, allocations: 7.969 kB / 0.7885 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.8147, allocations: 11.69 kB / 0.7886 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.8151, allocations: 126.1 kB / 0.7887 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8151, allocations: 0 / 0.7887 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.8151, allocations: 2.844 kB / 0.7887 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.8151, allocations: 3.469 kB / 0.7887 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.8155, allocations: 114.6 kB / 0.7888 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.816, allocations: 395.3 kB / 0.7892 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.8163, allocations: 113.6 kB / 0.7893 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.8164, allocations: 60.47 kB / 0.7893 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/0.8168, allocations: 0.5597 MB / 0.7899 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.8169, allocations: 34.31 kB / 0.7899 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.8169, allocations: 0 / 0.7899 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0006203/0.8175, allocations: 197.2 kB / 0.7901 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.8175, allocations: 55.16 kB / 0.7902 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.8176, allocations: 163.8 kB / 0.7903 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.8177, allocations: 28.92 kB / 0.7903 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.8177, allocations: 100.1 kB / 0.7904 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.8178, allocations: 30.33 kB / 0.7905 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.8178, allocations: 22.48 kB / 0.7905 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.8179, allocations: 322.8 kB / 0.7908 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.818, allocations: 43.48 kB / 0.7908 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.8182, allocations: 49.86 kB / 0.7909 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.8185, allocations: 100.9 kB / 0.791 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8185, allocations: 6.062 kB / 0.791 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003644/0.8189, allocations: 140 kB / 0.7911 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.8189, allocations: 9.188 kB / 0.7911 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.8189, allocations: 2.625 kB / 0.7911 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.8189, allocations: 0.5 kB / 0.7911 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.8191, allocations: 26.42 kB / 0.7912 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.8191, allocations: 0 / 0.7912 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.529e-05/0.8192, allocations: 21.11 kB / 0.7912 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.8192, allocations: 2.969 kB / 0.7912 GB, free: 44.55 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 7.464e-05/0.8193, allocations: 125.1 kB / 0.7913 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.8194, allocations: 15.62 kB / 0.7913 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.8198, allocations: 157.8 kB / 0.7915 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8198, allocations: 2.625 kB / 0.7915 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8198, allocations: 0 / 0.7915 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.8198, allocations: 4.203 kB / 0.7915 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.82, allocations: 205.2 kB / 0.7917 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.82, allocations: 0.625 kB / 0.7917 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.8202, allocations: 28.14 kB / 0.7917 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.8202, allocations: 6.125 kB / 0.7917 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.8202, allocations: 3.062 kB / 0.7917 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8202, allocations: 0.6562 kB / 0.7917 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8202, allocations: 2.625 kB / 0.7917 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.8206, allocations: 234.5 kB / 0.7919 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.8206, allocations: 104.8 kB / 0.792 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.8207, allocations: 3.812 kB / 0.792 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.8208, allocations: 12.19 kB / 0.792 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.8209, allocations: 8.5 kB / 0.7921 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.8209, allocations: 8.75 kB / 0.7921 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.049e-05/0.821, allocations: 121.8 kB / 0.7922 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.821, allocations: 2.625 kB / 0.7922 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002429/0.8212, allocations: 28.88 kB / 0.7922 GB, free: 43.88 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.0001913/0.8214, allocations: 111.6 kB / 0.7923 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003944/0.8218, allocations: 109.4 kB / 0.7924 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8218, allocations: 0 / 0.7924 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.822, allocations: 59.39 kB / 0.7925 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.8224, allocations: 30.31 kB / 0.7925 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.8229, allocations: 252.6 kB / 0.7927 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.823, allocations: 0.7034 MB / 0.7934 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.8231, allocations: 21.91 kB / 0.7935 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.8231, allocations: 0 / 0.7935 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.003155/0.8263, allocations: 1.452 MB / 0.7949 GB, free: 42.86 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)