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.001134/0.001134, allocations: 108.2 kB / 16.36 MB, free: 5.961 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.00106/0.00106, allocations: 194.7 kB / 17.3 MB, free: 5.574 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.376/1.376, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.797/1.797, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001526/0.001526, allocations: 67.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2805, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.004275/0.2849, allocations: 1.491 MB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.287, allocations: 0.8155 MB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.2871, allocations: 0 / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.2871, allocations: 3.938 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.2872, allocations: 3.938 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.2879, allocations: 135.4 kB / 0.7872 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.288, allocations: 55.83 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.2882, allocations: 12 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.879e-05/0.2882, allocations: 19.92 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.2883, allocations: 31.84 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.2883, allocations: 4 kB / 0.7873 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005453/0.2889, allocations: 175.7 kB / 0.7875 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.2889, allocations: 4 kB / 0.7875 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.289, allocations: 27.86 kB / 0.7875 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.2894, allocations: 151.6 kB / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2895, allocations: 0 / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2895, allocations: 0 / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2895, allocations: 0 / 0.7876 GB, free: 268 kB / 0.6544 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.3306/0.6201, allocations: 392.8 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.6201, allocations: 9.938 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.6202, allocations: 5.469 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.403e-05/0.6202, allocations: 171.3 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.6203, allocations: 3.656 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.6203, allocations: 5.25 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.6205, allocations: 76.73 kB / 0.7883 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.6206, allocations: 192 / 0.7883 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.6206, allocations: 4.625 kB / 0.7883 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.6206, allocations: 0.6562 kB / 0.7883 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.6209, allocations: 76.12 kB / 0.7883 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.6212, allocations: 284.8 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.6214, allocations: 61.22 kB / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.6215, allocations: 40.97 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.6217, allocations: 89.56 kB / 0.7888 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.6217, allocations: 36.39 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.6217, allocations: 2.531 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005026/0.6222, allocations: 131.8 kB / 0.789 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.6222, allocations: 53.81 kB / 0.789 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.997e-05/0.6223, allocations: 121.6 kB / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.6223, allocations: 25.7 kB / 0.7891 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.314e-05/0.6224, allocations: 87.61 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.6224, allocations: 10.11 kB / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.6224, allocations: 15.75 kB / 0.7893 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.89e-05/0.6225, allocations: 317.3 kB / 0.7896 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.6226, allocations: 31.61 kB / 0.7896 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.6227, allocations: 33.16 kB / 0.7896 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.623, allocations: 74.17 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.623, allocations: 0 / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002837/0.6233, allocations: 106 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.6233, allocations: 5.25 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6233, allocations: 2.625 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.6233, allocations: 0 / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.6234, allocations: 17.2 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.6234, allocations: 0 / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.661e-05/0.6235, allocations: 11.02 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.6235, allocations: 0.5 kB / 0.7898 GB, free: 47.44 MB / 0.6544 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 4.387e-05/0.6236, allocations: 115.4 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.6236, allocations: 3.219 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.624, allocations: 118.5 kB / 0.7901 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.624, allocations: 3.562 kB / 0.7901 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.624, allocations: 1.062 kB / 0.7901 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.624, allocations: 2.344 kB / 0.7901 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.6241, allocations: 182.1 kB / 0.7902 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.6241, allocations: 1 kB / 0.7902 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.124e-05/0.6242, allocations: 14.38 kB / 0.7902 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6242, allocations: 2.688 kB / 0.7902 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.6242, allocations: 2.75 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6242, allocations: 0.625 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6242, allocations: 0.875 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.6246, allocations: 200.4 kB / 0.7904 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.6246, allocations: 81.02 kB / 0.7905 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.6246, allocations: 1.375 kB / 0.7905 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.6247, allocations: 13.44 kB / 0.7905 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.6248, allocations: 9.5 kB / 0.7905 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.6248, allocations: 1.375 kB / 0.7905 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.6248, allocations: 90.81 kB / 0.7906 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6248, allocations: 0 / 0.7906 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002817/0.6251, allocations: 35.36 kB / 0.7907 GB, free: 46.78 MB / 0.6544 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.0001998/0.6253, allocations: 134.3 kB / 0.7908 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003248/0.6256, allocations: 68.81 kB / 0.7909 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6257, allocations: 3.406 kB / 0.7909 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.6258, allocations: 34.92 kB / 0.7909 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.6262, allocations: 17.2 kB / 0.7909 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.6265, allocations: 143.5 kB / 0.7911 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.6266, allocations: 0.686 MB / 0.7917 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.519e-05/0.6266, allocations: 4.984 kB / 0.7917 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.6266, allocations: 12.62 kB / 0.7917 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.6267, allocations: 6.688 kB / 0.7917 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.003455/0.6301, allocations: 1.363 MB / 0.7931 GB, free: 45.83 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)