Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 178.8 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.949/1.949, allocations: 205.4 MB / 0.5783 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 89.22 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.000377, allocations: 12.62 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2382, allocations: 106.3 MB / 0.9008 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001859/0.2402, allocations: 1.383 MB / 0.9022 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1523/0.3925, allocations: 136 MB / 1.035 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.722e-05/0.3926, allocations: 0 / 1.035 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.3927, allocations: 15.86 kB / 1.035 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.3929, allocations: 35.78 kB / 1.035 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.3933, allocations: 151.5 kB / 1.035 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.3935, allocations: 139.5 kB / 1.035 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.3937, allocations: 19.98 kB / 1.035 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.394, allocations: 135.7 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.623e-05/0.3941, allocations: 47.83 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.3941, allocations: 7.984 kB / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.3944, allocations: 159.7 kB / 1.036 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.3945, allocations: 19.92 kB / 1.036 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.3945, allocations: 37.7 kB / 1.036 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.3947, allocations: 135.9 kB / 1.036 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3947, allocations: 8 kB / 1.036 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3947, allocations: 7.875 kB / 1.036 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.3948, allocations: 0 / 1.036 GB, free: 5.621 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008371/0.3956, allocations: 443.7 kB / 1.036 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3956, allocations: 8.031 kB / 1.036 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006302/0.3963, allocations: 59.8 kB / 1.036 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3965, allocations: 202.9 kB / 1.037 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3965, allocations: 8 kB / 1.037 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.3966, allocations: 4 kB / 1.037 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.3971, allocations: 200 kB / 1.037 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3971, allocations: 3.984 kB / 1.037 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3971, allocations: 4 kB / 1.037 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3971, allocations: 4 kB / 1.037 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.3976, allocations: 171.7 kB / 1.037 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.3988, allocations: 0.8246 MB / 1.038 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.3992, allocations: 142.4 kB / 1.038 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.3995, allocations: 96.8 kB / 1.038 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.3995, allocations: 0 / 1.038 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3995, allocations: 34.52 kB / 1.038 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 9.51e-07/0.3996, allocations: 0 / 1.038 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001956/0.4015, allocations: 495.4 kB / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.4016, allocations: 55.41 kB / 1.038 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4017, allocations: 137.6 kB / 1.039 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.4017, allocations: 25.7 kB / 1.039 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.4018, allocations: 111.9 kB / 1.039 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.4018, allocations: 31.78 kB / 1.039 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.4019, allocations: 4 kB / 1.039 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.402, allocations: 326.8 kB / 1.039 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.4022, allocations: 75.94 kB / 1.039 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.4025, allocations: 120.2 kB / 1.039 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.4028, allocations: 88.02 kB / 1.039 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4028, allocations: 0 / 1.039 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00105/0.4039, allocations: 298.1 kB / 1.04 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4039, allocations: 4 kB / 1.04 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4039, allocations: 0 / 1.04 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/0.4045, allocations: 92.81 kB / 1.04 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.4047, allocations: 39.97 kB / 1.04 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.4068, allocations: 1.566 MB / 1.041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.407, allocations: 27.84 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.4071, allocations: 7.984 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.4072, allocations: 121.8 kB / 1.041 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.4072, allocations: 7.906 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.4084, allocations: 342.8 kB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4084, allocations: 0 / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.4084, allocations: 0 / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4084, allocations: 0 / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.4087, allocations: 237.5 kB / 1.042 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4087, allocations: 0 / 1.042 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.4089, allocations: 35.97 kB / 1.042 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005162/0.4094, allocations: 88.77 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.4095, allocations: 7.938 kB / 1.042 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.4113, allocations: 1.571 MB / 1.044 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4113, allocations: 64 / 1.044 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.4124, allocations: 407 kB / 1.044 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.4124, allocations: 85.08 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.4125, allocations: 11.98 kB / 1.044 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.4127, allocations: 15.98 kB / 1.044 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.4128, allocations: 19.92 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.4128, allocations: 7.984 kB / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.383e-05/0.4129, allocations: 107.3 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4129, allocations: 0 / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003143/0.4132, allocations: 40 kB / 1.044 GB, free: 12.23 MB / 0.698 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002048/0.4134, allocations: 115.2 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000901/0.4143, allocations: 326.7 kB / 1.045 GB, free: 11.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4143, allocations: 0 / 1.045 GB, free: 11.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005256/0.4149, allocations: 250.4 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.4152, allocations: 31.81 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008176/0.416, allocations: 379.5 kB / 1.045 GB, free: 11.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.4163, allocations: 0.7085 MB / 1.046 GB, free: 10.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.4164, allocations: 19.42 kB / 1.046 GB, free: 10.32 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/0.4164, allocations: 0 / 1.046 GB, free: 10.32 MB / 0.698 GB Notification: Performance of Templates: time 0.004693/0.4211, allocations: 2.718 MB / 1.049 GB, free: 7.613 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)