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.001092/0.001092, 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.001075/0.001075, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.384/1.384, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.701/1.701, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001375/0.001375, allocations: 65.56 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1909, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002985/0.1939, allocations: 1.92 MB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5655/0.7594, allocations: 155.4 MB / 0.937 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.7596, allocations: 1.156 kB / 0.937 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.7598, allocations: 29.56 kB / 0.937 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.7601, allocations: 72.22 kB / 0.9371 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006844/0.7608, allocations: 264.8 kB / 0.9373 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.7611, allocations: 257.7 kB / 0.9376 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.7612, allocations: 63.59 kB / 0.9376 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.7624, allocations: 244.3 kB / 0.9378 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.7626, allocations: 89.59 kB / 0.9379 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.7626, allocations: 14.75 kB / 0.9379 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.763, allocations: 187.4 kB / 0.9381 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.763, allocations: 40 kB / 0.9382 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.89e-05/0.7631, allocations: 88.39 kB / 0.9382 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.7635, allocations: 272.7 kB / 0.9385 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7635, allocations: 0 / 0.9385 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7636, allocations: 4.781 kB / 0.9385 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7636, allocations: 0 / 0.9385 GB, free: 2.191 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.0009857/0.7646, allocations: 0.5104 MB / 0.939 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.7646, allocations: 9.938 kB / 0.939 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008583/0.7655, allocations: 76.5 kB / 0.9391 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.7657, allocations: 227.5 kB / 0.9393 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-05/0.7658, allocations: 51.72 kB / 0.9394 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.7658, allocations: 18.12 kB / 0.9394 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.7663, allocations: 261.1 kB / 0.9396 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7663, allocations: 1.469 kB / 0.9396 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.7664, allocations: 5.25 kB / 0.9396 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.7664, allocations: 4.25 kB / 0.9396 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.7668, allocations: 166.4 kB / 0.9398 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.7683, allocations: 1.175 MB / 0.9409 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/0.7691, allocations: 201.8 kB / 0.9411 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.7693, allocations: 71.25 kB / 0.9412 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.7693, allocations: 5.469 kB / 0.9412 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.7694, allocations: 35.84 kB / 0.9412 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 2.044e-06/0.7694, allocations: 0 / 0.9412 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.002758/0.7721, allocations: 0.6252 MB / 0.9419 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.7722, allocations: 52.94 kB / 0.9419 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.7724, allocations: 200.8 kB / 0.9421 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.7725, allocations: 34.67 kB / 0.9421 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.7725, allocations: 137.5 kB / 0.9423 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.7726, allocations: 40.31 kB / 0.9423 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.459e-05/0.7727, allocations: 47.42 kB / 0.9423 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.7728, allocations: 331 kB / 0.9427 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.773, allocations: 71.78 kB / 0.9427 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.7733, allocations: 130.6 kB / 0.9429 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.7737, allocations: 203.4 kB / 0.943 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.7737, allocations: 2 kB / 0.943 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001458/0.7752, allocations: 369 kB / 0.9434 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.7752, allocations: 5.031 kB / 0.9434 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7752, allocations: 5.938 kB / 0.9434 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.7763, allocations: 158.5 kB / 0.9436 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.7766, allocations: 46.98 kB / 0.9436 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003854/0.7804, allocations: 3.26 MB / 0.9468 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.7808, allocations: 34.12 kB / 0.9468 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.7809, allocations: 16.5 kB / 0.9468 GB, free: 12.43 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.0001506/0.781, allocations: 130.9 kB / 0.947 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.7811, allocations: 15.84 kB / 0.947 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.7825, allocations: 372.6 kB / 0.9473 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7825, allocations: 2.312 kB / 0.9473 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.7825, allocations: 0 / 0.9473 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.7825, allocations: 1.922 kB / 0.9473 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.7828, allocations: 270.2 kB / 0.9476 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7828, allocations: 0 / 0.9476 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.7829, allocations: 24.44 kB / 0.9476 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008513/0.7838, allocations: 146.6 kB / 0.9478 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.7838, allocations: 2.25 kB / 0.9478 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00386/0.7877, allocations: 3.307 MB / 0.951 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7877, allocations: 0 / 0.951 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.7892, allocations: 436.7 kB / 0.9514 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.7893, allocations: 103.7 kB / 0.9515 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.7893, allocations: 7.047 kB / 0.9515 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.7896, allocations: 19.38 kB / 0.9515 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.7897, allocations: 16.19 kB / 0.9515 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.7898, allocations: 14.08 kB / 0.9516 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002045/0.79, allocations: 150.6 kB / 0.9517 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.79, allocations: 0 / 0.9517 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005207/0.7905, allocations: 76.56 kB / 0.9518 GB, free: 8.816 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.0002294/0.7907, allocations: 121.9 kB / 0.9519 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.7919, allocations: 464 kB / 0.9523 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7919, allocations: 0 / 0.9523 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007186/0.7926, allocations: 358 kB / 0.9527 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.7931, allocations: 54.03 kB / 0.9527 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009583/0.7941, allocations: 408 kB / 0.9531 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.7944, allocations: 0.7371 MB / 0.9538 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002016/0.7946, allocations: 37 kB / 0.9539 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.7946, allocations: 21.61 kB / 0.9539 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.7946, allocations: 0 / 0.9539 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of Templates: time 0.01008/0.8047, allocations: 5.292 MB / 0.9591 GB, free: 7.008 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)