Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001084/0.001084, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 210.2 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8338/0.8338, allocations: 122.9 MB / 413.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.53 kB / 0.4904 GB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.182, allocations: 77.93 MB / 0.5665 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002765/0.1849, allocations: 1.311 MB / 0.5678 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007548/0.1856, allocations: 307.1 kB / 0.5681 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.1857, allocations: 0 / 0.5681 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.1857, allocations: 0 / 0.5681 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.168e-05/0.1858, allocations: 3.938 kB / 0.5681 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.1861, allocations: 47.81 kB / 0.5681 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.319e-05/0.1862, allocations: 11.94 kB / 0.5682 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.931e-05/0.1862, allocations: 7.984 kB / 0.5682 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.961e-05/0.1863, allocations: 8 kB / 0.5682 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.1864, allocations: 7.938 kB / 0.5682 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1864, allocations: 0 / 0.5682 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1865, allocations: 55.95 kB / 0.5682 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.1866, allocations: 7.969 kB / 0.5682 GB, free: 15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1866, allocations: 7.938 kB / 0.5682 GB, free: 15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.1868, allocations: 48.19 kB / 0.5683 GB, free: 14.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1868, allocations: 0 / 0.5683 GB, free: 14.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1868, allocations: 0 / 0.5683 GB, free: 14.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1868, allocations: 0 / 0.5683 GB, free: 14.95 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.0005201/0.1874, allocations: 339.5 kB / 0.5686 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.1874, allocations: 8.031 kB / 0.5686 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.1877, allocations: 28.75 kB / 0.5686 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1878, allocations: 168.3 kB / 0.5688 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1879, allocations: 4.375 kB / 0.5688 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1879, allocations: 4.312 kB / 0.5688 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.188, allocations: 42.25 kB / 0.5689 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.188, allocations: 4.188 kB / 0.5689 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.1881, allocations: 7.922 kB / 0.5689 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1881, allocations: 0 / 0.5689 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.1882, allocations: 19.98 kB / 0.5689 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.1884, allocations: 153.7 kB / 0.569 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.1904, allocations: 274.3 kB / 0.5693 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.1904, allocations: 16.86 kB / 0.5693 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.1905, allocations: 0 / 0.5693 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1905, allocations: 34.56 kB / 0.5693 GB, free: 13.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1905, allocations: 0 / 0.5693 GB, free: 13.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.000207/0.1907, allocations: 73.56 kB / 0.5694 GB, free: 13.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.1908, allocations: 55.39 kB / 0.5695 GB, free: 13.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.1909, allocations: 89.86 kB / 0.5696 GB, free: 13.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1909, allocations: 25.7 kB / 0.5696 GB, free: 13.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.1909, allocations: 80.14 kB / 0.5697 GB, free: 13.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.191, allocations: 15.81 kB / 0.5697 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.191, allocations: 13.72 kB / 0.5697 GB, free: 13.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1912, allocations: 319 kB / 0.57 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.1912, allocations: 8 kB / 0.57 GB, free: 12.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.1912, allocations: 8 kB / 0.57 GB, free: 12.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.275e-05/0.1913, allocations: 24.86 kB / 0.57 GB, free: 12.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1913, allocations: 0 / 0.57 GB, free: 12.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.911e-05/0.1914, allocations: 57.62 kB / 0.5701 GB, free: 12.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1914, allocations: 4 kB / 0.5701 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1914, allocations: 3.938 kB / 0.5701 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.1915, allocations: 0 / 0.5701 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.1915, allocations: 11.98 kB / 0.5701 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1916, allocations: 0 / 0.5701 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.1916, allocations: 4 kB / 0.5701 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1916, allocations: 0 / 0.5701 GB, free: 12.86 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.79e-05/0.1917, allocations: 113.8 kB / 0.5702 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.1917, allocations: 0 / 0.5702 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.1918, allocations: 15.38 kB / 0.5702 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1918, allocations: 0 / 0.5702 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1918, allocations: 4 kB / 0.5702 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1918, allocations: 0 / 0.5702 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.192, allocations: 157.6 kB / 0.5704 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.192, allocations: 8.266 kB / 0.5704 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.192, allocations: 7.984 kB / 0.5704 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.192, allocations: 0 / 0.5704 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.1921, allocations: 7.938 kB / 0.5704 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.1921, allocations: 7.938 kB / 0.5704 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1921, allocations: 0 / 0.5704 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1922, allocations: 81.11 kB / 0.5705 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.789e-05/0.1923, allocations: 81.05 kB / 0.5706 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.1923, allocations: 11.94 kB / 0.5706 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.825e-05/0.1924, allocations: 3.984 kB / 0.5706 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.1924, allocations: 0 / 0.5706 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.1924, allocations: 4 kB / 0.5706 GB, free: 12.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.072e-05/0.1925, allocations: 79.28 kB / 0.5707 GB, free: 12.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1925, allocations: 0 / 0.5707 GB, free: 12.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.1927, allocations: 4 kB / 0.5707 GB, free: 12.19 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.0001799/0.1929, allocations: 99.34 kB / 0.5708 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.193, allocations: 31.92 kB / 0.5708 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.193, allocations: 0 / 0.5708 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-05/0.1931, allocations: 8 kB / 0.5708 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1934, allocations: 15.98 kB / 0.5708 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.1939, allocations: 132.2 kB / 0.5709 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.1944, allocations: 0.677 MB / 0.5716 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.105e-05/0.1944, allocations: 7.984 kB / 0.5716 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.1945, allocations: 7.438 kB / 0.5716 GB, free: 11.15 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1945, allocations: 4 kB / 0.5716 GB, free: 11.14 MB / 446.1 MB Notification: Performance of Templates: time 0.002903/0.1974, allocations: 496.7 kB / 0.5721 GB, free: 10.66 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)