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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 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.7815/0.7815, allocations: 141.9 MB / 149.3 MB, free: 9.195 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 176.9 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008748/0.0008751, allocations: 84.16 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001737, allocations: 280.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.452e-05/1.456e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3622, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.4954, allocations: 109.9 MB / 0.8647 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.4957, allocations: 83.81 kB / 0.8648 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008561/0.5042, allocations: 2.535 MB / 0.8672 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5043, allocations: 0 / 0.8672 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5043, allocations: 0 / 0.8672 GB, free: 15.35 MB / 0.5417 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.0004759/0.5048, allocations: 390.4 kB / 0.8676 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5048, allocations: 12.03 kB / 0.8676 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.5049, allocations: 3.906 kB / 0.8676 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.505, allocations: 171 kB / 0.8678 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.505, allocations: 7.891 kB / 0.8678 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.505, allocations: 4 kB / 0.8678 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.681e-05/0.5051, allocations: 23.94 kB / 0.8678 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.648e-05/0.5052, allocations: 47.64 kB / 0.8679 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.5052, allocations: 7.984 kB / 0.8679 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.5053, allocations: 4 kB / 0.8679 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.5053, allocations: 0 / 0.8679 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.5056, allocations: 265.2 kB / 0.8681 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.354e-05/0.5057, allocations: 26.58 kB / 0.8682 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.5057, allocations: 16.86 kB / 0.8682 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.5059, allocations: 93.19 kB / 0.8683 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.5059, allocations: 30.56 kB / 0.8683 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.506, allocations: 0 / 0.8683 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0003494/0.5063, allocations: 81.56 kB / 0.8684 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.5063, allocations: 55.34 kB / 0.8684 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.5064, allocations: 101 kB / 0.8685 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.5064, allocations: 25.7 kB / 0.8685 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.5065, allocations: 92.14 kB / 0.8686 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.5065, allocations: 7.844 kB / 0.8686 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.5065, allocations: 0 / 0.8686 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5066, allocations: 326.8 kB / 0.869 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.5067, allocations: 4 kB / 0.869 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.977e-05/0.5067, allocations: 8 kB / 0.869 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.5069, allocations: 31.97 kB / 0.869 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5069, allocations: 4 kB / 0.869 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002566/0.5072, allocations: 77.56 kB / 0.8691 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.5072, allocations: 8 kB / 0.8691 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5072, allocations: 0 / 0.8691 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.5072, allocations: 0 / 0.8691 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.5074, allocations: 23.97 kB / 0.8691 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.5074, allocations: 3.938 kB / 0.8691 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.219e-05/0.5075, allocations: 19.98 kB / 0.8691 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.5075, allocations: 384 / 0.8691 GB, free: 13.2 MB / 0.5417 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 () * 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 6.572e-05/0.5076, allocations: 104.9 kB / 0.8692 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.5076, allocations: 4 kB / 0.8692 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.508, allocations: 89.89 kB / 0.8693 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.508, allocations: 3.938 kB / 0.8693 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.508, allocations: 3.938 kB / 0.8693 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.508, allocations: 0 / 0.8693 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.5082, allocations: 150.2 kB / 0.8695 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.5082, allocations: 3.953 kB / 0.8695 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.5083, allocations: 23.97 kB / 0.8695 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5083, allocations: 0 / 0.8695 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.5083, allocations: 4 kB / 0.8695 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5083, allocations: 0 / 0.8695 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5083, allocations: 3.938 kB / 0.8695 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.5086, allocations: 175.8 kB / 0.8697 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.5087, allocations: 89 kB / 0.8698 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.5087, allocations: 0 / 0.8698 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.5089, allocations: 15.98 kB / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.5089, allocations: 7.984 kB / 0.8698 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.5089, allocations: 0 / 0.8698 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.906e-05/0.509, allocations: 87.28 kB / 0.8699 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.509, allocations: 0 / 0.8699 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002663/0.5092, allocations: 35.92 kB / 0.8699 GB, free: 12.32 MB / 0.5417 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 () * 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.0002043/0.5094, allocations: 135.2 kB / 0.87 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.554e-05/0.5095, allocations: 23.92 kB / 0.87 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5096, allocations: 0 / 0.87 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.075e-05/0.5096, allocations: 12 kB / 0.8701 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.5098, allocations: 13.25 kB / 0.8701 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.51, allocations: 75.88 kB / 0.8701 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.5102, allocations: 0.6885 MB / 0.8708 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.5103, allocations: 0 / 0.8708 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.5103, allocations: 11.72 kB / 0.8708 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.5103, allocations: 3.938 kB / 0.8708 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.003215/0.5135, allocations: 1.05 MB / 0.8719 GB, free: 10.27 MB / 0.5417 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)