Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001125/0.001125, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001292/0.001293, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.904/1.904, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.000555/0.000555, allocations: 15.31 kB / 0.6737 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2802, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001953/0.2822, allocations: 1.207 MB / 0.7885 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003548/0.2826, allocations: 116.8 kB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.2827, allocations: 0 / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.2827, allocations: 7.922 kB / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.2828, allocations: 7.922 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.2832, allocations: 55.92 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.468e-05/0.2833, allocations: 51.84 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.2834, allocations: 15.97 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.24e-05/0.2835, allocations: 19.92 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.2836, allocations: 23.86 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.2836, allocations: 4 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.2836, allocations: 0 / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.2837, allocations: 11.98 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.2837, allocations: 29.7 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.68e-05/0.2838, allocations: 36.2 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2838, allocations: 3.938 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.667e-06/0.2839, allocations: 3.984 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2839, allocations: 0 / 0.7888 GB, free: 10.37 MB / 0.6075 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.0005134/0.2844, allocations: 367.2 kB / 0.7892 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2844, allocations: 8.031 kB / 0.7892 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.2845, allocations: 7.906 kB / 0.7892 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.2846, allocations: 171 kB / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.317e-05/0.2847, allocations: 33.7 kB / 0.7894 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.2847, allocations: 0 / 0.7894 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.285, allocations: 85.66 kB / 0.7895 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.285, allocations: 0 / 0.7895 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.285, allocations: 0 / 0.7895 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.285, allocations: 3.938 kB / 0.7895 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.2852, allocations: 63.89 kB / 0.7895 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.2859, allocations: 332.7 kB / 0.7899 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.286, allocations: 58.53 kB / 0.7899 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.2861, allocations: 32.92 kB / 0.7899 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.2862, allocations: 7.938 kB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.2862, allocations: 34.56 kB / 0.79 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2862, allocations: 0 / 0.79 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003658/0.2866, allocations: 113.6 kB / 0.7901 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.2866, allocations: 55.41 kB / 0.7901 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.2867, allocations: 105.8 kB / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2867, allocations: 29.7 kB / 0.7903 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.2868, allocations: 95.97 kB / 0.7904 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.2868, allocations: 11.81 kB / 0.7904 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.2868, allocations: 0 / 0.7904 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2869, allocations: 322.8 kB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.185e-05/0.287, allocations: 31.91 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-05/0.2871, allocations: 37.64 kB / 0.7907 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.08e-05/0.2872, allocations: 35.97 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.2872, allocations: 0 / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002145/0.2875, allocations: 85.66 kB / 0.7909 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2875, allocations: 11.97 kB / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2875, allocations: 4 kB / 0.7909 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2875, allocations: 0 / 0.7909 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.2876, allocations: 19.98 kB / 0.7909 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.2877, allocations: 3.953 kB / 0.7909 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.2877, allocations: 12.12 kB / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.2877, allocations: 0 / 0.7909 GB, free: 8 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.668e-05/0.2878, allocations: 122.5 kB / 0.791 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.2878, allocations: 3.906 kB / 0.791 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.2879, allocations: 7.906 kB / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2879, allocations: 0 / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2879, allocations: 0 / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2879, allocations: 3.953 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.2881, allocations: 181.6 kB / 0.7912 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2881, allocations: 0 / 0.7912 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/0.2882, allocations: 11.98 kB / 0.7912 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2882, allocations: 8 kB / 0.7912 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.2882, allocations: 0 / 0.7912 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2882, allocations: 0 / 0.7912 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2882, allocations: 3.938 kB / 0.7912 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.2884, allocations: 191.4 kB / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.2885, allocations: 81.05 kB / 0.7915 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.2885, allocations: 4 kB / 0.7915 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.2886, allocations: 11.98 kB / 0.7915 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.2887, allocations: 7.984 kB / 0.7915 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.2887, allocations: 0 / 0.7915 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.867e-05/0.2888, allocations: 95.56 kB / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2888, allocations: 4 kB / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002204/0.289, allocations: 8 kB / 0.7916 GB, free: 7.168 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001244/0.2891, allocations: 103.5 kB / 0.7917 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.2894, allocations: 67.88 kB / 0.7918 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.2894, allocations: 0 / 0.7918 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.499e-05/0.2895, allocations: 31.92 kB / 0.7918 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.2898, allocations: 7.984 kB / 0.7918 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.2901, allocations: 148.7 kB / 0.792 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.2904, allocations: 0.6835 MB / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.584e-05/0.2904, allocations: 11.92 kB / 0.7926 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.2904, allocations: 7.438 kB / 0.7927 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2904, allocations: 0 / 0.7927 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of Templates: time 0.002895/0.2933, allocations: 0.6811 MB / 0.7933 GB, free: 5.379 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) Environment - environmentSimulation: