Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.609/1.609, allocations: 289.9 MB / 297.4 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 180.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.3 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000848/0.0008479, allocations: 85.8 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.954e-05, allocations: 0 / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5818/0.5819, allocations: 116.3 MB / 0.9732 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/0.7859, allocations: 165.4 MB / 1.135 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.7861, allocations: 72.48 kB / 1.135 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005403/0.7916, allocations: 2.133 MB / 1.137 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7916, allocations: 0 / 1.137 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.7916, allocations: 0 / 1.137 GB, free: 14.61 MB / 0.7448 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.0004152/0.792, allocations: 373.9 kB / 1.137 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.7921, allocations: 12.03 kB / 1.137 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.7921, allocations: 3.953 kB / 1.137 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.7922, allocations: 173.6 kB / 1.137 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.7922, allocations: 4 kB / 1.137 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.7923, allocations: 2.688 kB / 1.137 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.486e-05/0.7924, allocations: 23.98 kB / 1.137 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.474e-05/0.7925, allocations: 53.61 kB / 1.138 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.7925, allocations: 0 / 1.138 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.7925, allocations: 0 / 1.138 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.7925, allocations: 0 / 1.138 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.7928, allocations: 253.4 kB / 1.138 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.913e-05/0.7929, allocations: 34.58 kB / 1.138 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.7929, allocations: 16.8 kB / 1.138 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.7931, allocations: 89.19 kB / 1.138 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.7931, allocations: 38.56 kB / 1.138 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.7932, allocations: 0 / 1.138 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001967/0.7934, allocations: 53.55 kB / 1.138 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.7934, allocations: 63.39 kB / 1.138 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.684e-05/0.7935, allocations: 97 kB / 1.138 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.7935, allocations: 25.7 kB / 1.138 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.7935, allocations: 88.08 kB / 1.138 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.7936, allocations: 11.89 kB / 1.138 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.7936, allocations: 0 / 1.138 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.7937, allocations: 317.8 kB / 1.139 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.7937, allocations: 8 kB / 1.139 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.7937, allocations: 16.03 kB / 1.139 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.378e-05/0.7938, allocations: 15.92 kB / 1.139 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7938, allocations: 0 / 1.139 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001082/0.7939, allocations: 53.59 kB / 1.139 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.794, allocations: 8 kB / 1.139 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.794, allocations: 0 / 1.139 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.794, allocations: 0 / 1.139 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.7941, allocations: 23.98 kB / 1.139 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7941, allocations: 7.234 kB / 1.139 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.719e-05/0.7942, allocations: 19.97 kB / 1.139 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.7942, allocations: 4 kB / 1.139 GB, free: 12.56 MB / 0.7448 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 7.074e-05/0.7943, allocations: 106.5 kB / 1.139 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.7944, allocations: 7.906 kB / 1.139 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.7945, allocations: 65.95 kB / 1.139 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7945, allocations: 0 / 1.139 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.7945, allocations: 0 / 1.139 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7945, allocations: 3.953 kB / 1.139 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.7947, allocations: 145.5 kB / 1.139 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7947, allocations: 0 / 1.139 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.7948, allocations: 31.97 kB / 1.139 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7948, allocations: 0 / 1.139 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.7948, allocations: 0 / 1.139 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7948, allocations: 0 / 1.139 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7948, allocations: 0 / 1.139 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.795, allocations: 151.5 kB / 1.139 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.7951, allocations: 81.02 kB / 1.139 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.7951, allocations: 0 / 1.139 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.7952, allocations: 27.91 kB / 1.139 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.7953, allocations: 4 kB / 1.139 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.7953, allocations: 0 / 1.139 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.725e-05/0.7953, allocations: 94.36 kB / 1.139 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7953, allocations: 0 / 1.139 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002364/0.7956, allocations: 15.94 kB / 1.139 GB, free: 11.76 MB / 0.7448 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.0001945/0.7958, allocations: 135.3 kB / 1.14 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.7959, allocations: 28 kB / 1.14 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7959, allocations: 0 / 1.14 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.796, allocations: 15.94 kB / 1.14 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.7961, allocations: 17.3 kB / 1.14 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.7964, allocations: 78.42 kB / 1.14 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.7967, allocations: 0.6924 MB / 1.14 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.7967, allocations: 3.125 kB / 1.14 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.7968, allocations: 11.44 kB / 1.14 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.7968, allocations: 0 / 1.14 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.003106/0.7999, allocations: 0.8948 MB / 1.141 GB, free: 9.875 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)