Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_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_8_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.001122/0.001122, allocations: 105.4 kB / 15.7 MB, free: 28 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.001297/0.001297, allocations: 193.9 kB / 16.64 MB, free: 6.453 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.338/1.338, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 66.62 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1986, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003283/0.202, allocations: 1.256 MB / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005547/0.2025, allocations: 295 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.2026, allocations: 4 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.2026, allocations: 0 / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.513e-05/0.2027, allocations: 7.922 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.203, allocations: 51.75 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.203, allocations: 19.92 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.2031, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.528e-05/0.2031, allocations: 7.938 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.2032, allocations: 11.98 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.2032, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.2033, allocations: 59.89 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.2033, allocations: 4 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.2034, allocations: 11.92 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.2035, allocations: 43.91 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2035, allocations: 0 / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2035, allocations: 0 / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.2035, allocations: 0 / 0.7858 GB, free: 10.99 MB / 0.6075 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.0003501/0.2039, allocations: 343.4 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2039, allocations: 8.031 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.2041, allocations: 24.83 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.967e-05/0.2043, allocations: 168.3 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2043, allocations: 4.375 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.2043, allocations: 384 / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.2044, allocations: 42.25 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2044, allocations: 4.172 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2045, allocations: 3.938 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2045, allocations: 0 / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.424e-05/0.2045, allocations: 16 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.2047, allocations: 161.7 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.2064, allocations: 270.4 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.2065, allocations: 24.83 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.2065, allocations: 0 / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.2065, allocations: 38.56 kB / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2065, allocations: 0 / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001519/0.2067, allocations: 61.62 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.2067, allocations: 55.34 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.05e-05/0.2068, allocations: 97.86 kB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.2068, allocations: 25.7 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.2068, allocations: 80.14 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.2069, allocations: 19.78 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.2069, allocations: 17.72 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.207, allocations: 310.8 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.207, allocations: 8 kB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.207, allocations: 11.98 kB / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.197e-05/0.2071, allocations: 24.98 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2071, allocations: 4 kB / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.002e-05/0.2072, allocations: 57.62 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2072, allocations: 4 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2072, allocations: 7.875 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2072, allocations: 0 / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.088e-05/0.2073, allocations: 8 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2073, allocations: 0 / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.678e-05/0.2073, allocations: 3.938 kB / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.2073, allocations: 0 / 0.7877 GB, free: 8.895 MB / 0.6075 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 6.419e-05/0.2074, allocations: 117.8 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-06/0.2074, allocations: 0 / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.2074, allocations: 15.42 kB / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2075, allocations: 0 / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2075, allocations: 4 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2075, allocations: 0 / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.93e-05/0.2076, allocations: 157.6 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2076, allocations: 0 / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.2076, allocations: 4 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2076, allocations: 0 / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.2076, allocations: 7.938 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.2077, allocations: 4 kB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2077, allocations: 0 / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.457e-05/0.2078, allocations: 80.97 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.2078, allocations: 81.47 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.2078, allocations: 11.94 kB / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.691e-05/0.2079, allocations: 0 / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.2079, allocations: 0 / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.2079, allocations: 12 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.66e-05/0.208, allocations: 75.28 kB / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.208, allocations: 0 / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001869/0.2082, allocations: 4 kB / 0.7882 GB, free: 8.227 MB / 0.6075 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.0001107/0.2083, allocations: 111.2 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.679e-05/0.2084, allocations: 19.94 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2084, allocations: 0 / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/0.2084, allocations: 20.08 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.2086, allocations: 14.66 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.2089, allocations: 114.6 kB / 0.7885 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.2092, allocations: 0.6806 MB / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.146e-05/0.2092, allocations: 8 kB / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.2092, allocations: 11.44 kB / 0.7892 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of SimCode: time 1.443e-06/0.2093, allocations: 0 / 0.7892 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of Templates: time 0.002302/0.2116, allocations: 0.5147 MB / 0.7897 GB, free: 6.684 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)