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.9178/0.9178, allocations: 143.4 MB / 158.3 MB, free: 5.82 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.001108/0.001108, allocations: 179.4 kB / 191.5 MB, free: 5.766 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.681/1.681, allocations: 223.2 MB / 447.7 MB, free: 4.836 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.0009657/0.0009651, allocations: 96.25 kB / 0.5188 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001746/0.001746, allocations: 263.1 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004496, allocations: 15.03 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1662, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5359/0.7021, allocations: 110.6 MB / 0.8817 GB, free: 85.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.7025, allocations: 80.94 kB / 0.8818 GB, free: 85.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007808/0.7103, allocations: 2.54 MB / 0.8843 GB, free: 84.78 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7103, allocations: 0 / 0.8843 GB, free: 84.78 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.7103, allocations: 0 / 0.8843 GB, free: 84.78 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.0004547/0.7108, allocations: 412 kB / 0.8847 GB, free: 84.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.7108, allocations: 9.156 kB / 0.8847 GB, free: 84.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.7109, allocations: 6.875 kB / 0.8847 GB, free: 84.39 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.711, allocations: 168.9 kB / 0.8849 GB, free: 84.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.711, allocations: 4.609 kB / 0.8849 GB, free: 84.19 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.711, allocations: 6.562 kB / 0.8849 GB, free: 84.19 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.7113, allocations: 86 kB / 0.885 GB, free: 84.15 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.7113, allocations: 3.609 kB / 0.885 GB, free: 84.15 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.7114, allocations: 2.594 kB / 0.885 GB, free: 84.15 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.7114, allocations: 0 / 0.885 GB, free: 84.15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.7117, allocations: 91.31 kB / 0.8851 GB, free: 84.15 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.7121, allocations: 290.6 kB / 0.8853 GB, free: 83.87 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.7123, allocations: 68.19 kB / 0.8854 GB, free: 83.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.7125, allocations: 94.81 kB / 0.8855 GB, free: 83.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.7125, allocations: 35.08 kB / 0.8855 GB, free: 83.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.7125, allocations: 0 / 0.8855 GB, free: 83.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0005561/0.7131, allocations: 161.7 kB / 0.8857 GB, free: 83.67 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.7131, allocations: 51.41 kB / 0.8857 GB, free: 83.61 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.255e-05/0.7132, allocations: 110 kB / 0.8858 GB, free: 83.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.7132, allocations: 29.7 kB / 0.8859 GB, free: 83.48 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.7133, allocations: 94.3 kB / 0.886 GB, free: 83.39 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.7133, allocations: 7.281 kB / 0.886 GB, free: 83.39 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.7133, allocations: 0 / 0.886 GB, free: 83.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.393e-05/0.7134, allocations: 320.4 kB / 0.8863 GB, free: 83.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.7135, allocations: 46.97 kB / 0.8863 GB, free: 83.07 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.7137, allocations: 38.84 kB / 0.8863 GB, free: 83.07 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.7138, allocations: 45.98 kB / 0.8864 GB, free: 83.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.7139, allocations: 0 / 0.8864 GB, free: 83.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003157/0.7142, allocations: 129.8 kB / 0.8865 GB, free: 83.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.7142, allocations: 3.766 kB / 0.8865 GB, free: 83.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.7142, allocations: 0 / 0.8865 GB, free: 83.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.7142, allocations: 2.75 kB / 0.8865 GB, free: 83.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.7144, allocations: 23.3 kB / 0.8865 GB, free: 83.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.7144, allocations: 0 / 0.8865 GB, free: 83.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.7145, allocations: 17.88 kB / 0.8866 GB, free: 83.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.7145, allocations: 6.719 kB / 0.8866 GB, free: 83.02 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 () * 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 6.397e-05/0.7146, allocations: 116.9 kB / 0.8867 GB, free: 82.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.7146, allocations: 2.781 kB / 0.8867 GB, free: 82.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.715, allocations: 132 kB / 0.8868 GB, free: 82.85 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.715, allocations: 4 kB / 0.8868 GB, free: 82.85 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.715, allocations: 3.938 kB / 0.8868 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.715, allocations: 0.6094 kB / 0.8868 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.7151, allocations: 178.1 kB / 0.887 GB, free: 82.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.7152, allocations: 3.5 kB / 0.887 GB, free: 82.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.7153, allocations: 21.36 kB / 0.887 GB, free: 82.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7153, allocations: 0 / 0.887 GB, free: 82.65 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.7153, allocations: 2.734 kB / 0.887 GB, free: 82.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7153, allocations: 7.938 kB / 0.887 GB, free: 82.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7153, allocations: 0 / 0.887 GB, free: 82.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.7157, allocations: 217.3 kB / 0.8872 GB, free: 82.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.7157, allocations: 88.06 kB / 0.8873 GB, free: 82.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.7157, allocations: 0.75 kB / 0.8873 GB, free: 82.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.7159, allocations: 15.42 kB / 0.8873 GB, free: 82.41 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.7159, allocations: 9.375 kB / 0.8873 GB, free: 82.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.7159, allocations: 0 / 0.8873 GB, free: 82.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.709e-05/0.716, allocations: 98.22 kB / 0.8874 GB, free: 82.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.716, allocations: 3.938 kB / 0.8874 GB, free: 82.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000276/0.7163, allocations: 30.41 kB / 0.8875 GB, free: 82.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 () * 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.0002336/0.7165, allocations: 141.5 kB / 0.8876 GB, free: 82.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.7169, allocations: 89.61 kB / 0.8877 GB, free: 82.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7169, allocations: 0 / 0.8877 GB, free: 82.21 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.717, allocations: 48.7 kB / 0.8877 GB, free: 82.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.7173, allocations: 14 kB / 0.8877 GB, free: 82.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.7176, allocations: 174.8 kB / 0.8879 GB, free: 82.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.7178, allocations: 0.6881 MB / 0.8886 GB, free: 81.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.7178, allocations: 0.6094 kB / 0.8886 GB, free: 81.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.7178, allocations: 8.938 kB / 0.8886 GB, free: 81.36 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.7178, allocations: 1.562 kB / 0.8886 GB, free: 81.36 MB / 0.5417 GB Notification: Performance of Templates: time 0.003775/0.7216, allocations: 1.158 MB / 0.8897 GB, free: 81.25 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)