Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7867/0.7867, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009935/0.0009934, allocations: 179.9 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 426.3 MB, free: 8.438 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008578/0.0008579, allocations: 90.3 kB / 0.4945 GB, free: 8.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001687/0.001687, allocations: 271.4 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004785, allocations: 16 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3567, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.4861, allocations: 109.1 MB / 0.846 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.4864, allocations: 79.95 kB / 0.8461 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.007829/0.4943, allocations: 2.507 MB / 0.8486 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4943, allocations: 0 / 0.8486 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4943, allocations: 0 / 0.8486 GB, free: 14.46 MB / 0.5261 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.0004981/0.4948, allocations: 404.5 kB / 0.8489 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4949, allocations: 8.031 kB / 0.849 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.4949, allocations: 8.844 kB / 0.849 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.495, allocations: 176.2 kB / 0.8491 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.4951, allocations: 4.375 kB / 0.8491 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.4951, allocations: 4.375 kB / 0.8491 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.4953, allocations: 82.22 kB / 0.8492 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.4954, allocations: 192 / 0.8492 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4954, allocations: 3.938 kB / 0.8492 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4954, allocations: 0 / 0.8492 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.4957, allocations: 91.92 kB / 0.8493 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.4961, allocations: 292.7 kB / 0.8496 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.4964, allocations: 70.53 kB / 0.8497 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.4965, allocations: 52.86 kB / 0.8497 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.4967, allocations: 89.09 kB / 0.8498 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.4967, allocations: 34.56 kB / 0.8498 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.4967, allocations: 0 / 0.8498 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0005244/0.4973, allocations: 169.4 kB / 0.85 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.4973, allocations: 51.41 kB / 0.85 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.4974, allocations: 113.8 kB / 0.8501 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.4974, allocations: 33.62 kB / 0.8502 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.4975, allocations: 96.14 kB / 0.8503 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.4975, allocations: 7.812 kB / 0.8503 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.4975, allocations: 0 / 0.8503 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4977, allocations: 326.8 kB / 0.8506 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.4978, allocations: 42.12 kB / 0.8506 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.498, allocations: 35.97 kB / 0.8507 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.4982, allocations: 92.78 kB / 0.8508 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4982, allocations: 0 / 0.8508 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003233/0.4986, allocations: 129.5 kB / 0.8509 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4986, allocations: 4 kB / 0.8509 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4986, allocations: 4 kB / 0.8509 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4986, allocations: 4 kB / 0.8509 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4987, allocations: 15.98 kB / 0.8509 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.4988, allocations: 4 kB / 0.8509 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.4989, allocations: 15.98 kB / 0.8509 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.4989, allocations: 336 / 0.8509 GB, free: 11.81 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.357e-05/0.499, allocations: 117.8 kB / 0.851 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.499, allocations: 11.89 kB / 0.851 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.4994, allocations: 133.4 kB / 0.8512 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4994, allocations: 4 kB / 0.8512 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4994, allocations: 0 / 0.8512 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4994, allocations: 0 / 0.8512 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.4996, allocations: 173.6 kB / 0.8513 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4996, allocations: 0 / 0.8513 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.4997, allocations: 27.98 kB / 0.8514 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4997, allocations: 3.938 kB / 0.8514 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.4997, allocations: 4 kB / 0.8514 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4997, allocations: 0 / 0.8514 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4997, allocations: 0 / 0.8514 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.5001, allocations: 219.3 kB / 0.8516 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.5001, allocations: 77.11 kB / 0.8517 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.5002, allocations: 4 kB / 0.8517 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.5003, allocations: 27.92 kB / 0.8517 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.5004, allocations: 3.984 kB / 0.8517 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.5004, allocations: 0 / 0.8517 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.348e-05/0.5004, allocations: 95.27 kB / 0.8518 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5004, allocations: 0 / 0.8518 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002665/0.5007, allocations: 39.94 kB / 0.8518 GB, free: 10.79 MB / 0.5261 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 (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.0002231/0.5009, allocations: 135.2 kB / 0.8519 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.5013, allocations: 91.92 kB / 0.852 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5013, allocations: 0 / 0.852 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.5014, allocations: 43.91 kB / 0.8521 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.5017, allocations: 30.17 kB / 0.8521 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.502, allocations: 158.4 kB / 0.8523 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.5023, allocations: 0.6848 MB / 0.8529 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.5023, allocations: 8 kB / 0.8529 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.5023, allocations: 11.44 kB / 0.8529 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of SimCode: time 2.11e-07/0.5023, allocations: 0 / 0.8529 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of Templates: time 0.00335/0.5057, allocations: 1.181 MB / 0.8541 GB, free: 8.402 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)