Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 293 MB / 309 MB, free: 4.773 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001057, allocations: 195.9 kB / 378.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.4 MB / 0.6383 GB, free: 8.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008189/0.000819, allocations: 98.02 kB / 0.7527 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004561, allocations: 15.98 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2393, allocations: 116.4 MB / 0.9904 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6963/0.9356, allocations: 140.7 MB / 1.128 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.9359, allocations: 82.33 kB / 1.128 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007378/0.9433, allocations: 2.672 MB / 1.131 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9434, allocations: 3.938 kB / 1.131 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.9434, allocations: 0 / 1.131 GB, free: 31.46 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003377/0.9437, allocations: 359.7 kB / 1.131 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.9438, allocations: 11.36 kB / 1.131 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.9438, allocations: 9.469 kB / 1.131 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.044e-05/0.9439, allocations: 160.4 kB / 1.131 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.866e-05/0.944, allocations: 38.27 kB / 1.131 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.944, allocations: 384 / 1.131 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.9442, allocations: 48.95 kB / 1.131 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.9442, allocations: 4.688 kB / 1.131 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.9442, allocations: 0 / 1.131 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.9442, allocations: 0 / 1.131 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.472e-05/0.9443, allocations: 19.97 kB / 1.131 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.9444, allocations: 153.2 kB / 1.131 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.9446, allocations: 54.08 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.9447, allocations: 16.8 kB / 1.131 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.9449, allocations: 181.1 kB / 1.132 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.945, allocations: 33.98 kB / 1.132 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.945, allocations: 0.9375 kB / 1.132 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0002176/0.9452, allocations: 73.42 kB / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.9452, allocations: 51.41 kB / 1.132 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.033e-05/0.9453, allocations: 93.86 kB / 1.132 GB, free: 30 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.9453, allocations: 32.97 kB / 1.132 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.673e-05/0.9453, allocations: 84.14 kB / 1.132 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.9454, allocations: 15.75 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/0.9454, allocations: 0 / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.9454, allocations: 314.8 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.204e-05/0.9455, allocations: 19.31 kB / 1.132 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.158e-05/0.9455, allocations: 9.484 kB / 1.132 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.437e-05/0.9456, allocations: 28.61 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.9456, allocations: 0 / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001043/0.9457, allocations: 53.72 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.9457, allocations: 8.875 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.9458, allocations: 0 / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.9458, allocations: 4 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.9458, allocations: 12.22 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.9458, allocations: 3.938 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.81e-05/0.9459, allocations: 4.688 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.9459, allocations: 4 kB / 1.132 GB, free: 29.41 MB / 0.7292 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.946, allocations: 105.8 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.946, allocations: 7.844 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.9461, allocations: 73.92 kB / 1.133 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.9461, allocations: 0 / 1.133 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9462, allocations: 0 / 1.133 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.9462, allocations: 0.5625 kB / 1.133 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.902e-05/0.9463, allocations: 162.5 kB / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.9463, allocations: 0 / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.9463, allocations: 8.594 kB / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.9463, allocations: 7.938 kB / 1.133 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.9463, allocations: 3.938 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9463, allocations: 0 / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9464, allocations: 0.5625 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.9465, allocations: 84.22 kB / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.9465, allocations: 77.67 kB / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.9466, allocations: 7.938 kB / 1.133 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.949e-05/0.9466, allocations: 3.562 kB / 1.133 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.9467, allocations: 6.516 kB / 1.133 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.9467, allocations: 4 kB / 1.133 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.248e-05/0.9467, allocations: 86.69 kB / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9467, allocations: 4.656 kB / 1.133 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002233/0.9469, allocations: 35.94 kB / 1.133 GB, free: 28.68 MB / 0.7292 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.9471, allocations: 142.2 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.9473, allocations: 30.92 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9473, allocations: 4 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.375e-05/0.9473, allocations: 12 kB / 1.133 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.9475, allocations: 12.27 kB / 1.133 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.9478, allocations: 141.6 kB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.948, allocations: 0.677 MB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.706e-05/0.9481, allocations: 8.969 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.9481, allocations: 11.44 kB / 1.134 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9481, allocations: 0 / 1.134 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of Templates: time 0.003218/0.9513, allocations: 0.9721 MB / 1.135 GB, free: 27.09 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)