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.7929/0.7929, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001052, allocations: 186.1 kB / 187.3 MB, free: 11.88 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.502/1.502, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009182/0.0009182, allocations: 96.23 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00195/0.00195, allocations: 282.4 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.371e-05/4.373e-05, allocations: 8 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4825, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.6145, allocations: 110.6 MB / 0.8722 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.6149, allocations: 84.36 kB / 0.8723 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.00836/0.6232, allocations: 2.54 MB / 0.8748 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6233, allocations: 0 / 0.8748 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.6233, allocations: 8 kB / 0.8748 GB, free: 11.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.0005279/0.6238, allocations: 391.4 kB / 0.8752 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.6239, allocations: 12.03 kB / 0.8752 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.6239, allocations: 7.891 kB / 0.8752 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.6241, allocations: 171 kB / 0.8754 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.6241, allocations: 11.95 kB / 0.8754 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.6241, allocations: 0 / 0.8754 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.6243, allocations: 49.69 kB / 0.8754 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.6243, allocations: 0 / 0.8754 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.6243, allocations: 3.938 kB / 0.8754 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.6243, allocations: 4 kB / 0.8754 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.39e-05/0.6244, allocations: 20 kB / 0.8754 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.6248, allocations: 288.8 kB / 0.8757 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.11e-05/0.6249, allocations: 30.52 kB / 0.8758 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.625, allocations: 20.86 kB / 0.8758 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.6251, allocations: 89.19 kB / 0.8759 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.6252, allocations: 30.56 kB / 0.8759 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.6252, allocations: 4 kB / 0.8759 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001845/0.6254, allocations: 57.59 kB / 0.8759 GB, free: 10 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.6254, allocations: 51.41 kB / 0.876 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.6255, allocations: 112.9 kB / 0.8761 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.6256, allocations: 25.7 kB / 0.8761 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.6256, allocations: 88.14 kB / 0.8762 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.6257, allocations: 11.84 kB / 0.8762 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.6257, allocations: 0 / 0.8762 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6258, allocations: 322.8 kB / 0.8765 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.6259, allocations: 15.88 kB / 0.8765 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.6259, allocations: 12 kB / 0.8766 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.738e-05/0.6259, allocations: 8 kB / 0.8766 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.626, allocations: 0 / 0.8766 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.652e-05/0.6261, allocations: 61.72 kB / 0.8766 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6261, allocations: 7.938 kB / 0.8766 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6261, allocations: 0 / 0.8766 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.6261, allocations: 0 / 0.8766 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.6263, allocations: 23.98 kB / 0.8767 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6263, allocations: 0 / 0.8767 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.165e-05/0.6264, allocations: 19.97 kB / 0.8767 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.6264, allocations: 4 kB / 0.8767 GB, free: 9.207 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 8.498e-05/0.6265, allocations: 104.9 kB / 0.8768 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.6265, allocations: 7.906 kB / 0.8768 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.6267, allocations: 65.66 kB / 0.8768 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.6267, allocations: 0 / 0.8768 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6267, allocations: 4 kB / 0.8768 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.6267, allocations: 3.984 kB / 0.8769 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.6269, allocations: 173.7 kB / 0.877 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6269, allocations: 0 / 0.877 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.627, allocations: 23.97 kB / 0.877 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.627, allocations: 0 / 0.877 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.627, allocations: 4 kB / 0.877 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6271, allocations: 0 / 0.877 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6271, allocations: 0 / 0.877 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.6272, allocations: 155.4 kB / 0.8772 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.6273, allocations: 81.02 kB / 0.8773 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.6273, allocations: 4 kB / 0.8773 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.6274, allocations: 19.98 kB / 0.8773 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.6275, allocations: 11.98 kB / 0.8773 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.6275, allocations: 0 / 0.8773 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.399e-05/0.6276, allocations: 87.28 kB / 0.8774 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.254e-06/0.6276, allocations: 0 / 0.8774 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002477/0.6278, allocations: 39.86 kB / 0.8774 GB, free: 8.34 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.0002515/0.6281, allocations: 135.2 kB / 0.8776 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.6282, allocations: 31.92 kB / 0.8776 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6282, allocations: 0 / 0.8776 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.573e-05/0.6283, allocations: 12 kB / 0.8776 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.6285, allocations: 11.95 kB / 0.8776 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.6287, allocations: 84.84 kB / 0.8777 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.6291, allocations: 0.6848 MB / 0.8784 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.872e-05/0.6291, allocations: 10.25 kB / 0.8784 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.6291, allocations: 15.38 kB / 0.8784 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of SimCode: time 2.1e-07/0.6292, allocations: 0 / 0.8784 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of Templates: time 0.00354/0.6327, allocations: 1.151 MB / 0.8795 GB, free: 6.164 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)