Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009983/0.009983, allocations: 105.3 kB / 15.74 MB, free: 6.441 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.00144/0.00144, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.678/1.678, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.6238/0.6238, allocations: 95.48 MB / 365.4 MB, free: 9.77 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.001468/0.001468, allocations: 71.91 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1819, allocations: 69.09 MB / 0.5711 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002496/0.1845, allocations: 1.257 MB / 0.5723 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006465/0.1851, allocations: 303.4 kB / 0.5726 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.1852, allocations: 0 / 0.5726 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.1852, allocations: 0 / 0.5726 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.1853, allocations: 7.922 kB / 0.5726 GB, free: 6.723 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.1856, allocations: 43.75 kB / 0.5726 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.207e-05/0.1857, allocations: 15.92 kB / 0.5727 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.1858, allocations: 8 kB / 0.5727 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.9e-05/0.1858, allocations: 7.938 kB / 0.5727 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.1859, allocations: 15.92 kB / 0.5727 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1859, allocations: 0 / 0.5727 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.186, allocations: 55.95 kB / 0.5727 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.1861, allocations: 0 / 0.5727 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.1861, allocations: 11.98 kB / 0.5728 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.1862, allocations: 43.84 kB / 0.5728 GB, free: 6.523 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1863, allocations: 4 kB / 0.5728 GB, free: 6.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1863, allocations: 0 / 0.5728 GB, free: 6.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1863, allocations: 0 / 0.5728 GB, free: 6.52 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004765/0.1868, allocations: 339.5 kB / 0.5731 GB, free: 6.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1868, allocations: 15.98 kB / 0.5731 GB, free: 6.121 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.187, allocations: 16.92 kB / 0.5732 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1872, allocations: 160.4 kB / 0.5733 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1872, allocations: 4.312 kB / 0.5733 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1872, allocations: 4.375 kB / 0.5733 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.1873, allocations: 38.25 kB / 0.5734 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1874, allocations: 192 / 0.5734 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.1874, allocations: 15.92 kB / 0.5734 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1874, allocations: 4 kB / 0.5734 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.952e-05/0.1875, allocations: 12 kB / 0.5734 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.1876, allocations: 157.7 kB / 0.5735 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.1894, allocations: 278.3 kB / 0.5738 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.1895, allocations: 20.84 kB / 0.5738 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.1895, allocations: 0 / 0.5738 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1896, allocations: 30.56 kB / 0.5739 GB, free: 5.281 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1896, allocations: 0 / 0.5739 GB, free: 5.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.000208/0.1898, allocations: 73.7 kB / 0.5739 GB, free: 5.203 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1898, allocations: 51.41 kB / 0.574 GB, free: 5.141 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.1899, allocations: 97.86 kB / 0.5741 GB, free: 5.035 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1899, allocations: 25.7 kB / 0.5741 GB, free: 5.004 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.19, allocations: 84.08 kB / 0.5742 GB, free: 4.918 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.19, allocations: 11.84 kB / 0.5742 GB, free: 4.906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.19, allocations: 17.7 kB / 0.5742 GB, free: 4.883 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1902, allocations: 314.8 kB / 0.5745 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.1902, allocations: 8 kB / 0.5745 GB, free: 4.559 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.1902, allocations: 12.11 kB / 0.5745 GB, free: 4.547 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.907e-05/0.1903, allocations: 32.86 kB / 0.5745 GB, free: 4.512 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1903, allocations: 0 / 0.5745 GB, free: 4.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.075e-05/0.1904, allocations: 53.59 kB / 0.5746 GB, free: 4.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1904, allocations: 8 kB / 0.5746 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1904, allocations: 3.938 kB / 0.5746 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1904, allocations: 3.938 kB / 0.5746 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.1905, allocations: 7.938 kB / 0.5746 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1905, allocations: 4 kB / 0.5746 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.1905, allocations: 4 kB / 0.5746 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.1906, allocations: 0 / 0.5746 GB, free: 4.422 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 (4): * Single equations (assignments): 4 * 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 9.361e-05/0.1907, allocations: 109.8 kB / 0.5747 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.1907, allocations: 4 kB / 0.5747 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.1907, allocations: 15.42 kB / 0.5748 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1907, allocations: 0 / 0.5748 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1907, allocations: 0 / 0.5748 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1907, allocations: 0 / 0.5748 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.1908, allocations: 157.7 kB / 0.5749 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1909, allocations: 0 / 0.5749 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.1909, allocations: 4 kB / 0.5749 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1909, allocations: 7.938 kB / 0.5749 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.1909, allocations: 3.938 kB / 0.5749 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1909, allocations: 0 / 0.5749 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1909, allocations: 0 / 0.5749 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.1911, allocations: 85.06 kB / 0.575 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.1911, allocations: 85 kB / 0.5751 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1912, allocations: 3.938 kB / 0.5751 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.406e-05/0.1912, allocations: 4 kB / 0.5751 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.1912, allocations: 4 kB / 0.5751 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1913, allocations: 4 kB / 0.5751 GB, free: 3.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.633e-05/0.1913, allocations: 75.28 kB / 0.5752 GB, free: 3.766 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1913, allocations: 4 kB / 0.5752 GB, free: 3.762 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001797/0.1915, allocations: 4 kB / 0.5752 GB, free: 3.758 MB / 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 (4): * Single equations (assignments): 4 * 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.0001144/0.1916, allocations: 99.23 kB / 0.5753 GB, free: 3.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.1917, allocations: 24 kB / 0.5753 GB, free: 3.625 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1917, allocations: 8.031 kB / 0.5753 GB, free: 3.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.1918, allocations: 15.98 kB / 0.5753 GB, free: 3.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.192, allocations: 4 kB / 0.5753 GB, free: 3.598 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.1924, allocations: 122.7 kB / 0.5754 GB, free: 3.453 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.1927, allocations: 0.6768 MB / 0.5761 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.905e-05/0.1927, allocations: 8.375 kB / 0.5761 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.1928, allocations: 7.438 kB / 0.5761 GB, free: 2.734 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1928, allocations: 0 / 0.5761 GB, free: 2.734 MB / 446.1 MB Notification: Performance of Templates: time 0.003293/0.1961, allocations: 0.5263 MB / 0.5766 GB, free: 2.215 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)