Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000794/0.0007941, allocations: 98.03 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.005633/0.005633, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.406/1.406, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.696/1.696, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004836/0.0004836, allocations: 18.89 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2086, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001573/0.2102, allocations: 1.206 MB / 0.789 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.2115, allocations: 0.8283 MB / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.2115, allocations: 0 / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.2115, allocations: 0 / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.2116, allocations: 15.84 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.212, allocations: 111.6 kB / 0.79 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.212, allocations: 43.86 kB / 0.79 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/0.2121, allocations: 15.98 kB / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.376e-05/0.2122, allocations: 19.86 kB / 0.7901 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.508e-05/0.2122, allocations: 27.84 kB / 0.7901 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.2123, allocations: 4 kB / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.2126, allocations: 167.8 kB / 0.7902 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.2126, allocations: 11.92 kB / 0.7903 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.2126, allocations: 49.56 kB / 0.7903 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.2129, allocations: 143.9 kB / 0.7904 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2129, allocations: 0 / 0.7904 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2129, allocations: 0 / 0.7904 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2129, allocations: 0 / 0.7904 GB, free: 8.926 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004893/0.2134, allocations: 399.3 kB / 0.7908 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2134, allocations: 8.031 kB / 0.7908 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.2135, allocations: 8.844 kB / 0.7908 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.2136, allocations: 180.3 kB / 0.791 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.2136, allocations: 4.312 kB / 0.791 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.2136, allocations: 4.375 kB / 0.791 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.2139, allocations: 82.22 kB / 0.7911 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2139, allocations: 192 / 0.7911 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.2139, allocations: 3.938 kB / 0.7911 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2139, allocations: 4 kB / 0.7911 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.2142, allocations: 91.92 kB / 0.7912 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.2146, allocations: 292.6 kB / 0.7915 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.2148, allocations: 70.53 kB / 0.7915 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.215, allocations: 48.92 kB / 0.7916 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.2151, allocations: 89.09 kB / 0.7917 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.2151, allocations: 34.55 kB / 0.7917 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.2152, allocations: 3.938 kB / 0.7917 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005596/0.2157, allocations: 169.5 kB / 0.7919 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.2158, allocations: 51.41 kB / 0.7919 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.2159, allocations: 125.7 kB / 0.792 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.2159, allocations: 25.7 kB / 0.7921 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.2159, allocations: 92.12 kB / 0.7921 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.2159, allocations: 15.81 kB / 0.7922 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.216, allocations: 9.719 kB / 0.7922 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.2161, allocations: 322.8 kB / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.2162, allocations: 39.97 kB / 0.7925 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.2164, allocations: 43.97 kB / 0.7926 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.2167, allocations: 88.78 kB / 0.7926 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2167, allocations: 0 / 0.7926 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00034/0.217, allocations: 125.6 kB / 0.7928 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2171, allocations: 7.984 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.2171, allocations: 0 / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.2171, allocations: 0 / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.2172, allocations: 23.98 kB / 0.7928 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2172, allocations: 4 kB / 0.7928 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.474e-05/0.2173, allocations: 15.98 kB / 0.7928 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2173, allocations: 0 / 0.7928 GB, free: 6.246 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 (3): * Single equations (assignments): 3 * 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.834e-05/0.2174, allocations: 122.7 kB / 0.7929 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.2174, allocations: 3.906 kB / 0.7929 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.2178, allocations: 137.4 kB / 0.7931 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2178, allocations: 0 / 0.7931 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2178, allocations: 4 kB / 0.7931 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2178, allocations: 0 / 0.7931 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.218, allocations: 177.6 kB / 0.7932 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.218, allocations: 3.984 kB / 0.7932 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-05/0.2181, allocations: 19.98 kB / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2181, allocations: 4 kB / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2181, allocations: 0 / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2181, allocations: 0 / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2182, allocations: 0 / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.2185, allocations: 227.3 kB / 0.7935 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.2186, allocations: 77.11 kB / 0.7936 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.2186, allocations: 0 / 0.7936 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.2187, allocations: 23.92 kB / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.2188, allocations: 12.34 kB / 0.7936 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.2188, allocations: 0 / 0.7936 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.058e-05/0.2188, allocations: 87.28 kB / 0.7937 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2188, allocations: 0 / 0.7937 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002726/0.2191, allocations: 39.92 kB / 0.7937 GB, free: 5.219 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 (3): * Single equations (assignments): 3 * 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.000183/0.2193, allocations: 123.2 kB / 0.7938 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.2197, allocations: 99.91 kB / 0.7939 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2197, allocations: 0 / 0.7939 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.2199, allocations: 47.95 kB / 0.794 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.2201, allocations: 18 kB / 0.794 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.2205, allocations: 182.4 kB / 0.7942 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.2207, allocations: 0.6809 MB / 0.7948 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.2207, allocations: 0 / 0.7948 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.2207, allocations: 19.42 kB / 0.7948 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2208, allocations: 0 / 0.7948 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of Templates: time 0.003462/0.2242, allocations: 1.207 MB / 0.796 GB, free: 2.809 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) Environment - environmentSimulation: