Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001199/0.001199, allocations: 105.9 kB / 15.99 MB, free: 6.359 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.001365/0.001365, allocations: 199.3 kB / 16.91 MB, free: 6.199 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.352/1.352, allocations: 205.1 MB / 222.8 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 69.06 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2251, allocations: 114.6 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002743/0.2279, allocations: 1.745 MB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5965/0.8244, allocations: 147.5 MB / 0.9292 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.8247, allocations: 2.031 kB / 0.9292 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.8249, allocations: 22.19 kB / 0.9293 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.8253, allocations: 42.23 kB / 0.9293 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007349/0.826, allocations: 159.8 kB / 0.9294 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.8263, allocations: 158.5 kB / 0.9296 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.8265, allocations: 33.09 kB / 0.9296 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.8283, allocations: 181 kB / 0.9298 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.8284, allocations: 60.73 kB / 0.9299 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.8284, allocations: 8.906 kB / 0.9299 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.8288, allocations: 176.4 kB / 0.93 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.8288, allocations: 25.88 kB / 0.9301 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.576e-05/0.8289, allocations: 49.2 kB / 0.9301 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.8292, allocations: 138.7 kB / 0.9302 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8292, allocations: 0.9062 kB / 0.9302 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8292, allocations: 0 / 0.9302 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.8292, allocations: 0 / 0.9302 GB, free: 6.141 MB / 0.7325 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.001035/0.8302, allocations: 460.6 kB / 0.9307 GB, free: 21.75 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.8303, allocations: 9.219 kB / 0.9307 GB, free: 21.75 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006536/0.8309, allocations: 55.39 kB / 0.9307 GB, free: 21.74 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.8312, allocations: 209.8 kB / 0.9309 GB, free: 21.53 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.8312, allocations: 7.422 kB / 0.931 GB, free: 21.53 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.8312, allocations: 5.125 kB / 0.931 GB, free: 21.53 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.8316, allocations: 186.5 kB / 0.9311 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.8317, allocations: 0.6875 kB / 0.9311 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.8317, allocations: 6.562 kB / 0.9311 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.8317, allocations: 3.625 kB / 0.9311 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004964/0.8322, allocations: 142.9 kB / 0.9313 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.8334, allocations: 0.8228 MB / 0.9321 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.8338, allocations: 128 kB / 0.9322 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.8341, allocations: 81.02 kB / 0.9323 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.8341, allocations: 1.625 kB / 0.9323 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.8341, allocations: 41.47 kB / 0.9323 GB, free: 20.69 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.8342, allocations: 0 / 0.9323 GB, free: 20.69 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.001989/0.8361, allocations: 456.3 kB / 0.9328 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.8362, allocations: 52.53 kB / 0.9328 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.8363, allocations: 155.9 kB / 0.933 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.8364, allocations: 26.52 kB / 0.933 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.8365, allocations: 106.8 kB / 0.9331 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.8365, allocations: 26.31 kB / 0.9331 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.8366, allocations: 33.8 kB / 0.9331 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.8367, allocations: 328.2 kB / 0.9335 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.8369, allocations: 68.53 kB / 0.9335 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.8372, allocations: 100.1 kB / 0.9336 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.8377, allocations: 186.9 kB / 0.9338 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8377, allocations: 0 / 0.9338 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001025/0.8387, allocations: 283.3 kB / 0.9341 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.8387, allocations: 5.531 kB / 0.9341 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.8387, allocations: 5.141 kB / 0.9341 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/0.8393, allocations: 86.75 kB / 0.9342 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.8396, allocations: 32.64 kB / 0.9342 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.8417, allocations: 1.665 MB / 0.9358 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.8419, allocations: 17.23 kB / 0.9358 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.8419, allocations: 7.75 kB / 0.9358 GB, free: 18.35 MB / 0.7481 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.0001207/0.8421, allocations: 126.2 kB / 0.936 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.8421, allocations: 14.12 kB / 0.936 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.8432, allocations: 309.9 kB / 0.9363 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.8432, allocations: 4.688 kB / 0.9363 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.8432, allocations: 6.062 kB / 0.9363 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8432, allocations: 1.766 kB / 0.9363 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.8434, allocations: 228.8 kB / 0.9365 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.8435, allocations: 3 kB / 0.9365 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.8437, allocations: 32.2 kB / 0.9365 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004207/0.8441, allocations: 76.8 kB / 0.9366 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.8441, allocations: 1.266 kB / 0.9366 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.8459, allocations: 1.695 MB / 0.9383 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8459, allocations: 1.797 kB / 0.9383 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.8469, allocations: 378.9 kB / 0.9386 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.847, allocations: 85.36 kB / 0.9387 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.847, allocations: 6.438 kB / 0.9387 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.8473, allocations: 17.19 kB / 0.9387 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.8473, allocations: 18.33 kB / 0.9387 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.8474, allocations: 5.594 kB / 0.9388 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.956e-05/0.8474, allocations: 105.4 kB / 0.9389 GB, free: 16.23 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8475, allocations: 0 / 0.9389 GB, free: 16.23 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003642/0.8478, allocations: 51.25 kB / 0.9389 GB, free: 16.23 MB / 0.7481 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.0002141/0.848, allocations: 115.1 kB / 0.939 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009572/0.849, allocations: 321.3 kB / 0.9393 GB, free: 16.01 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.849, allocations: 0 / 0.9393 GB, free: 16.01 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.8496, allocations: 235.2 kB / 0.9395 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.8499, allocations: 22.16 kB / 0.9396 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/0.8507, allocations: 364.6 kB / 0.9399 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.851, allocations: 0.7058 MB / 0.9406 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.8511, allocations: 23.41 kB / 0.9406 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of SimCode: time 5.62e-07/0.8511, allocations: 0 / 0.9406 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of Templates: time 0.005461/0.8566, allocations: 2.74 MB / 0.9433 GB, free: 14.79 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)