Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001849/0.001849, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002071/0.002071, allocations: 199.5 kB / 16.14 MB, free: 6.715 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002688/0.002688, allocations: 288.9 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002797, allocations: 94.72 kB / 0.6057 GB, free: 25.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1792, allocations: 89.15 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002733/0.182, allocations: 1.32 MB / 0.6941 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006734/0.1827, allocations: 310.3 kB / 0.6944 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.424e-05/0.1827, allocations: 0 / 0.6944 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.1828, allocations: 7.938 kB / 0.6944 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.1828, allocations: 4 kB / 0.6944 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.183, allocations: 39.81 kB / 0.6944 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.32e-05/0.1831, allocations: 15.94 kB / 0.6944 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.1832, allocations: 4 kB / 0.6944 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.699e-05/0.1832, allocations: 11.92 kB / 0.6945 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.1833, allocations: 7.938 kB / 0.6945 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1833, allocations: 0 / 0.6945 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1834, allocations: 55.95 kB / 0.6945 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.1834, allocations: 7.984 kB / 0.6945 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.1835, allocations: 7.984 kB / 0.6945 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.1836, allocations: 48.12 kB / 0.6946 GB, free: 3.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1836, allocations: 0 / 0.6946 GB, free: 3.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1836, allocations: 0 / 0.6946 GB, free: 3.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1836, allocations: 0 / 0.6946 GB, free: 3.008 MB / 494.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.0004747/0.1841, allocations: 335.5 kB / 0.6949 GB, free: 2.629 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1842, allocations: 12.03 kB / 0.6949 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.1844, allocations: 20.91 kB / 0.6949 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1845, allocations: 168.3 kB / 0.6951 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1846, allocations: 4.375 kB / 0.6951 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1846, allocations: 384 / 0.6951 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.1847, allocations: 42.25 kB / 0.6951 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1847, allocations: 192 / 0.6951 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1847, allocations: 3.938 kB / 0.6951 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1847, allocations: 0 / 0.6951 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.347e-05/0.1848, allocations: 23.92 kB / 0.6952 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.185, allocations: 169.6 kB / 0.6953 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.1871, allocations: 266.4 kB / 0.6956 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.1871, allocations: 24.86 kB / 0.6956 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.1872, allocations: 0 / 0.6956 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1872, allocations: 34.56 kB / 0.6956 GB, free: 1.762 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1872, allocations: 0 / 0.6956 GB, free: 1.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000163/0.1874, allocations: 65.56 kB / 0.6957 GB, free: 1.691 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.1874, allocations: 51.41 kB / 0.6957 GB, free: 1.629 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.1875, allocations: 101.8 kB / 0.6958 GB, free: 1.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1875, allocations: 29.7 kB / 0.6959 GB, free: 1.484 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.1876, allocations: 80.14 kB / 0.6959 GB, free: 1.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.1876, allocations: 7.812 kB / 0.696 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.1877, allocations: 17.72 kB / 0.696 GB, free: 1.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1878, allocations: 310.8 kB / 0.6963 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.1878, allocations: 11.98 kB / 0.6963 GB, free: 1.047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.1878, allocations: 8 kB / 0.6963 GB, free: 1.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.1879, allocations: 28.8 kB / 0.6963 GB, free: 1.008 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1879, allocations: 4.125 kB / 0.6963 GB, free: 1.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.568e-05/0.188, allocations: 53.69 kB / 0.6964 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.188, allocations: 8 kB / 0.6964 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.188, allocations: 3.938 kB / 0.6964 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1881, allocations: 0 / 0.6964 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.1881, allocations: 11.98 kB / 0.6964 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1881, allocations: 0 / 0.6964 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.1882, allocations: 0 / 0.6964 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.1882, allocations: 4 kB / 0.6964 GB, free: 0.918 MB / 494.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.039e-05/0.1883, allocations: 109.8 kB / 0.6965 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.1883, allocations: 0 / 0.6965 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.1883, allocations: 15.44 kB / 0.6965 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1883, allocations: 0 / 0.6965 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1884, allocations: 3.938 kB / 0.6965 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1884, allocations: 0 / 0.6965 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1885, allocations: 161.6 kB / 0.6967 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1885, allocations: 0 / 0.6967 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.1886, allocations: 11.94 kB / 0.6967 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1886, allocations: 0 / 0.6967 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1886, allocations: 7.922 kB / 0.6967 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1886, allocations: 4 kB / 0.6967 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1886, allocations: 0 / 0.6967 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.1887, allocations: 77.36 kB / 0.6968 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.1888, allocations: 85.14 kB / 0.6969 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1888, allocations: 7.938 kB / 0.6969 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.596e-05/0.1889, allocations: 3.938 kB / 0.6969 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.1889, allocations: 7.984 kB / 0.6969 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1889, allocations: 4 kB / 0.6969 GB, free: 340 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.065e-05/0.189, allocations: 79.22 kB / 0.6969 GB, free: 260 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.189, allocations: 0 / 0.6969 GB, free: 260 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000185/0.1892, allocations: 8 kB / 0.697 GB, free: 252 kB / 494.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.0001263/0.1893, allocations: 99.25 kB / 0.6971 GB, free: 140 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.526e-05/0.1894, allocations: 23.98 kB / 0.6971 GB, free: 116 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1894, allocations: 0 / 0.6971 GB, free: 116 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.415e-05/0.1894, allocations: 12.09 kB / 0.6971 GB, free: 104 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.1897, allocations: 15.42 kB / 0.6971 GB, free: 92 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.1901, allocations: 128.3 kB / 0.6972 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.1904, allocations: 0.677 MB / 0.6979 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.181e-05/0.1905, allocations: 4 kB / 0.6979 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.1905, allocations: 11.44 kB / 0.6979 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1905, allocations: 0 / 0.6979 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.002936/0.1935, allocations: 0.4965 MB / 0.6984 GB, free: 14.73 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)