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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.001085/0.001085, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.742/2.742, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 62.77 kB / 0.912 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3311, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002938/0.3341, allocations: 1.665 MB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1618/0.4959, allocations: 149.7 MB / 1.216 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.496, allocations: 0 / 1.216 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.4962, allocations: 27.8 kB / 1.216 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.4965, allocations: 55.56 kB / 1.216 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.497, allocations: 183.4 kB / 1.216 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.4972, allocations: 163.5 kB / 1.216 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.4973, allocations: 21.41 kB / 1.216 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.4985, allocations: 196.2 kB / 1.217 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.4986, allocations: 59.77 kB / 1.217 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.4986, allocations: 12 kB / 1.217 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.499, allocations: 167.8 kB / 1.217 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.499, allocations: 23.91 kB / 1.217 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.4991, allocations: 51.73 kB / 1.217 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.4995, allocations: 199.4 kB / 1.217 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4995, allocations: 3.984 kB / 1.217 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4995, allocations: 0 / 1.217 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.4995, allocations: 3.938 kB / 1.217 GB, free: 1.328 MB / 0.9669 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.0008739/0.5004, allocations: 474.9 kB / 1.218 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5004, allocations: 8.031 kB / 1.218 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006357/0.5011, allocations: 60.69 kB / 1.218 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.5013, allocations: 200.1 kB / 1.218 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.5014, allocations: 4 kB / 1.218 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.5014, allocations: 8 kB / 1.218 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.5019, allocations: 189.7 kB / 1.218 GB, free: 304 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5019, allocations: 3.984 kB / 1.218 GB, free: 300 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.5019, allocations: 0 / 1.218 GB, free: 300 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.502, allocations: 4 kB / 1.218 GB, free: 296 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/0.5026, allocations: 151.7 kB / 1.218 GB, free: 144 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.5039, allocations: 0.8207 MB / 1.219 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.5043, allocations: 130.5 kB / 1.219 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.5046, allocations: 92.72 kB / 1.219 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.5046, allocations: 0 / 1.219 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.5046, allocations: 30.56 kB / 1.219 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.5047, allocations: 4 kB / 1.219 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.001938/0.5066, allocations: 459.3 kB / 1.22 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.5066, allocations: 55.41 kB / 1.22 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.5068, allocations: 153 kB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.5068, allocations: 25.7 kB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.5069, allocations: 104.2 kB / 1.22 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.5069, allocations: 31.55 kB / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.507, allocations: 37.64 kB / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5071, allocations: 322.8 kB / 1.22 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.5074, allocations: 63.94 kB / 1.22 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.5077, allocations: 108.2 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.5082, allocations: 176.4 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5082, allocations: 0 / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001161/0.5094, allocations: 278.1 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.5094, allocations: 11.92 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5094, allocations: 8.125 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000659/0.5101, allocations: 80.77 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.5104, allocations: 35.91 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.5136, allocations: 1.667 MB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.5138, allocations: 15.89 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.5139, allocations: 7.984 kB / 1.223 GB, free: 11.11 MB / 0.9825 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 (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 prepare postOptimizeDAE: time 0.0001842/0.5141, allocations: 138.8 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.5141, allocations: 7.906 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.5152, allocations: 318.4 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5153, allocations: 3.938 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.5153, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5153, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.5156, allocations: 237.5 kB / 1.223 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.5156, allocations: 0 / 1.223 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.5158, allocations: 31.97 kB / 1.223 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.5162, allocations: 80.77 kB / 1.223 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.5162, allocations: 3.938 kB / 1.223 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.5182, allocations: 1.681 MB / 1.225 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5182, allocations: 7.969 kB / 1.225 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.5194, allocations: 391.9 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-05/0.5195, allocations: 96.98 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.5195, allocations: 4 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.5197, allocations: 23.91 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.5198, allocations: 11.98 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.5198, allocations: 4 kB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.223e-05/0.5199, allocations: 119.2 kB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5199, allocations: 0 / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003357/0.5203, allocations: 47.84 kB / 1.226 GB, free: 7.68 MB / 0.9825 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002025/0.5205, allocations: 115.2 kB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009528/0.5214, allocations: 306.5 kB / 1.226 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5214, allocations: 0 / 1.226 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000543/0.522, allocations: 234.8 kB / 1.226 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.5223, allocations: 33.08 kB / 1.226 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008291/0.5232, allocations: 307.5 kB / 1.227 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.5235, allocations: 0.7085 MB / 1.227 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.5237, allocations: 16.89 kB / 1.227 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.5237, allocations: 27.42 kB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.5237, allocations: 0 / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of Templates: time 0.006813/0.5306, allocations: 3.219 MB / 1.231 GB, free: 2.68 MB / 0.9825 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)