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.001475/0.001475, allocations: 109.4 kB / 15.69 MB, free: 128 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.001572/0.001572, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.368/1.368, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.702/1.702, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001531/0.001531, allocations: 65.34 kB / 0.6722 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2313, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003071/0.2344, allocations: 1.924 MB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5708/0.8052, allocations: 155.4 MB / 0.9377 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.8054, allocations: 3.156 kB / 0.9377 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.8057, allocations: 30.69 kB / 0.9377 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.806, allocations: 74.2 kB / 0.9378 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007526/0.8068, allocations: 252.2 kB / 0.9381 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.807, allocations: 259.3 kB / 0.9383 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.8072, allocations: 73.84 kB / 0.9384 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.8084, allocations: 242.5 kB / 0.9386 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.8085, allocations: 92.89 kB / 0.9387 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.8086, allocations: 16.25 kB / 0.9387 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.8089, allocations: 177.7 kB / 0.9389 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.809, allocations: 44.72 kB / 0.9389 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.884e-05/0.8091, allocations: 89.47 kB / 0.939 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.8095, allocations: 285.1 kB / 0.9393 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.8095, allocations: 1.812 kB / 0.9393 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8095, allocations: 0 / 0.9393 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.8095, allocations: 0 / 0.9393 GB, free: 2.527 MB / 0.7169 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.001215/0.8108, allocations: 0.5073 MB / 0.9398 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.8108, allocations: 11.03 kB / 0.9398 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008619/0.8117, allocations: 84.03 kB / 0.9399 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.812, allocations: 221.2 kB / 0.9401 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.692e-05/0.8121, allocations: 44.22 kB / 0.9401 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.8121, allocations: 18.58 kB / 0.9401 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.8127, allocations: 259.9 kB / 0.9404 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.8127, allocations: 0 / 0.9404 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.8127, allocations: 10.09 kB / 0.9404 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.8127, allocations: 9.109 kB / 0.9404 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.8132, allocations: 169.2 kB / 0.9406 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.8148, allocations: 1.168 MB / 0.9417 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006996/0.8155, allocations: 203.6 kB / 0.9419 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.8157, allocations: 72.02 kB / 0.942 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.8157, allocations: 6.281 kB / 0.942 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.8157, allocations: 39.19 kB / 0.942 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.8158, allocations: 0 / 0.942 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.002537/0.8183, allocations: 0.6245 MB / 0.9426 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.8184, allocations: 54.36 kB / 0.9427 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.8186, allocations: 200.8 kB / 0.9429 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.8187, allocations: 31.27 kB / 0.9429 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.8188, allocations: 134.6 kB / 0.943 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.8188, allocations: 44.02 kB / 0.9431 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.8189, allocations: 51.64 kB / 0.9431 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8191, allocations: 330.2 kB / 0.9434 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.8193, allocations: 68.45 kB / 0.9435 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.8195, allocations: 130.6 kB / 0.9436 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.82, allocations: 201.3 kB / 0.9438 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.82, allocations: 4 kB / 0.9438 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001365/0.8213, allocations: 369.9 kB / 0.9442 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8214, allocations: 13.22 kB / 0.9442 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.8214, allocations: 1.312 kB / 0.9442 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.8224, allocations: 161.6 kB / 0.9443 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.8226, allocations: 38.84 kB / 0.9444 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/0.8264, allocations: 3.243 MB / 0.9475 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.8267, allocations: 41.67 kB / 0.9476 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.8267, allocations: 6.625 kB / 0.9476 GB, free: 12.78 MB / 0.7325 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.0001284/0.8269, allocations: 135.9 kB / 0.9477 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.8269, allocations: 19.83 kB / 0.9477 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.8282, allocations: 368.2 kB / 0.9481 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8282, allocations: 2.438 kB / 0.9481 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.8282, allocations: 0.9688 kB / 0.9481 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.8282, allocations: 4.875 kB / 0.9481 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.8285, allocations: 275.6 kB / 0.9484 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8285, allocations: 0 / 0.9484 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.8286, allocations: 20.83 kB / 0.9484 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007575/0.8294, allocations: 145.8 kB / 0.9485 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.8294, allocations: 9.281 kB / 0.9485 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/0.8332, allocations: 3.295 MB / 0.9517 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8332, allocations: 3.125 kB / 0.9517 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.8346, allocations: 436.9 kB / 0.9522 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.8347, allocations: 107.8 kB / 0.9523 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.8347, allocations: 1.656 kB / 0.9523 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.835, allocations: 19.83 kB / 0.9523 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.8351, allocations: 17.88 kB / 0.9523 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.8351, allocations: 7.344 kB / 0.9523 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002094/0.8354, allocations: 146.3 kB / 0.9524 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8354, allocations: 4 kB / 0.9525 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004723/0.8358, allocations: 76.41 kB / 0.9525 GB, free: 9.168 MB / 0.7325 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.0002175/0.8361, allocations: 116.3 kB / 0.9526 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.8371, allocations: 453.9 kB / 0.9531 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.8372, allocations: 1.375 kB / 0.9531 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.8378, allocations: 355 kB / 0.9534 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.8382, allocations: 64.14 kB / 0.9535 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000856/0.8391, allocations: 403.5 kB / 0.9539 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.8394, allocations: 0.7319 MB / 0.9546 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.8396, allocations: 39.12 kB / 0.9546 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.8396, allocations: 24.05 kB / 0.9546 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8396, allocations: 0 / 0.9546 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of Templates: time 0.009124/0.8488, allocations: 5.304 MB / 0.9598 GB, free: 7.371 MB / 0.7325 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)