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.01266/0.01266, allocations: 99.36 kB / 15.73 MB, free: 6.043 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.002585/0.002585, allocations: 185.6 kB / 16.67 MB, free: 5.977 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.512/1.512, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.6812/0.6812, allocations: 95.48 MB / 365.4 MB, free: 9.797 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.001912/0.001912, allocations: 78.08 kB / 0.5036 GB, free: 13.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1534, allocations: 69.09 MB / 0.5711 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003378/0.1569, allocations: 1.739 MB / 0.5728 GB, free: 6.582 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5728/0.7296, allocations: 158.4 MB / 0.7274 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.7298, allocations: 3.938 kB / 0.7274 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.73, allocations: 19.8 kB / 0.7275 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.992e-05/0.7301, allocations: 35.7 kB / 0.7275 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008494/0.731, allocations: 239.1 kB / 0.7277 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.7312, allocations: 155.5 kB / 0.7279 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.7314, allocations: 33.11 kB / 0.7279 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.7315, allocations: 75.77 kB / 0.728 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.7317, allocations: 75.72 kB / 0.7281 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.7317, allocations: 12 kB / 0.7281 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.7321, allocations: 239.7 kB / 0.7283 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.7322, allocations: 27.91 kB / 0.7283 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.291e-05/0.7323, allocations: 63.66 kB / 0.7284 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.7327, allocations: 262.1 kB / 0.7286 GB, free: 13.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7327, allocations: 4 kB / 0.7286 GB, free: 13.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7327, allocations: 0 / 0.7286 GB, free: 13.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.7327, allocations: 0 / 0.7286 GB, free: 13.3 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.001012/0.7337, allocations: 0.5294 MB / 0.7292 GB, free: 12.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.7338, allocations: 15.98 kB / 0.7292 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.734, allocations: 27.89 kB / 0.7292 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.7343, allocations: 198.4 kB / 0.7294 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.7343, allocations: 14.66 kB / 0.7294 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.7343, allocations: 15.94 kB / 0.7294 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.7347, allocations: 173.9 kB / 0.7296 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.7348, allocations: 0 / 0.7296 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.7348, allocations: 0 / 0.7296 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.7348, allocations: 0 / 0.7296 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.7352, allocations: 154.8 kB / 0.7297 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009715/0.7362, allocations: 0.7228 MB / 0.7304 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.7365, allocations: 126.5 kB / 0.7306 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.7368, allocations: 92.72 kB / 0.7306 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.7368, allocations: 0 / 0.7306 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.7368, allocations: 30.56 kB / 0.7307 GB, free: 11.01 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.7369, allocations: 0 / 0.7307 GB, free: 11.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001592/0.7385, allocations: 459.2 kB / 0.7311 GB, free: 10.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.7385, allocations: 51.41 kB / 0.7312 GB, free: 10.47 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.7386, allocations: 162.6 kB / 0.7313 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.7387, allocations: 25.7 kB / 0.7313 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.7387, allocations: 104.2 kB / 0.7314 GB, free: 10.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.7388, allocations: 31.55 kB / 0.7315 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.269e-05/0.7389, allocations: 37.7 kB / 0.7315 GB, free: 10.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.739, allocations: 318.8 kB / 0.7318 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.7392, allocations: 83.92 kB / 0.7319 GB, free: 9.691 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.7395, allocations: 111.4 kB / 0.732 GB, free: 9.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.74, allocations: 250.6 kB / 0.7322 GB, free: 9.301 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.74, allocations: 0 / 0.7322 GB, free: 9.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001066/0.7411, allocations: 377.3 kB / 0.7326 GB, free: 8.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.7412, allocations: 62.84 kB / 0.7327 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.7412, allocations: 0 / 0.7327 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.7417, allocations: 84.88 kB / 0.7327 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.7419, allocations: 35.89 kB / 0.7328 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.7439, allocations: 1.622 MB / 0.7344 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.7441, allocations: 28.77 kB / 0.7344 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.7442, allocations: 4 kB / 0.7344 GB, free: 6.918 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.0001189/0.7443, allocations: 133.7 kB / 0.7345 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.7444, allocations: 7.906 kB / 0.7345 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.7454, allocations: 331.4 kB / 0.7348 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.7454, allocations: 4 kB / 0.7348 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.7454, allocations: 0 / 0.7348 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7454, allocations: 0 / 0.7348 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.7466, allocations: 0.5869 MB / 0.7354 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7466, allocations: 0 / 0.7354 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.7468, allocations: 23.98 kB / 0.7354 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003931/0.7472, allocations: 76.72 kB / 0.7355 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.7472, allocations: 4 kB / 0.7355 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.749, allocations: 1.59 MB / 0.7371 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.749, allocations: 0 / 0.7371 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.7499, allocations: 396 kB / 0.7374 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/0.75, allocations: 108.8 kB / 0.7375 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.7501, allocations: 4 kB / 0.7375 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.7502, allocations: 23.97 kB / 0.7376 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.7503, allocations: 11.98 kB / 0.7376 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.7503, allocations: 4 kB / 0.7376 GB, free: 3.367 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.428e-05/0.7504, allocations: 120.2 kB / 0.7377 GB, free: 3.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7504, allocations: 0 / 0.7377 GB, free: 3.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003707/0.7508, allocations: 68.05 kB / 0.7378 GB, free: 3.184 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.0003359/0.7512, allocations: 150 kB / 0.7379 GB, free: 3.035 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008751/0.752, allocations: 429.7 kB / 0.7383 GB, free: 2.578 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7521, allocations: 192 / 0.7383 GB, free: 2.578 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.7525, allocations: 233.9 kB / 0.7385 GB, free: 2.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.7528, allocations: 22.64 kB / 0.7386 GB, free: 2.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.7535, allocations: 312 kB / 0.7389 GB, free: 1.992 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.7538, allocations: 0.7163 MB / 0.7396 GB, free: 1.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.452e-05/0.7539, allocations: 20.88 kB / 0.7396 GB, free: 1.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.754, allocations: 15.44 kB / 0.7396 GB, free: 1.215 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.754, allocations: 0 / 0.7396 GB, free: 1.215 MB / 0.545 GB Notification: Performance of Templates: time 0.012/0.766, allocations: 3.624 MB / 0.7431 GB, free: 13.62 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)