Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.000936/0.0009357, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006593/0.006593, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 13.03 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3971, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001742/0.3989, allocations: 1.219 MB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002844/0.3992, allocations: 119.7 kB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.3993, allocations: 4 kB / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.3993, allocations: 0 / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.418e-05/0.3994, allocations: 7.922 kB / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.3997, allocations: 59.92 kB / 1.076 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.083e-05/0.3998, allocations: 55.84 kB / 1.076 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.3999, allocations: 19.92 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.34e-05/0.4, allocations: 27.91 kB / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.4, allocations: 15.92 kB / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.4, allocations: 4 kB / 1.076 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.4001, allocations: 4 kB / 1.076 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.4001, allocations: 11.92 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.4002, allocations: 49.56 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.212e-05/0.4002, allocations: 43.84 kB / 1.076 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4003, allocations: 0 / 1.076 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4003, allocations: 4 kB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.4003, allocations: 0 / 1.076 GB, free: 5.887 MB / 0.8262 GB 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.0004903/0.4008, allocations: 367.7 kB / 1.076 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.4008, allocations: 12.03 kB / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.4009, allocations: 4.844 kB / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.401, allocations: 168.3 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.4011, allocations: 38.25 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.4011, allocations: 4.375 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.4013, allocations: 86.14 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4013, allocations: 3.938 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.4014, allocations: 4 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4014, allocations: 0 / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.4016, allocations: 59.95 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.4022, allocations: 328.7 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.4023, allocations: 54.5 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.4025, allocations: 44.86 kB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-06/0.4025, allocations: 3.938 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.4025, allocations: 30.56 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.4025, allocations: 4 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003821/0.4029, allocations: 109.6 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.4029, allocations: 55.39 kB / 1.077 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.403, allocations: 117.8 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.4031, allocations: 29.69 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.4031, allocations: 95.98 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.4031, allocations: 11.81 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.4032, allocations: 9.719 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4033, allocations: 326.8 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.613e-05/0.4034, allocations: 23.98 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.4035, allocations: 41.69 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.4037, allocations: 65.69 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4037, allocations: 0 / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002484/0.404, allocations: 97.59 kB / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.404, allocations: 7.984 kB / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.404, allocations: 0 / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.404, allocations: 0 / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.982e-05/0.4041, allocations: 20.03 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4042, allocations: 0 / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.4042, allocations: 7.984 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.4042, allocations: 4 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB 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 9.034e-05/0.4043, allocations: 121.7 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.4044, allocations: 3.906 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.4044, allocations: 11.89 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4044, allocations: 8 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4044, allocations: 0 / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4044, allocations: 128 / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.4046, allocations: 177.6 kB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4046, allocations: 0 / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.4047, allocations: 12 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4047, allocations: 0 / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-06/0.4047, allocations: 7.984 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4047, allocations: 4 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.4047, allocations: 0 / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.405, allocations: 195.5 kB / 1.078 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.4051, allocations: 84.98 kB / 1.078 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.4051, allocations: 0 / 1.078 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.4052, allocations: 23.98 kB / 1.078 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.4053, allocations: 3.984 kB / 1.078 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.4053, allocations: 7.938 kB / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.4053, allocations: 91.33 kB / 1.079 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4053, allocations: 0 / 1.079 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002194/0.4056, allocations: 8 kB / 1.079 GB, free: 2.605 MB / 0.8262 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 (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.0001097/0.4057, allocations: 99.25 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.4059, allocations: 63.89 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4059, allocations: 0 / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.406, allocations: 35.98 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.4063, allocations: 8 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.4066, allocations: 156.6 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.4069, allocations: 0.6809 MB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.955e-05/0.4069, allocations: 8 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.407, allocations: 7.438 kB / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.407, allocations: 0 / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of Templates: time 0.002808/0.4098, allocations: 0.7152 MB / 1.08 GB, free: 0.7852 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)