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.001313/0.001313, allocations: 108 kB / 15.6 MB, free: 132 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.001201/0.0012, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.348/1.348, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.683/1.683, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001455/0.001455, allocations: 70.45 kB / 0.6715 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2018, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002559/0.2044, allocations: 1.492 MB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000282/0.2047, allocations: 127.6 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.2048, allocations: 0 / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.2048, allocations: 3.938 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.2049, allocations: 11.91 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.2052, allocations: 71.09 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.2053, allocations: 51.92 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.758e-05/0.2054, allocations: 27.95 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.2054, allocations: 23.92 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.2055, allocations: 23.91 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.2055, allocations: 7.938 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/0.2055, allocations: 8 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.2056, allocations: 15.97 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.2056, allocations: 23.88 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.802e-05/0.2057, allocations: 52.12 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2057, allocations: 0 / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2057, allocations: 7.875 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2057, allocations: 0 / 0.7852 GB, free: 11.53 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.0004654/0.2062, allocations: 379.2 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2062, allocations: 12.03 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.2063, allocations: 0.9375 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.2064, allocations: 176.3 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.2065, allocations: 30.27 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.2065, allocations: 4.375 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.2067, allocations: 70.22 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2067, allocations: 3.938 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2067, allocations: 7.938 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2067, allocations: 0 / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.2069, allocations: 51.89 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.2075, allocations: 312.8 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.2076, allocations: 42.55 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.821e-05/0.2077, allocations: 40.92 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.2077, allocations: 3.938 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.2078, allocations: 34.56 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2078, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003484/0.2081, allocations: 101.5 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.2082, allocations: 55.41 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.2083, allocations: 105.8 kB / 0.7866 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.2083, allocations: 29.7 kB / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.2083, allocations: 96.12 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.2084, allocations: 11.81 kB / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.2084, allocations: 17.72 kB / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.2085, allocations: 322.8 kB / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-05/0.2086, allocations: 19.98 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.567e-05/0.2087, allocations: 41.62 kB / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.2089, allocations: 53.69 kB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2089, allocations: 0 / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002171/0.2091, allocations: 89.73 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2091, allocations: 8 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2091, allocations: 0 / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2092, allocations: 0 / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/0.2093, allocations: 19.97 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2093, allocations: 0 / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.62e-05/0.2093, allocations: 11.98 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.2093, allocations: 0 / 0.7873 GB, free: 9.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.191e-05/0.2094, allocations: 117.8 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.2095, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.2095, allocations: 11.91 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2095, allocations: 3.938 kB / 0.7874 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.2095, allocations: 3.984 kB / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2095, allocations: 0 / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.2097, allocations: 189.4 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2097, allocations: 7.922 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-05/0.2098, allocations: 8 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2098, allocations: 4 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2098, allocations: 0 / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2098, allocations: 0 / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2098, allocations: 0 / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.21, allocations: 175.4 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.2101, allocations: 85.02 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.2101, allocations: 4 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.2102, allocations: 11.98 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.2103, allocations: 4.125 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.2103, allocations: 7.984 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.2103, allocations: 91.58 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.353e-06/0.2104, allocations: 0 / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002264/0.2106, allocations: 11.94 kB / 0.788 GB, free: 8.355 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 (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.0001/0.2107, allocations: 103.2 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.2109, allocations: 59.89 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2109, allocations: 0 / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.211, allocations: 27.92 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.2113, allocations: 4 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.2116, allocations: 133.5 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.2118, allocations: 0.6807 MB / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.798e-05/0.2119, allocations: 4 kB / 0.789 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.2119, allocations: 11.44 kB / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2119, allocations: 0 / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of Templates: time 0.002566/0.2145, allocations: 0.8125 MB / 0.7898 GB, free: 6.477 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (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)