Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001591/0.001591, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.474/1.474, allocations: 205.1 MB / 222.8 MB, free: 4.668 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.745/1.745, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.001357/0.001357, allocations: 75.53 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2193, allocations: 114.5 MB / 0.7835 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003364/0.2227, allocations: 1.986 MB / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.584/0.8067, allocations: 153.2 MB / 0.935 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.807, allocations: 1.094 kB / 0.935 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.8072, allocations: 21.31 kB / 0.935 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.8075, allocations: 68.48 kB / 0.9351 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008208/0.8083, allocations: 226.4 kB / 0.9353 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.8087, allocations: 253 kB / 0.9356 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.8089, allocations: 69.92 kB / 0.9356 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.8108, allocations: 240.4 kB / 0.9358 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.811, allocations: 92.59 kB / 0.9359 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.811, allocations: 16.88 kB / 0.936 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.8114, allocations: 181.7 kB / 0.9361 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.8115, allocations: 45.56 kB / 0.9362 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.8116, allocations: 86.2 kB / 0.9363 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.812, allocations: 199.8 kB / 0.9364 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.812, allocations: 0.5625 kB / 0.9364 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.812, allocations: 0 / 0.9364 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.8121, allocations: 0 / 0.9364 GB, free: 5.898 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001224/0.8133, allocations: 0.5134 MB / 0.9369 GB, free: 21.48 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.8133, allocations: 15.03 kB / 0.937 GB, free: 21.48 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009734/0.8143, allocations: 79.08 kB / 0.937 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.8146, allocations: 227 kB / 0.9373 GB, free: 21.26 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.591e-05/0.8147, allocations: 36.34 kB / 0.9373 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.8147, allocations: 28.81 kB / 0.9373 GB, free: 21.22 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005946/0.8153, allocations: 256.2 kB / 0.9376 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8154, allocations: 4 kB / 0.9376 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.8154, allocations: 10.22 kB / 0.9376 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.8154, allocations: 5.75 kB / 0.9376 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.8158, allocations: 160.7 kB / 0.9377 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.8175, allocations: 1.174 MB / 0.9389 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/0.8182, allocations: 211.7 kB / 0.9391 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.8184, allocations: 67.64 kB / 0.9391 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.8184, allocations: 3.094 kB / 0.9391 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.8185, allocations: 40.03 kB / 0.9392 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.8185, allocations: 0 / 0.9392 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.00273/0.8212, allocations: 0.6328 MB / 0.9398 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.8213, allocations: 54.86 kB / 0.9399 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.8215, allocations: 195.1 kB / 0.94 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.8215, allocations: 25.7 kB / 0.9401 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.8217, allocations: 143.3 kB / 0.9402 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.8217, allocations: 42.78 kB / 0.9402 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-05/0.8218, allocations: 49.23 kB / 0.9403 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.822, allocations: 329.6 kB / 0.9406 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.8222, allocations: 68.25 kB / 0.9407 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.8224, allocations: 135.1 kB / 0.9408 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.8228, allocations: 197.7 kB / 0.941 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8228, allocations: 0 / 0.941 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001478/0.8243, allocations: 378.2 kB / 0.9413 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.8243, allocations: 9.516 kB / 0.9414 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8243, allocations: 0 / 0.9414 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.8254, allocations: 163.8 kB / 0.9415 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.8256, allocations: 39.86 kB / 0.9415 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003945/0.8296, allocations: 3.252 MB / 0.9447 GB, free: 16.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.83, allocations: 36.42 kB / 0.9448 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.83, allocations: 7.297 kB / 0.9448 GB, free: 16.22 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.8302, allocations: 142.9 kB / 0.9449 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.8302, allocations: 17.84 kB / 0.9449 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.8315, allocations: 369.4 kB / 0.9453 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.8316, allocations: 2.562 kB / 0.9453 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.8316, allocations: 0.8906 kB / 0.9453 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.8316, allocations: 0.75 kB / 0.9453 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.832, allocations: 273.4 kB / 0.9455 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.832, allocations: 0.5625 kB / 0.9455 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.8321, allocations: 23.64 kB / 0.9456 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008239/0.833, allocations: 148.1 kB / 0.9457 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.833, allocations: 4.484 kB / 0.9457 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003812/0.8368, allocations: 3.306 MB / 0.9489 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8368, allocations: 0 / 0.9489 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.8381, allocations: 431.6 kB / 0.9493 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.8383, allocations: 107.2 kB / 0.9494 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.8383, allocations: 3.125 kB / 0.9495 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.8386, allocations: 19 kB / 0.9495 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.8387, allocations: 18.73 kB / 0.9495 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.8388, allocations: 5.812 kB / 0.9495 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001665/0.8389, allocations: 152.1 kB / 0.9496 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8389, allocations: 0 / 0.9496 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004247/0.8394, allocations: 74.08 kB / 0.9497 GB, free: 12.65 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001852/0.8396, allocations: 118.6 kB / 0.9498 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.8407, allocations: 460.8 kB / 0.9503 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8407, allocations: 320 / 0.9503 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.8414, allocations: 356.2 kB / 0.9506 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.8418, allocations: 57.75 kB / 0.9507 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008818/0.8428, allocations: 0.4935 MB / 0.9511 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.8431, allocations: 0.7393 MB / 0.9519 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/0.8432, allocations: 22.56 kB / 0.9519 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of SimCode: time 1.263e-06/0.8432, allocations: 0 / 0.9519 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of Templates: time 0.007802/0.851, allocations: 4.404 MB / 0.9562 GB, free: 10.77 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)