Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.0011, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001617/0.001617, allocations: 194.2 kB / 16.14 MB, free: 6.652 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.632/1.632, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6109/0.6109, allocations: 95.47 MB / 364.8 MB, free: 10.07 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 67.91 kB / 444.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3506, allocations: 69.08 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002919/0.3536, allocations: 1.546 MB / 0.5032 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003377/0.3539, allocations: 131.6 kB / 0.5033 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.354, allocations: 0 / 0.5033 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.155e-05/0.3541, allocations: 11.92 kB / 0.5033 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.621e-05/0.3542, allocations: 4 kB / 0.5033 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.3545, allocations: 59.84 kB / 0.5034 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.565e-05/0.3546, allocations: 59.84 kB / 0.5035 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3547, allocations: 11.98 kB / 0.5035 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.3548, allocations: 27.91 kB / 0.5035 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.3549, allocations: 31.84 kB / 0.5035 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.3549, allocations: 0 / 0.5035 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.3549, allocations: 8 kB / 0.5035 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.355, allocations: 11.98 kB / 0.5035 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.355, allocations: 19.86 kB / 0.5036 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.3551, allocations: 57.83 kB / 0.5036 GB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3551, allocations: 0 / 0.5036 GB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3551, allocations: 0 / 0.5036 GB, free: 15.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3551, allocations: 0 / 0.5036 GB, free: 15.62 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004646/0.3556, allocations: 371.3 kB / 0.504 GB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3557, allocations: 15.98 kB / 0.504 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.3557, allocations: 8.844 kB / 0.504 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.862e-05/0.3558, allocations: 168.3 kB / 0.5042 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.3559, allocations: 30.27 kB / 0.5042 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3559, allocations: 8.375 kB / 0.5042 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.3561, allocations: 74.2 kB / 0.5043 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3561, allocations: 7.875 kB / 0.5043 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3561, allocations: 0 / 0.5043 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3561, allocations: 7.984 kB / 0.5043 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3563, allocations: 47.95 kB / 0.5043 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.3568, allocations: 316.6 kB / 0.5046 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.357, allocations: 50.56 kB / 0.5047 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/0.3571, allocations: 28.92 kB / 0.5047 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3571, allocations: 4 kB / 0.5047 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3571, allocations: 30.56 kB / 0.5047 GB, free: 14.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3571, allocations: 0 / 0.5047 GB, free: 14.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003217/0.3574, allocations: 105.5 kB / 0.5048 GB, free: 14.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.3575, allocations: 51.41 kB / 0.5049 GB, free: 14.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.912e-05/0.3575, allocations: 113.8 kB / 0.505 GB, free: 14.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.3575, allocations: 25.7 kB / 0.505 GB, free: 13.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.3576, allocations: 92.03 kB / 0.5051 GB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.3576, allocations: 15.75 kB / 0.5051 GB, free: 13.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.3576, allocations: 17.72 kB / 0.5051 GB, free: 13.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.3577, allocations: 326.8 kB / 0.5054 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.3578, allocations: 19.98 kB / 0.5055 GB, free: 13.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.3579, allocations: 33.69 kB / 0.5055 GB, free: 13.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.358, allocations: 57.62 kB / 0.5056 GB, free: 13.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.358, allocations: 4 kB / 0.5056 GB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.3582, allocations: 81.66 kB / 0.5056 GB, free: 13.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3582, allocations: 4 kB / 0.5056 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3583, allocations: 0 / 0.5056 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3583, allocations: 4.359 kB / 0.5056 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.3584, allocations: 19.92 kB / 0.5057 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3584, allocations: 0 / 0.5057 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.3585, allocations: 8.016 kB / 0.5057 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.3585, allocations: 8 kB / 0.5057 GB, free: 13.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/0.3585, allocations: 113.8 kB / 0.5058 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.3586, allocations: 11.89 kB / 0.5058 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.3586, allocations: 7.906 kB / 0.5058 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3586, allocations: 3.984 kB / 0.5058 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3586, allocations: 4 kB / 0.5058 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3586, allocations: 0 / 0.5058 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.3587, allocations: 181.6 kB / 0.506 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3588, allocations: 0 / 0.506 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.406e-05/0.3588, allocations: 12 kB / 0.506 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3588, allocations: 0 / 0.506 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3588, allocations: 4 kB / 0.506 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3588, allocations: 0 / 0.506 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3589, allocations: 3.984 kB / 0.506 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.3591, allocations: 175.4 kB / 0.5062 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.3591, allocations: 89.02 kB / 0.5063 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.3591, allocations: 0 / 0.5063 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3592, allocations: 11.98 kB / 0.5063 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.3593, allocations: 3.984 kB / 0.5063 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3593, allocations: 4 kB / 0.5063 GB, free: 12.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.219e-05/0.3593, allocations: 83.28 kB / 0.5064 GB, free: 12.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3593, allocations: 0 / 0.5064 GB, free: 12.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.3596, allocations: 15.94 kB / 0.5064 GB, free: 12.46 MB / 382.1 MB 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001031/0.3597, allocations: 107.2 kB / 0.5065 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.3599, allocations: 55.83 kB / 0.5065 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3599, allocations: 0 / 0.5065 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.756e-05/0.36, allocations: 23.98 kB / 0.5065 GB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.3603, allocations: 6.031 kB / 0.5066 GB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.3606, allocations: 155.2 kB / 0.5067 GB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.3608, allocations: 0.6809 MB / 0.5074 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.096e-05/0.3608, allocations: 4 kB / 0.5074 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.3609, allocations: 11.44 kB / 0.5074 GB, free: 11.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3609, allocations: 0 / 0.5074 GB, free: 11.36 MB / 382.1 MB Notification: Performance of Templates: time 0.002612/0.3635, allocations: 0.7239 MB / 0.5081 GB, free: 10.64 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)