Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.813/0.813, allocations: 143.4 MB / 158.3 MB, free: 5.812 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.001096/0.001096, allocations: 175.5 kB / 191.5 MB, free: 5.777 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.538/1.538, allocations: 223.2 MB / 447.7 MB, free: 6.504 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.001099/0.001099, allocations: 92.25 kB / 0.5188 GB, free: 2.863 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001899/0.001899, allocations: 275 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007207/0.0007208, allocations: 20 kB / 0.6929 GB, free: 2.309 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4932, allocations: 82.77 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.6386, allocations: 109 MB / 0.8801 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.639, allocations: 79.83 kB / 0.8802 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004328/0.6433, allocations: 1.517 MB / 0.8817 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6434, allocations: 0 / 0.8817 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.6434, allocations: 4 kB / 0.8817 GB, free: 11.53 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.0003501/0.6437, allocations: 331.4 kB / 0.882 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.6438, allocations: 12.83 kB / 0.882 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.644, allocations: 23.97 kB / 0.882 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.6441, allocations: 159.1 kB / 0.8822 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.6442, allocations: 11.94 kB / 0.8822 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.6442, allocations: 0 / 0.8822 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.6443, allocations: 41.69 kB / 0.8822 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6443, allocations: 3.938 kB / 0.8822 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.6443, allocations: 4 kB / 0.8822 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6443, allocations: 4 kB / 0.8822 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.166e-05/0.6444, allocations: 15.98 kB / 0.8823 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.6446, allocations: 161.6 kB / 0.8824 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.6467, allocations: 278.4 kB / 0.8827 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.6467, allocations: 0 / 0.8827 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.6467, allocations: 30.56 kB / 0.8827 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 2.835e-06/0.6468, allocations: 0 / 0.8827 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001824/0.6469, allocations: 69.62 kB / 0.8828 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.647, allocations: 51.41 kB / 0.8828 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.554e-05/0.6471, allocations: 93 kB / 0.8829 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.6471, allocations: 25.7 kB / 0.8829 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.6471, allocations: 80.14 kB / 0.883 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.6471, allocations: 11.83 kB / 0.883 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.6472, allocations: 8 kB / 0.883 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6473, allocations: 310.8 kB / 0.8833 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.6473, allocations: 8 kB / 0.8833 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.545e-05/0.6473, allocations: 4 kB / 0.8833 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.01e-05/0.6474, allocations: 16.11 kB / 0.8834 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6474, allocations: 0 / 0.8834 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.217e-05/0.6475, allocations: 53.64 kB / 0.8834 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.6475, allocations: 8.891 kB / 0.8834 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6475, allocations: 4 kB / 0.8834 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6475, allocations: 3.984 kB / 0.8834 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.984e-05/0.6476, allocations: 4 kB / 0.8834 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.6476, allocations: 0 / 0.8834 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.6477, allocations: 3.906 kB / 0.8834 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.6477, allocations: 8 kB / 0.8834 GB, free: 9.52 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 8.155e-05/0.6478, allocations: 109.8 kB / 0.8835 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.6478, allocations: 0 / 0.8835 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.6478, allocations: 15.45 kB / 0.8836 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.6478, allocations: 3.938 kB / 0.8836 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6478, allocations: 0 / 0.8836 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6478, allocations: 4.312 kB / 0.8836 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.648, allocations: 149.7 kB / 0.8837 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.648, allocations: 0 / 0.8837 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.648, allocations: 15.92 kB / 0.8837 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.648, allocations: 7.922 kB / 0.8837 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.6481, allocations: 4 kB / 0.8837 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.6481, allocations: 3.953 kB / 0.8837 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6481, allocations: 0 / 0.8837 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.6482, allocations: 77.12 kB / 0.8838 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.6483, allocations: 81.11 kB / 0.8839 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.6483, allocations: 3.984 kB / 0.8839 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.103e-05/0.6484, allocations: 0 / 0.8839 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.6484, allocations: 3.953 kB / 0.8839 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.6484, allocations: 12 kB / 0.8839 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.6485, allocations: 79.28 kB / 0.884 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6485, allocations: 0 / 0.884 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001867/0.6486, allocations: 8 kB / 0.884 GB, free: 8.852 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.0001199/0.6488, allocations: 99.19 kB / 0.8841 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.901e-05/0.6489, allocations: 23.98 kB / 0.8841 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6489, allocations: 4 kB / 0.8841 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/0.6489, allocations: 12.09 kB / 0.8841 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.6491, allocations: 16.06 kB / 0.8841 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.6495, allocations: 140.4 kB / 0.8843 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.6498, allocations: 0.6809 MB / 0.8849 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.449e-05/0.6498, allocations: 4 kB / 0.8849 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.6499, allocations: 11.44 kB / 0.8849 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of SimCode: time 3.1e-07/0.6499, allocations: 0 / 0.8849 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of Templates: time 0.002325/0.6522, allocations: 480.8 kB / 0.8854 GB, free: 7.344 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)