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.001157/0.001157, allocations: 102.5 kB / 16.29 MB, free: 6.004 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.001089/0.001089, allocations: 178.2 kB / 17.22 MB, free: 5.617 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.22/1.22, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.582/1.582, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001253/0.001253, allocations: 63.91 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1964, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002307/0.1988, allocations: 1.488 MB / 0.7855 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1999, allocations: 0.8116 MB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.2, allocations: 0 / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.2, allocations: 11.86 kB / 0.7863 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.2001, allocations: 7.938 kB / 0.7863 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.2004, allocations: 131.4 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.05e-05/0.2005, allocations: 51.78 kB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.2006, allocations: 15.98 kB / 0.7865 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.76e-05/0.2006, allocations: 23.92 kB / 0.7865 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.026e-05/0.2007, allocations: 23.92 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.2007, allocations: 4 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.201, allocations: 175.7 kB / 0.7867 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.201, allocations: 7.984 kB / 0.7867 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.2011, allocations: 23.88 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.2013, allocations: 151.8 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2013, allocations: 0 / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2013, allocations: 0 / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2013, allocations: 0 / 0.7869 GB, free: 0.8867 MB / 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.0004594/0.2018, allocations: 399.2 kB / 0.7873 GB, free: 456 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.2018, allocations: 8.031 kB / 0.7873 GB, free: 448 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.2019, allocations: 4.938 kB / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.202, allocations: 168.2 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.202, allocations: 12.31 kB / 0.7875 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.202, allocations: 384 / 0.7875 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.2022, allocations: 74.2 kB / 0.7875 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.2022, allocations: 4.188 kB / 0.7875 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.2022, allocations: 3.938 kB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.2023, allocations: 4 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.2025, allocations: 63.92 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3141/0.5167, allocations: 288.8 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.5169, allocations: 56.38 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.517, allocations: 39.08 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.5172, allocations: 93.59 kB / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.5172, allocations: 35.34 kB / 0.7881 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/0.5172, allocations: 0 / 0.7881 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004218/0.5176, allocations: 135.7 kB / 0.7882 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.5177, allocations: 55.16 kB / 0.7883 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.11e-05/0.5177, allocations: 110.5 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.5178, allocations: 27.08 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.5178, allocations: 92.41 kB / 0.7885 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.5178, allocations: 10.12 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.5178, allocations: 16.94 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.5179, allocations: 318.7 kB / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.518, allocations: 31.09 kB / 0.7889 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.5181, allocations: 32.95 kB / 0.7889 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.5183, allocations: 69.45 kB / 0.789 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5183, allocations: 0 / 0.789 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002333/0.5186, allocations: 107.6 kB / 0.7891 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.5186, allocations: 7.625 kB / 0.7891 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.5186, allocations: 0 / 0.7891 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5186, allocations: 0 / 0.7891 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.5187, allocations: 21.33 kB / 0.7891 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.5187, allocations: 0.5938 kB / 0.7891 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.5188, allocations: 15.66 kB / 0.7891 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.5188, allocations: 0 / 0.7891 GB, free: 47.72 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.153e-05/0.5189, allocations: 119.3 kB / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.5189, allocations: 10.5 kB / 0.7892 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.5192, allocations: 108.4 kB / 0.7893 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5192, allocations: 6.156 kB / 0.7893 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5192, allocations: 0.5 kB / 0.7893 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5192, allocations: 0 / 0.7893 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.5193, allocations: 176.9 kB / 0.7895 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5193, allocations: 0 / 0.7895 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/0.5194, allocations: 18.36 kB / 0.7895 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5194, allocations: 0 / 0.7895 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.5194, allocations: 1.062 kB / 0.7895 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.5194, allocations: 4.812 kB / 0.7895 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5194, allocations: 0 / 0.7895 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.5197, allocations: 199.5 kB / 0.7897 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.5197, allocations: 79.8 kB / 0.7898 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.5197, allocations: 3.5 kB / 0.7898 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.5198, allocations: 12.55 kB / 0.7898 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.5199, allocations: 9.188 kB / 0.7898 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.5199, allocations: 0.625 kB / 0.7898 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.006e-05/0.5199, allocations: 97.05 kB / 0.7899 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.61e-07/0.5199, allocations: 0 / 0.7899 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002474/0.5202, allocations: 34.98 kB / 0.79 GB, free: 47.07 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.0001574/0.5204, allocations: 130.2 kB / 0.7901 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.5206, allocations: 74.27 kB / 0.7901 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5206, allocations: 0 / 0.7901 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.5208, allocations: 39.14 kB / 0.7902 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.5211, allocations: 20.23 kB / 0.7902 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.5213, allocations: 145.6 kB / 0.7903 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.968e-05/0.5214, allocations: 0.6833 MB / 0.791 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.768e-05/0.5214, allocations: 7.672 kB / 0.791 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.5215, allocations: 10.62 kB / 0.791 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.5215, allocations: 2.625 kB / 0.791 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.002989/0.5245, allocations: 1.363 MB / 0.7924 GB, free: 46.12 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)