Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8321/0.8321, allocations: 143.4 MB / 158.3 MB, free: 5.777 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.001086/0.001085, allocations: 172.5 kB / 191.5 MB, free: 5.754 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.532/1.532, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0008947/0.0008946, allocations: 80.39 kB / 0.5188 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00181/0.00181, allocations: 265.1 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004755, allocations: 14.92 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1585, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5142/0.6728, allocations: 110.3 MB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.6731, allocations: 84.27 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007589/0.6807, allocations: 2.702 MB / 0.8842 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6807, allocations: 0 / 0.8842 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.6807, allocations: 3.938 kB / 0.8842 GB, free: 108.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002843/0.681, allocations: 364.7 kB / 0.8845 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.681, allocations: 8.953 kB / 0.8845 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.6811, allocations: 10.44 kB / 0.8846 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.87e-05/0.6812, allocations: 170.9 kB / 0.8847 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.6812, allocations: 29.41 kB / 0.8847 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.6812, allocations: 0 / 0.8847 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.6814, allocations: 43.22 kB / 0.8848 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.6814, allocations: 0 / 0.8848 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.6814, allocations: 0 / 0.8848 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.6814, allocations: 2.781 kB / 0.8848 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.272e-05/0.6815, allocations: 19.62 kB / 0.8848 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.6817, allocations: 162.7 kB / 0.885 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.6818, allocations: 47.98 kB / 0.885 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/0.6821, allocations: 180.4 kB / 0.8852 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.6821, allocations: 37.7 kB / 0.8852 GB, free: 107 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.6821, allocations: 3.938 kB / 0.8852 GB, free: 107 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002328/0.6823, allocations: 64.2 kB / 0.8853 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.6824, allocations: 55.34 kB / 0.8853 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.725e-05/0.6824, allocations: 97.23 kB / 0.8854 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.6824, allocations: 26.41 kB / 0.8855 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.621e-05/0.6825, allocations: 83.02 kB / 0.8855 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.6825, allocations: 15.81 kB / 0.8855 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.6825, allocations: 4 kB / 0.8855 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.6826, allocations: 314.5 kB / 0.8858 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/0.6826, allocations: 10.75 kB / 0.8859 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.401e-05/0.6827, allocations: 6.938 kB / 0.8859 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.6827, allocations: 9.781 kB / 0.8859 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6827, allocations: 0 / 0.8859 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001203/0.6828, allocations: 62.41 kB / 0.8859 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.6829, allocations: 5.906 kB / 0.8859 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.6829, allocations: 7.938 kB / 0.8859 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6829, allocations: 0.5625 kB / 0.8859 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.683, allocations: 10.92 kB / 0.886 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.683, allocations: 3.438 kB / 0.886 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.683, allocations: 1.719 kB / 0.886 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.683, allocations: 2.812 kB / 0.886 GB, free: 106.3 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 (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.111e-05/0.6831, allocations: 110.2 kB / 0.8861 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.6831, allocations: 7.438 kB / 0.8861 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.6833, allocations: 74.39 kB / 0.8862 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6833, allocations: 0 / 0.8862 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6833, allocations: 0 / 0.8862 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6833, allocations: 0 / 0.8862 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.82e-05/0.6834, allocations: 156 kB / 0.8863 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6834, allocations: 0.6875 kB / 0.8863 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.6834, allocations: 11.06 kB / 0.8863 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6834, allocations: 3.281 kB / 0.8863 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.6834, allocations: 3.953 kB / 0.8863 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6834, allocations: 0 / 0.8863 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6834, allocations: 5.75 kB / 0.8863 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.6836, allocations: 80.52 kB / 0.8864 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.6836, allocations: 82.34 kB / 0.8865 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.6836, allocations: 2.812 kB / 0.8865 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.593e-05/0.6837, allocations: 5.359 kB / 0.8865 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.6837, allocations: 7.75 kB / 0.8865 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.6837, allocations: 0.75 kB / 0.8865 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.665e-05/0.6838, allocations: 83.05 kB / 0.8866 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6838, allocations: 0 / 0.8866 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002521/0.684, allocations: 45.33 kB / 0.8866 GB, free: 105.7 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 (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.0001843/0.6842, allocations: 144.8 kB / 0.8868 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.6843, allocations: 30.33 kB / 0.8868 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6844, allocations: 0 / 0.8868 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.72e-05/0.6844, allocations: 17.86 kB / 0.8868 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.6845, allocations: 13.56 kB / 0.8868 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.6848, allocations: 138.3 kB / 0.8869 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.377e-05/0.6849, allocations: 0.6809 MB / 0.8876 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.48e-05/0.6849, allocations: 7.141 kB / 0.8876 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/0.685, allocations: 10.03 kB / 0.8876 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.685, allocations: 0 / 0.8876 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.003162/0.6881, allocations: 0.9351 MB / 0.8885 GB, free: 104.6 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)