Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json 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/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008956/0.008956, allocations: 102 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 190.1 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6769/0.6769, allocations: 95.48 MB / 365.4 MB, free: 9.785 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 74.09 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1567, allocations: 69.09 MB / 0.5711 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002805/0.1595, allocations: 1.735 MB / 0.5728 GB, free: 6.582 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5723/0.7318, allocations: 158.4 MB / 0.7274 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.7322, allocations: 0 / 0.7274 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.7325, allocations: 23.73 kB / 0.7275 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.7326, allocations: 31.7 kB / 0.7275 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.7338, allocations: 235.1 kB / 0.7277 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.734, allocations: 159.4 kB / 0.7279 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.7342, allocations: 33.09 kB / 0.7279 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.7343, allocations: 75.81 kB / 0.728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.7345, allocations: 67.75 kB / 0.728 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.7345, allocations: 16 kB / 0.7281 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.7349, allocations: 247.6 kB / 0.7283 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.735, allocations: 27.91 kB / 0.7283 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.61e-05/0.7351, allocations: 63.66 kB / 0.7284 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.7355, allocations: 266 kB / 0.7286 GB, free: 13.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7355, allocations: 0 / 0.7286 GB, free: 13.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.113e-06/0.7355, allocations: 0 / 0.7286 GB, free: 13.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.7355, allocations: 0 / 0.7286 GB, free: 13.15 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001046/0.7366, allocations: 0.5294 MB / 0.7292 GB, free: 12.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.7366, allocations: 11.98 kB / 0.7292 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.7369, allocations: 26.42 kB / 0.7292 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.7371, allocations: 200.7 kB / 0.7294 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.7371, allocations: 12 kB / 0.7294 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.7372, allocations: 11.94 kB / 0.7294 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.7376, allocations: 161.9 kB / 0.7296 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.7376, allocations: 4 kB / 0.7296 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.7376, allocations: 7.984 kB / 0.7296 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7376, allocations: 0 / 0.7296 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.738, allocations: 151.8 kB / 0.7297 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009549/0.739, allocations: 0.7189 MB / 0.7304 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.7393, allocations: 130.5 kB / 0.7305 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.7395, allocations: 88.78 kB / 0.7306 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.7396, allocations: 4 kB / 0.7306 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.7396, allocations: 34.5 kB / 0.7307 GB, free: 10.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.7396, allocations: 0 / 0.7307 GB, free: 10.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001627/0.7412, allocations: 456.3 kB / 0.7311 GB, free: 10.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.7413, allocations: 51.41 kB / 0.7311 GB, free: 10.33 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.7414, allocations: 158.7 kB / 0.7313 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.7415, allocations: 25.7 kB / 0.7313 GB, free: 10.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.7415, allocations: 104.2 kB / 0.7314 GB, free: 10.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.7416, allocations: 31.55 kB / 0.7315 GB, free: 9.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.7416, allocations: 37.7 kB / 0.7315 GB, free: 9.953 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7418, allocations: 318.8 kB / 0.7318 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.742, allocations: 87.86 kB / 0.7319 GB, free: 9.547 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.7423, allocations: 111.3 kB / 0.732 GB, free: 9.426 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.7427, allocations: 250.6 kB / 0.7322 GB, free: 9.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7428, allocations: 0 / 0.7322 GB, free: 9.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001036/0.7438, allocations: 381.3 kB / 0.7326 GB, free: 8.762 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/0.7439, allocations: 63.5 kB / 0.7326 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7439, allocations: 0 / 0.7326 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006596/0.7445, allocations: 84.78 kB / 0.7327 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.7447, allocations: 27.97 kB / 0.7328 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.7468, allocations: 1.635 MB / 0.7344 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.7471, allocations: 31.81 kB / 0.7344 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.7471, allocations: 4 kB / 0.7344 GB, free: 6.766 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (wetBulApp.iWat,wetBul.iWat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.7472, allocations: 125.8 kB / 0.7345 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.7473, allocations: 11.91 kB / 0.7345 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009589/0.7482, allocations: 329 kB / 0.7348 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.7482, allocations: 4 kB / 0.7348 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.7483, allocations: 0 / 0.7348 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.7483, allocations: 0 / 0.7348 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.7495, allocations: 0.5862 MB / 0.7354 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.7495, allocations: 0 / 0.7354 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.7497, allocations: 31.97 kB / 0.7354 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003945/0.7501, allocations: 68.89 kB / 0.7355 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.7501, allocations: 11.92 kB / 0.7355 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.7518, allocations: 1.586 MB / 0.7371 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7518, allocations: 0 / 0.7371 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009364/0.7527, allocations: 400.6 kB / 0.7374 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.792e-05/0.7528, allocations: 104.9 kB / 0.7375 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.7529, allocations: 4 kB / 0.7376 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.753, allocations: 15.98 kB / 0.7376 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.7531, allocations: 19.91 kB / 0.7376 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.7532, allocations: 4 kB / 0.7376 GB, free: 3.219 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.245e-05/0.7532, allocations: 124.2 kB / 0.7377 GB, free: 3.098 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7532, allocations: 0 / 0.7377 GB, free: 3.098 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003653/0.7536, allocations: 60.12 kB / 0.7378 GB, free: 3.039 MB / 0.545 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003295/0.754, allocations: 146.2 kB / 0.7379 GB, free: 2.895 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008243/0.7548, allocations: 429.7 kB / 0.7383 GB, free: 2.438 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7548, allocations: 0 / 0.7383 GB, free: 2.438 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004275/0.7552, allocations: 238.2 kB / 0.7385 GB, free: 2.195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.7556, allocations: 18.89 kB / 0.7386 GB, free: 2.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/0.7562, allocations: 314.7 kB / 0.7389 GB, free: 1.852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.7565, allocations: 0.7126 MB / 0.7396 GB, free: 1.113 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.392e-05/0.7566, allocations: 24.86 kB / 0.7396 GB, free: 1.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.7566, allocations: 19.38 kB / 0.7396 GB, free: 1.07 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.7566, allocations: 0 / 0.7396 GB, free: 1.07 MB / 0.545 GB Notification: Performance of Templates: time 0.00758/0.7642, allocations: 3.626 MB / 0.7431 GB, free: 13.47 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)