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.001058/0.001058, allocations: 99.28 kB / 16.27 MB, free: 6 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.001107/0.001107, allocations: 189.3 kB / 17.2 MB, free: 5.613 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.616/1.616, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.854/1.854, allocations: 292.3 MB / 0.5495 GB, free: 17.34 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.001461/0.001461, allocations: 63.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2805, allocations: 114.6 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002861/0.2834, allocations: 1.491 MB / 0.7855 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2847, allocations: 0.8116 MB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.2848, allocations: 0 / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.2848, allocations: 3.938 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.323e-05/0.2849, allocations: 15.84 kB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.2854, allocations: 127.5 kB / 0.7864 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.227e-05/0.2855, allocations: 63.72 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.2856, allocations: 8 kB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.059e-05/0.2857, allocations: 27.84 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.2857, allocations: 27.91 kB / 0.7865 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.2858, allocations: 4 kB / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.2861, allocations: 163.8 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.2861, allocations: 15.98 kB / 0.7867 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.2862, allocations: 23.86 kB / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.2864, allocations: 147.9 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2864, allocations: 0 / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2864, allocations: 0 / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.2865, allocations: 0 / 0.7869 GB, free: 0.9375 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.0006047/0.2871, allocations: 395.2 kB / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2871, allocations: 8.031 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.2872, allocations: 12.94 kB / 0.7873 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.2873, allocations: 176.2 kB / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2873, allocations: 384 / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.2873, allocations: 384 / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.2876, allocations: 70.22 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.2876, allocations: 192 / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2876, allocations: 7.938 kB / 0.7875 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2876, allocations: 0 / 0.7875 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.2879, allocations: 71.92 kB / 0.7876 GB, free: 120 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5651/0.8531, allocations: 282.8 kB / 0.7878 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.8534, allocations: 58 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.8535, allocations: 45.62 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/0.8538, allocations: 92 kB / 0.788 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.8538, allocations: 35.5 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.864e-06/0.8538, allocations: 0 / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005679/0.8544, allocations: 134 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.8544, allocations: 52.34 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.8545, allocations: 121.1 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.8545, allocations: 25.7 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.8546, allocations: 86.83 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.8546, allocations: 6.562 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.8547, allocations: 20.69 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.8547, allocations: 315.3 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.8549, allocations: 33.61 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.855, allocations: 32.69 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.8553, allocations: 70.77 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.8553, allocations: 3.312 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003097/0.8556, allocations: 103.8 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.8557, allocations: 5.75 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.8557, allocations: 0 / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.8557, allocations: 3.344 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.8559, allocations: 20.12 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.8559, allocations: 0 / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.856, allocations: 11.86 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.8561, allocations: 0 / 0.7891 GB, free: 47.75 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 7.844e-05/0.8561, allocations: 114.9 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.8562, allocations: 10.47 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.8566, allocations: 113.4 kB / 0.7893 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.8566, allocations: 2.812 kB / 0.7893 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8566, allocations: 0.5312 kB / 0.7893 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.8566, allocations: 3.5 kB / 0.7893 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.8568, allocations: 176.8 kB / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8568, allocations: 0.875 kB / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.8569, allocations: 14.42 kB / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8569, allocations: 0 / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.8569, allocations: 3.781 kB / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8569, allocations: 2.625 kB / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8569, allocations: 0 / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.8574, allocations: 200 kB / 0.7897 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.8575, allocations: 82.02 kB / 0.7898 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.8575, allocations: 1.312 kB / 0.7898 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.8577, allocations: 13.78 kB / 0.7898 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.8577, allocations: 6.328 kB / 0.7898 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.8578, allocations: 4.625 kB / 0.7898 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.765e-05/0.8578, allocations: 93.14 kB / 0.7899 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8578, allocations: 1 kB / 0.7899 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004231/0.8583, allocations: 33.7 kB / 0.7899 GB, free: 47.1 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.0003033/0.8586, allocations: 136.2 kB / 0.79 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000456/0.859, allocations: 77.53 kB / 0.7901 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8591, allocations: 0 / 0.7901 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.8592, allocations: 39.06 kB / 0.7901 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.8598, allocations: 10.97 kB / 0.7902 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.8603, allocations: 179.5 kB / 0.7903 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.8605, allocations: 0.6806 MB / 0.791 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.8605, allocations: 15.94 kB / 0.791 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.8605, allocations: 0 / 0.791 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.004525/0.8651, allocations: 1.214 MB / 0.7922 GB, free: 46.11 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)