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.0009592/0.0009593, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.0009027/0.0009027, allocations: 184 kB / 17.22 MB, free: 5.934 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.223/1.223, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.626/1.626, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.001285/0.001285, allocations: 59.91 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2026, allocations: 114.5 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002416/0.205, allocations: 1.496 MB / 0.7855 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002789/0.2053, allocations: 127.6 kB / 0.7856 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.2053, allocations: 3.938 kB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.2054, allocations: 3.938 kB / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.913e-05/0.2054, allocations: 7.922 kB / 0.7857 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.2057, allocations: 83.28 kB / 0.7857 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.2058, allocations: 51.91 kB / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.2059, allocations: 19.97 kB / 0.7858 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.2059, allocations: 27.92 kB / 0.7858 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.206, allocations: 19.91 kB / 0.7859 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.206, allocations: 4 kB / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.761e-05/0.206, allocations: 11.94 kB / 0.7859 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.2061, allocations: 11.98 kB / 0.7859 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.2061, allocations: 31.86 kB / 0.7859 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.244e-05/0.2062, allocations: 48.12 kB / 0.786 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2062, allocations: 4 kB / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2062, allocations: 0 / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2062, allocations: 0 / 0.786 GB, free: 1.941 MB / 0.6544 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.0003814/0.2066, allocations: 375.3 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.353e-05/0.2067, allocations: 15.97 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.2067, allocations: 4.844 kB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.381e-05/0.2068, allocations: 172.2 kB / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.2068, allocations: 34.27 kB / 0.7865 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.2068, allocations: 4.375 kB / 0.7865 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.207, allocations: 74.2 kB / 0.7866 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.207, allocations: 7.938 kB / 0.7866 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.207, allocations: 0 / 0.7866 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2071, allocations: 0 / 0.7866 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.2072, allocations: 47.95 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.2077, allocations: 320.7 kB / 0.787 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.2078, allocations: 46.55 kB / 0.787 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.016e-05/0.2079, allocations: 36.92 kB / 0.787 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2079, allocations: 0 / 0.787 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.2079, allocations: 30.56 kB / 0.7871 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.2079, allocations: 3.938 kB / 0.7871 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0003092/0.2082, allocations: 97.55 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.2083, allocations: 55.41 kB / 0.7872 GB, free: 464 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.2084, allocations: 113.8 kB / 0.7873 GB, free: 340 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.2084, allocations: 25.7 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.2084, allocations: 96.06 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.2084, allocations: 11.88 kB / 0.7875 GB, free: 196 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.2085, allocations: 17.72 kB / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3151/0.5236, allocations: 315.2 kB / 0.7878 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.5238, allocations: 22.98 kB / 0.7878 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.293e-05/0.5239, allocations: 39.03 kB / 0.7878 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.524, allocations: 66.16 kB / 0.7879 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.524, allocations: 0 / 0.7879 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001969/0.5242, allocations: 82.81 kB / 0.788 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5242, allocations: 5.375 kB / 0.788 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5242, allocations: 0 / 0.788 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5243, allocations: 2.625 kB / 0.788 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.5244, allocations: 18.25 kB / 0.788 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5244, allocations: 6.375 kB / 0.788 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.5244, allocations: 4 kB / 0.788 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.5244, allocations: 2.656 kB / 0.788 GB, free: 48.44 MB / 0.6544 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 5.59e-05/0.5245, allocations: 121.7 kB / 0.7881 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.5245, allocations: 7.188 kB / 0.7881 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.5246, allocations: 10.91 kB / 0.7881 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5246, allocations: 0 / 0.7881 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5246, allocations: 3.938 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.5246, allocations: 3.594 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.5247, allocations: 177.7 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5247, allocations: 0 / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.5248, allocations: 13.33 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.5248, allocations: 2.438 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.5248, allocations: 0 / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5248, allocations: 1.031 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5248, allocations: 3.938 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.525, allocations: 177.7 kB / 0.7885 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.525, allocations: 83.08 kB / 0.7886 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.525, allocations: 3.344 kB / 0.7886 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.5251, allocations: 9.422 kB / 0.7886 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.5252, allocations: 14.88 kB / 0.7886 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.5252, allocations: 0 / 0.7886 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.661e-05/0.5252, allocations: 90.42 kB / 0.7887 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5252, allocations: 0 / 0.7887 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000206/0.5254, allocations: 8.781 kB / 0.7887 GB, free: 47.83 MB / 0.6544 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 7.513e-05/0.5255, allocations: 95.75 kB / 0.7888 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.5257, allocations: 57.73 kB / 0.7889 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5257, allocations: 2.969 kB / 0.7889 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.059e-05/0.5258, allocations: 26.58 kB / 0.7889 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.5261, allocations: 4.312 kB / 0.7889 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.5263, allocations: 130.4 kB / 0.789 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.367e-05/0.5264, allocations: 0.6855 MB / 0.7897 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.5265, allocations: 2.625 kB / 0.7897 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.5265, allocations: 10.06 kB / 0.7897 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/0.5265, allocations: 0 / 0.7897 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.002218/0.5287, allocations: 0.8061 MB / 0.7905 GB, free: 46.93 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)