Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7411/0.7411, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001127/0.001127, allocations: 189.9 kB / 187.3 MB, free: 11.89 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.44/1.44, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0009013/0.0009014, allocations: 94.28 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001744/0.001744, allocations: 274.9 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.517e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.502, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1779/0.6799, allocations: 135.2 MB / 0.8963 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003937/0.6804, allocations: 79.81 kB / 0.8964 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.007348/0.6878, allocations: 1.661 MB / 0.898 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6878, allocations: 3.938 kB / 0.898 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.6879, allocations: 0 / 0.898 GB, free: 3.562 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004667/0.6883, allocations: 320.3 kB / 0.8983 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/0.6884, allocations: 8.031 kB / 0.8983 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.6885, allocations: 3.938 kB / 0.8983 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.6887, allocations: 175 kB / 0.8985 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.6888, allocations: 33.7 kB / 0.8985 GB, free: 2.945 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.6889, allocations: 4 kB / 0.8985 GB, free: 2.941 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.689, allocations: 33.69 kB / 0.8986 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.6891, allocations: 0 / 0.8986 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.6891, allocations: 0 / 0.8986 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.6891, allocations: 3.984 kB / 0.8986 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.721e-05/0.6892, allocations: 8 kB / 0.8986 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.6895, allocations: 157.7 kB / 0.8987 GB, free: 2.688 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.6896, allocations: 34.52 kB / 0.8988 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.6897, allocations: 8.859 kB / 0.8988 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.6899, allocations: 89.19 kB / 0.8988 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.69, allocations: 34.56 kB / 0.8989 GB, free: 2.484 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 2.204e-06/0.69, allocations: 3.938 kB / 0.8989 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.000201/0.6902, allocations: 41.61 kB / 0.8989 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.6903, allocations: 55.39 kB / 0.899 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.6905, allocations: 100.9 kB / 0.8991 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.6905, allocations: 25.7 kB / 0.8991 GB, free: 2.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.6906, allocations: 80.14 kB / 0.8992 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.6906, allocations: 7.906 kB / 0.8992 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.6906, allocations: 0 / 0.8992 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.6908, allocations: 318.8 kB / 0.8995 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.6909, allocations: 4 kB / 0.8995 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.6909, allocations: 4 kB / 0.8995 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.6909, allocations: 7.984 kB / 0.8995 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.691, allocations: 0 / 0.8995 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001257/0.6911, allocations: 41.7 kB / 0.8995 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.6911, allocations: 9.234 kB / 0.8996 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6912, allocations: 0 / 0.8996 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6912, allocations: 4 kB / 0.8996 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.6913, allocations: 4 kB / 0.8996 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.6913, allocations: 7.875 kB / 0.8996 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.458e-05/0.6914, allocations: 0 / 0.8996 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.6914, allocations: 4 kB / 0.8996 GB, free: 1.73 MB / 0.5573 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 0.0001186/0.6916, allocations: 112.9 kB / 0.8997 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.6916, allocations: 0 / 0.8997 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.6918, allocations: 60.12 kB / 0.8997 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.6918, allocations: 0 / 0.8997 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6918, allocations: 0 / 0.8997 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6918, allocations: 432 / 0.8997 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.692, allocations: 157.6 kB / 0.8999 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.692, allocations: 0 / 0.8999 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.6921, allocations: 12 kB / 0.8999 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.6922, allocations: 0 / 0.8999 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.6922, allocations: 4 kB / 0.8999 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.6922, allocations: 3.938 kB / 0.8999 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6922, allocations: 0 / 0.8999 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.6924, allocations: 69.11 kB / 0.9 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.6925, allocations: 89.05 kB / 0.9001 GB, free: 1.137 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.6925, allocations: 4 kB / 0.9001 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.592e-05/0.6926, allocations: 0 / 0.9001 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.6926, allocations: 4 kB / 0.9001 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.6927, allocations: 4 kB / 0.9001 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.184e-05/0.6927, allocations: 79.27 kB / 0.9001 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.71e-07/0.6927, allocations: 0 / 0.9001 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003732/0.6931, allocations: 23.88 kB / 0.9002 GB, free: 1.023 MB / 0.5573 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.0003192/0.6934, allocations: 135.2 kB / 0.9003 GB, free: 0.8828 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.6936, allocations: 15.94 kB / 0.9003 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6936, allocations: 0 / 0.9003 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.6937, allocations: 12 kB / 0.9003 GB, free: 0.8555 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.6939, allocations: 0 / 0.9003 GB, free: 0.8555 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.6942, allocations: 65.17 kB / 0.9004 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.6946, allocations: 0.677 MB / 0.901 GB, free: 68 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.002e-05/0.6947, allocations: 4 kB / 0.901 GB, free: 64 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.6947, allocations: 11.44 kB / 0.9011 GB, free: 52 kB / 0.5573 GB Notification: Performance of SimCode: time 4.21e-07/0.6947, allocations: 0 / 0.9011 GB, free: 52 kB / 0.5573 GB Notification: Performance of Templates: time 0.005799/0.7005, allocations: 1.012 MB / 0.902 GB, free: 15.04 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)