Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00525/0.00525, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.001056/0.001055, allocations: 195.6 kB / 16.67 MB, free: 5.965 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8258/0.8258, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 67.33 kB / 0.5814 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1807, allocations: 80.2 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002215/0.1829, allocations: 1.262 MB / 0.6609 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005316/0.1835, allocations: 297.6 kB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.1835, allocations: 0 / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.1836, allocations: 3.938 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.928e-05/0.1836, allocations: 8 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.1839, allocations: 51.73 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.868e-05/0.184, allocations: 23.86 kB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.184, allocations: 4 kB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.1841, allocations: 7.938 kB / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.1841, allocations: 7.984 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1842, allocations: 4 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1843, allocations: 51.94 kB / 0.6613 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.1843, allocations: 4 kB / 0.6613 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.1843, allocations: 11.94 kB / 0.6614 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1845, allocations: 43.89 kB / 0.6614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1845, allocations: 3.938 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1845, allocations: 0 / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.1845, allocations: 0 / 0.6614 GB, free: 11.71 MB / 0.4981 GB 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.0003959/0.1849, allocations: 335.4 kB / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.185, allocations: 12.03 kB / 0.6617 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.1852, allocations: 20.86 kB / 0.6618 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.1853, allocations: 176.3 kB / 0.6619 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1853, allocations: 384 / 0.6619 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.1853, allocations: 384 / 0.6619 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1854, allocations: 46.19 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1855, allocations: 192 / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1855, allocations: 3.938 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1855, allocations: 0 / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.089e-05/0.1855, allocations: 19.98 kB / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.1857, allocations: 161.7 kB / 0.6621 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.1874, allocations: 262.5 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.1874, allocations: 16.86 kB / 0.6624 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.1875, allocations: 11.98 kB / 0.6624 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.1875, allocations: 38.5 kB / 0.6625 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1875, allocations: 0 / 0.6625 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001691/0.1877, allocations: 65.56 kB / 0.6625 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.1877, allocations: 51.41 kB / 0.6626 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.1878, allocations: 93.86 kB / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1878, allocations: 29.7 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.1879, allocations: 84.27 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.1879, allocations: 7.906 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.1879, allocations: 21.7 kB / 0.6628 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1881, allocations: 310.8 kB / 0.6631 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/0.1881, allocations: 8 kB / 0.6631 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.1881, allocations: 11.94 kB / 0.6631 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.117e-05/0.1882, allocations: 33.11 kB / 0.6631 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1882, allocations: 3.938 kB / 0.6631 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.783e-05/0.1883, allocations: 53.69 kB / 0.6632 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1883, allocations: 10.03 kB / 0.6632 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1883, allocations: 7.938 kB / 0.6632 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1883, allocations: 0 / 0.6632 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.1884, allocations: 4 kB / 0.6632 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1884, allocations: 0 / 0.6632 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.1884, allocations: 0 / 0.6632 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1884, allocations: 4 kB / 0.6632 GB, free: 9.625 MB / 0.4981 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 (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 8.056e-05/0.1885, allocations: 114.4 kB / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.1885, allocations: 3.953 kB / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.1886, allocations: 19.44 kB / 0.6634 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1886, allocations: 3.984 kB / 0.6634 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1886, allocations: 0 / 0.6634 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1886, allocations: 0 / 0.6634 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1887, allocations: 153.7 kB / 0.6635 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1887, allocations: 0 / 0.6635 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.1888, allocations: 8 kB / 0.6635 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1888, allocations: 0 / 0.6635 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.1888, allocations: 3.938 kB / 0.6635 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1888, allocations: 0 / 0.6635 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1888, allocations: 0 / 0.6635 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.66e-05/0.1889, allocations: 77.12 kB / 0.6636 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.189, allocations: 93.03 kB / 0.6637 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.189, allocations: 7.875 kB / 0.6637 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.711e-05/0.1891, allocations: 0 / 0.6637 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.1891, allocations: 4 kB / 0.6637 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.1891, allocations: 4 kB / 0.6637 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.107e-05/0.1891, allocations: 79.28 kB / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1891, allocations: 0 / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001766/0.1893, allocations: 8 kB / 0.6638 GB, free: 8.953 MB / 0.4981 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 (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.0001136/0.1894, allocations: 110.4 kB / 0.6639 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.1895, allocations: 16 kB / 0.6639 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1896, allocations: 0 / 0.6639 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/0.1896, allocations: 23.86 kB / 0.6639 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.1898, allocations: 16.09 kB / 0.6639 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.1901, allocations: 122.5 kB / 0.6641 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1904, allocations: 0.6768 MB / 0.6647 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.779e-05/0.1905, allocations: 8 kB / 0.6647 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.1905, allocations: 7.438 kB / 0.6647 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1905, allocations: 0 / 0.6647 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of Templates: time 0.002388/0.1929, allocations: 0.4997 MB / 0.6652 GB, free: 7.422 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)