Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009756/0.009756, allocations: 104.8 kB / 15.73 MB, free: 6.035 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.001696/0.001696, allocations: 199.2 kB / 16.67 MB, free: 5.969 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.559/1.559, allocations: 205.1 MB / 222.5 MB, free: 4.398 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.6085/0.6085, allocations: 95.48 MB / 365.4 MB, free: 9.703 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.001636/0.001636, allocations: 78.25 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1817, allocations: 69.08 MB / 0.5711 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003386/0.1851, allocations: 1.586 MB / 0.5726 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1867, allocations: 0.9339 MB / 0.5736 GB, free: 5.777 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.1867, allocations: 0 / 0.5736 GB, free: 5.777 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.187, allocations: 23.84 kB / 0.5736 GB, free: 5.754 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.1873, allocations: 43.78 kB / 0.5736 GB, free: 5.711 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.1876, allocations: 99.36 kB / 0.5737 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.1879, allocations: 213.7 kB / 0.5739 GB, free: 5.406 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.188, allocations: 19.98 kB / 0.5739 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.1881, allocations: 67.78 kB / 0.574 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1883, allocations: 83.77 kB / 0.5741 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.1883, allocations: 16 kB / 0.5741 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.1885, allocations: 63.97 kB / 0.5742 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.415e-05/0.1886, allocations: 67.83 kB / 0.5742 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.667e-05/0.1887, allocations: 95.41 kB / 0.5743 GB, free: 5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.189, allocations: 263.1 kB / 0.5746 GB, free: 4.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.189, allocations: 0 / 0.5746 GB, free: 4.742 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.189, allocations: 0 / 0.5746 GB, free: 4.742 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.189, allocations: 0 / 0.5746 GB, free: 4.742 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007866/0.1898, allocations: 0.5392 MB / 0.5751 GB, free: 4.148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1899, allocations: 11.98 kB / 0.5751 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.1899, allocations: 28.66 kB / 0.5751 GB, free: 4.109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1902, allocations: 260.4 kB / 0.5754 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1903, allocations: 12.12 kB / 0.5754 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.1903, allocations: 20 kB / 0.5754 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.1906, allocations: 206.9 kB / 0.5756 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1907, allocations: 3.938 kB / 0.5756 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.1907, allocations: 4 kB / 0.5756 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.1907, allocations: 4 kB / 0.5756 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/0.1916, allocations: 0.7256 MB / 0.5763 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.1925, allocations: 0.555 MB / 0.5769 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.1929, allocations: 218.5 kB / 0.5771 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.1931, allocations: 104.8 kB / 0.5772 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.127e-05/0.1931, allocations: 19.97 kB / 0.5772 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004244/0.1936, allocations: 165.5 kB / 0.5773 GB, free: 1.703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.1936, allocations: 0 / 0.5773 GB, free: 1.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006787/0.1943, allocations: 362.8 kB / 0.5777 GB, free: 1.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.1944, allocations: 85.05 kB / 0.5778 GB, free: 1.242 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.1947, allocations: 295 kB / 0.5781 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.1948, allocations: 37.69 kB / 0.5781 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1949, allocations: 120.7 kB / 0.5782 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.195, allocations: 102.5 kB / 0.5783 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/0.1951, allocations: 65.69 kB / 0.5784 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1952, allocations: 330.8 kB / 0.5787 GB, free: 276 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1953, allocations: 83.95 kB / 0.5788 GB, free: 192 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.1955, allocations: 105.6 kB / 0.5789 GB, free: 80 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.1959, allocations: 236.1 kB / 0.5791 GB, free: 15.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1959, allocations: 0 / 0.5791 GB, free: 15.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000446/0.1963, allocations: 291 kB / 0.5794 GB, free: 15.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.1964, allocations: 37.69 kB / 0.5794 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1964, allocations: 0 / 0.5794 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1964, allocations: 4 kB / 0.5794 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.1966, allocations: 55.91 kB / 0.5795 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1967, allocations: 7.969 kB / 0.5795 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.1968, allocations: 23.75 kB / 0.5795 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.1968, allocations: 12 kB / 0.5795 GB, free: 15.39 MB / 462.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: 3 (conTim.tStart,$PRE.conTim.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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.0001534/0.197, allocations: 157.7 kB / 0.5797 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.197, allocations: 23.72 kB / 0.5797 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.1971, allocations: 42.66 kB / 0.5797 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1971, allocations: 4 kB / 0.5797 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.1972, allocations: 11.92 kB / 0.5797 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.1972, allocations: 7.922 kB / 0.5797 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.1975, allocations: 309.2 kB / 0.58 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1975, allocations: 4 kB / 0.58 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.1977, allocations: 51.91 kB / 0.5801 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1977, allocations: 4 kB / 0.5801 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.1977, allocations: 11.98 kB / 0.5801 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1977, allocations: 0 / 0.5801 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1977, allocations: 7.875 kB / 0.5801 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.1982, allocations: 316.8 kB / 0.5804 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.1984, allocations: 144.6 kB / 0.5806 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.1984, allocations: 4 kB / 0.5806 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-05/0.1985, allocations: 8 kB / 0.5806 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.1986, allocations: 27.91 kB / 0.5806 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.1986, allocations: 15.98 kB / 0.5806 GB, free: 14.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.1988, allocations: 224.6 kB / 0.5808 GB, free: 13.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1988, allocations: 4 kB / 0.5808 GB, free: 13.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1991, allocations: 59.98 kB / 0.5809 GB, free: 13.89 MB / 462.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: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001012/0.2001, allocations: 404.9 kB / 0.5813 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000481/0.2006, allocations: 271.4 kB / 0.5815 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2006, allocations: 4 kB / 0.5815 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.2008, allocations: 115.9 kB / 0.5816 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.2011, allocations: 33.86 kB / 0.5817 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.2021, allocations: 0.4891 MB / 0.5821 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.2025, allocations: 0.7573 MB / 0.5829 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003076/0.2029, allocations: 146.1 kB / 0.583 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/0.2029, allocations: 39.42 kB / 0.5831 GB, free: 11.73 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2029, allocations: 0 / 0.5831 GB, free: 11.73 MB / 462.1 MB Notification: Performance of Templates: time 0.007456/0.2104, allocations: 2.622 MB / 0.5856 GB, free: 9.125 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)