Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_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_1.6_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.006796/0.006797, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001513/0.001514, allocations: 190.1 kB / 16.67 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.651/1.651, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.621/0.621, allocations: 95.47 MB / 365.4 MB, free: 9.766 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 75.89 kB / 0.5037 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1776, allocations: 69.08 MB / 0.5711 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.003692/0.1814, allocations: 1.797 MB / 0.5729 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009901/0.1824, allocations: 436.6 kB / 0.5733 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1825, allocations: 4 kB / 0.5733 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.286e-05/0.1826, allocations: 15.8 kB / 0.5733 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.1828, allocations: 23.73 kB / 0.5733 GB, free: 6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.1833, allocations: 103.7 kB / 0.5734 GB, free: 5.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1835, allocations: 131.6 kB / 0.5736 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.1836, allocations: 45.41 kB / 0.5736 GB, free: 5.723 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1838, allocations: 51.8 kB / 0.5737 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.1839, allocations: 59.75 kB / 0.5737 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.1839, allocations: 12 kB / 0.5737 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.1842, allocations: 107.7 kB / 0.5738 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.1842, allocations: 35.89 kB / 0.5739 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.493e-05/0.1843, allocations: 55.67 kB / 0.5739 GB, free: 5.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.1846, allocations: 171.5 kB / 0.5741 GB, free: 5.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1846, allocations: 0 / 0.5741 GB, free: 5.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1846, allocations: 0 / 0.5741 GB, free: 5.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1847, allocations: 3.938 kB / 0.5741 GB, free: 5.234 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007874/0.1855, allocations: 463.2 kB / 0.5745 GB, free: 4.734 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1855, allocations: 11.98 kB / 0.5745 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.1856, allocations: 16.75 kB / 0.5746 GB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.1858, allocations: 187.7 kB / 0.5747 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1858, allocations: 8.234 kB / 0.5747 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.1858, allocations: 12 kB / 0.5748 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.1862, allocations: 139.4 kB / 0.5749 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1862, allocations: 0 / 0.5749 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1862, allocations: 4 kB / 0.5749 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1862, allocations: 4 kB / 0.5749 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.1866, allocations: 116.6 kB / 0.575 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006894/0.1873, allocations: 452.3 kB / 0.5754 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.1877, allocations: 118.5 kB / 0.5755 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.1879, allocations: 72.81 kB / 0.5756 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005433/0.1884, allocations: 0.5544 MB / 0.5762 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1885, allocations: 34.56 kB / 0.5762 GB, free: 2.785 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1885, allocations: 0 / 0.5762 GB, free: 2.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006746/0.1892, allocations: 197.3 kB / 0.5764 GB, free: 2.586 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.1892, allocations: 59.39 kB / 0.5764 GB, free: 2.516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1894, allocations: 172.4 kB / 0.5766 GB, free: 2.336 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1895, allocations: 29.7 kB / 0.5766 GB, free: 2.301 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.871e-05/0.1896, allocations: 108.1 kB / 0.5767 GB, free: 2.191 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.1896, allocations: 31.92 kB / 0.5768 GB, free: 2.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.1897, allocations: 17.72 kB / 0.5768 GB, free: 2.137 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1899, allocations: 334.8 kB / 0.5771 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.19, allocations: 47.95 kB / 0.5771 GB, free: 1.754 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.1902, allocations: 51.83 kB / 0.5772 GB, free: 1.703 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.1906, allocations: 112.8 kB / 0.5773 GB, free: 1.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.1906, allocations: 7.938 kB / 0.5773 GB, free: 1.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003847/0.191, allocations: 145.4 kB / 0.5774 GB, free: 1.434 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.191, allocations: 4 kB / 0.5775 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.191, allocations: 3.984 kB / 0.5775 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.191, allocations: 0 / 0.5775 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.1912, allocations: 31.98 kB / 0.5775 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1912, allocations: 0 / 0.5775 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1913, allocations: 23.83 kB / 0.5775 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1914, allocations: 0 / 0.5775 GB, free: 1.371 MB / 446.1 MB 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 (10): * Single equations (assignments): 10 * 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 0.0001107/0.1915, allocations: 129.7 kB / 0.5776 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.1915, allocations: 15.81 kB / 0.5776 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004507/0.192, allocations: 162.9 kB / 0.5778 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.192, allocations: 4 kB / 0.5778 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.192, allocations: 384 / 0.5778 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.192, allocations: 0 / 0.5778 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.1923, allocations: 221.5 kB / 0.578 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1923, allocations: 3.984 kB / 0.578 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.1925, allocations: 27.92 kB / 0.578 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1925, allocations: 4 kB / 0.5781 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1925, allocations: 0 / 0.5781 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.1925, allocations: 4 kB / 0.5781 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1925, allocations: 0 / 0.5781 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.193, allocations: 251.2 kB / 0.5783 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.193, allocations: 104.8 kB / 0.5784 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.1931, allocations: 11.98 kB / 0.5784 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1932, allocations: 7.984 kB / 0.5784 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.1933, allocations: 4 kB / 0.5784 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1933, allocations: 11.98 kB / 0.5784 GB, free: 324 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.1934, allocations: 132.3 kB / 0.5786 GB, free: 192 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1934, allocations: 4 kB / 0.5786 GB, free: 188 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.1937, allocations: 23.94 kB / 0.5786 GB, free: 164 kB / 446.1 MB 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 (10): * Single equations (assignments): 10 * 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.0001983/0.1939, allocations: 119.2 kB / 0.5787 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004234/0.1943, allocations: 111.9 kB / 0.5788 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1943, allocations: 0 / 0.5788 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.1945, allocations: 63.89 kB / 0.5789 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.195, allocations: 55.47 kB / 0.5789 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.1956, allocations: 252.8 kB / 0.5792 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.196, allocations: 0.7123 MB / 0.5799 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.633e-05/0.196, allocations: 4.656 kB / 0.5799 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.1961, allocations: 19.44 kB / 0.5799 GB, free: 14.78 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1961, allocations: 0 / 0.5799 GB, free: 14.78 MB / 462.1 MB Notification: Performance of Templates: time 0.00532/0.2014, allocations: 1.963 MB / 0.5818 GB, free: 12.85 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)