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.001458/0.001458, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002032/0.002032, allocations: 192.1 kB / 16.13 MB, free: 6.66 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.382/1.382, allocations: 205.1 MB / 222 MB, free: 4.988 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.682/1.682, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001286/0.001286, allocations: 69.27 kB / 0.6708 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2001, allocations: 114.6 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002534/0.2027, allocations: 1.538 MB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.2039, allocations: 0.8361 MB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.2039, allocations: 4 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.204, allocations: 7.938 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.204, allocations: 3.938 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.2044, allocations: 115.5 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.82e-05/0.2045, allocations: 47.86 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2046, allocations: 15.98 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.83e-05/0.2047, allocations: 19.92 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.2047, allocations: 23.86 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.2047, allocations: 4 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.205, allocations: 171.7 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.2051, allocations: 11.98 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.2051, allocations: 23.86 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.2054, allocations: 147.9 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2054, allocations: 3.938 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2054, allocations: 0 / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2054, allocations: 0 / 0.7856 GB, free: 11.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005949/0.206, allocations: 403.2 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.206, allocations: 8.031 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.2061, allocations: 4.938 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.947e-05/0.2062, allocations: 164.3 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2062, allocations: 4.375 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.2062, allocations: 4.312 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.2065, allocations: 78.2 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2065, allocations: 192 / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.2065, allocations: 15.94 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2065, allocations: 0 / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.2068, allocations: 67.86 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.2072, allocations: 296.7 kB / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.2074, allocations: 58.53 kB / 0.7866 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.2075, allocations: 32.92 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.2077, allocations: 101 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.2078, allocations: 34.55 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2078, allocations: 4 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005512/0.2083, allocations: 129.5 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.2084, allocations: 59.34 kB / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.2085, allocations: 117.8 kB / 0.7871 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.2085, allocations: 25.7 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.2085, allocations: 88.12 kB / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.2086, allocations: 7.906 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.2086, allocations: 13.72 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2087, allocations: 318.8 kB / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.2089, allocations: 35.95 kB / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.209, allocations: 35.91 kB / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.2093, allocations: 64.78 kB / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2093, allocations: 0 / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000325/0.2096, allocations: 105.5 kB / 0.7877 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2097, allocations: 4 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2097, allocations: 0 / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2097, allocations: 3.984 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.2098, allocations: 19.98 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.2098, allocations: 0 / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.2099, allocations: 15.98 kB / 0.7878 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2099, allocations: 0 / 0.7878 GB, free: 8.535 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 7.856e-05/0.21, allocations: 113.7 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.21, allocations: 4 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/0.2104, allocations: 117.4 kB / 0.788 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2104, allocations: 4 kB / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2104, allocations: 0 / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2104, allocations: 0 / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.2106, allocations: 177.5 kB / 0.7882 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2106, allocations: 0 / 0.7882 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.476e-05/0.2107, allocations: 15.97 kB / 0.7882 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2107, allocations: 0 / 0.7882 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2107, allocations: 11.94 kB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2107, allocations: 0 / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2107, allocations: 0 / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.2111, allocations: 195.4 kB / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.2111, allocations: 92.94 kB / 0.7885 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2111, allocations: 0 / 0.7885 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2113, allocations: 19.98 kB / 0.7885 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.2113, allocations: 8.406 kB / 0.7885 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.2113, allocations: 0 / 0.7885 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.476e-05/0.2114, allocations: 91.28 kB / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2114, allocations: 0 / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002557/0.2116, allocations: 27.98 kB / 0.7886 GB, free: 7.566 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.0002079/0.2118, allocations: 135.2 kB / 0.7887 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.2122, allocations: 75.84 kB / 0.7888 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2122, allocations: 0 / 0.7888 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.2123, allocations: 39.95 kB / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.2127, allocations: 7.938 kB / 0.7889 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.213, allocations: 164.9 kB / 0.789 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.2132, allocations: 0.6809 MB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.2132, allocations: 3.984 kB / 0.7897 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.2133, allocations: 11.44 kB / 0.7897 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2133, allocations: 4 kB / 0.7897 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of Templates: time 0.003305/0.2166, allocations: 1.223 MB / 0.7909 GB, free: 5.184 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (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)