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.001081/0.001081, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006449/0.006449, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.393/1.393, allocations: 205.4 MB / 222.5 MB, free: 5.797 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.737/1.737, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005086/0.0005086, allocations: 13.56 kB / 0.6743 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2029, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001329/0.2042, allocations: 0.982 MB / 0.7888 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005928/0.2048, allocations: 299.1 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.2049, allocations: 0 / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.2049, allocations: 0 / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-05/0.205, allocations: 7.922 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.2052, allocations: 43.83 kB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.088e-05/0.2053, allocations: 11.94 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.2053, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.2054, allocations: 15.97 kB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.2054, allocations: 7.938 kB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2055, allocations: 0 / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.2056, allocations: 59.95 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.2056, allocations: 0 / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.2057, allocations: 37.62 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.2058, allocations: 52.17 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2058, allocations: 0 / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2058, allocations: 0 / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.2058, allocations: 0 / 0.7894 GB, free: 10.05 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.0003365/0.2062, allocations: 327.5 kB / 0.7897 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2062, allocations: 12.03 kB / 0.7897 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.2064, allocations: 20.83 kB / 0.7897 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.119e-05/0.2065, allocations: 172.3 kB / 0.7899 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2065, allocations: 4.375 kB / 0.7899 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.2066, allocations: 384 / 0.7899 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.2067, allocations: 42.25 kB / 0.7899 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.2067, allocations: 192 / 0.7899 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2067, allocations: 7.875 kB / 0.7899 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2067, allocations: 0 / 0.7899 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.997e-05/0.2068, allocations: 23.92 kB / 0.7899 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.2069, allocations: 153.7 kB / 0.7901 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.2088, allocations: 274.4 kB / 0.7903 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.2088, allocations: 20.84 kB / 0.7904 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.2088, allocations: 8 kB / 0.7904 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.2089, allocations: 34.55 kB / 0.7904 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2089, allocations: 0 / 0.7904 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001566/0.209, allocations: 61.62 kB / 0.7905 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.2091, allocations: 55.41 kB / 0.7905 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.2091, allocations: 97.8 kB / 0.7906 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.2092, allocations: 29.69 kB / 0.7906 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.538e-05/0.2092, allocations: 84.27 kB / 0.7907 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.2092, allocations: 7.812 kB / 0.7907 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.2092, allocations: 17.72 kB / 0.7907 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.2093, allocations: 310.8 kB / 0.791 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.2094, allocations: 8 kB / 0.7911 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.2094, allocations: 7.984 kB / 0.7911 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.584e-05/0.2094, allocations: 28.86 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2095, allocations: 0 / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.93e-05/0.2095, allocations: 53.69 kB / 0.7911 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2096, allocations: 4 kB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2096, allocations: 11.88 kB / 0.7912 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2096, allocations: 0 / 0.7912 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.609e-05/0.2096, allocations: 12 kB / 0.7912 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2097, allocations: 0 / 0.7912 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.2097, allocations: 0 / 0.7912 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.2097, allocations: 0 / 0.7912 GB, free: 7.977 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 7.298e-05/0.2098, allocations: 113.8 kB / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.2098, allocations: 0 / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.2098, allocations: 11.44 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2098, allocations: 4 kB / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2099, allocations: 0 / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2099, allocations: 4 kB / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.21, allocations: 161.5 kB / 0.7914 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.21, allocations: 0 / 0.7914 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.21, allocations: 4 kB / 0.7914 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.21, allocations: 0 / 0.7914 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.21, allocations: 7.938 kB / 0.7915 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2101, allocations: 4 kB / 0.7915 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2101, allocations: 0 / 0.7915 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.2102, allocations: 92.89 kB / 0.7915 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.2102, allocations: 77.11 kB / 0.7916 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.2102, allocations: 3.938 kB / 0.7916 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.2103, allocations: 8 kB / 0.7916 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.2103, allocations: 0 / 0.7916 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.2103, allocations: 3.984 kB / 0.7916 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.665e-05/0.2104, allocations: 79.28 kB / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2104, allocations: 4.094 kB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000177/0.2106, allocations: 4 kB / 0.7917 GB, free: 7.301 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.0001055/0.2107, allocations: 99.25 kB / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.701e-05/0.2108, allocations: 28.3 kB / 0.7918 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2108, allocations: 0 / 0.7918 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.115e-05/0.2108, allocations: 12 kB / 0.7919 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.211, allocations: 11.98 kB / 0.7919 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.2113, allocations: 136.8 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.2115, allocations: 0.677 MB / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.134e-05/0.2116, allocations: 11.98 kB / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.2116, allocations: 11.38 kB / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2116, allocations: 0 / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.002275/0.2139, allocations: 498.7 kB / 0.7932 GB, free: 5.77 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: