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.0009992/0.000999, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001041/0.001041, allocations: 194.4 kB / 16.25 MB, free: 6.617 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.345/1.345, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.656/1.656, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001316/0.001316, allocations: 70.83 kB / 0.671 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2091, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002767/0.2119, allocations: 1.561 MB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002985/0.2122, allocations: 120.7 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.2123, allocations: 4 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.2123, allocations: 0 / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.218e-05/0.2124, allocations: 7.938 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.2127, allocations: 67.84 kB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.239e-05/0.2128, allocations: 59.84 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.2129, allocations: 19.97 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.123e-05/0.2129, allocations: 31.86 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.101e-05/0.213, allocations: 19.86 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.213, allocations: 4 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.213, allocations: 12 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.2131, allocations: 11.98 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.2131, allocations: 31.84 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.362e-05/0.2132, allocations: 48.14 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2132, allocations: 0 / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2132, allocations: 0 / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2132, allocations: 0 / 0.7848 GB, free: 11.89 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.0004798/0.2137, allocations: 375.2 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2138, allocations: 16.03 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.2138, allocations: 0.9375 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.2139, allocations: 180.2 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.214, allocations: 30.27 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.214, allocations: 12.31 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.2142, allocations: 70.16 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2142, allocations: 7.938 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2142, allocations: 0 / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2142, allocations: 0 / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.2144, allocations: 47.95 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.215, allocations: 312.8 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.2151, allocations: 54.48 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.866e-05/0.2152, allocations: 28.94 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.2152, allocations: 0 / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2153, allocations: 34.55 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.2153, allocations: 4 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003445/0.2156, allocations: 101.5 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.2156, allocations: 55.41 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.873e-05/0.2157, allocations: 109.8 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2158, allocations: 25.7 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.2158, allocations: 92.08 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.2158, allocations: 11.8 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.2159, allocations: 17.72 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.216, allocations: 326.8 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.619e-05/0.2161, allocations: 27.97 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.218e-05/0.2161, allocations: 29.7 kB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.2163, allocations: 53.67 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2163, allocations: 4 kB / 0.7867 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001997/0.2165, allocations: 89.5 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2165, allocations: 8 kB / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2166, allocations: 0 / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.2166, allocations: 3.938 kB / 0.7868 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.2167, allocations: 15.98 kB / 0.7868 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2167, allocations: 3.938 kB / 0.7868 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/0.2167, allocations: 7.984 kB / 0.7868 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.2167, allocations: 4.031 kB / 0.7869 GB, free: 9.535 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 6.394e-05/0.2168, allocations: 117.8 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.2168, allocations: 4.234 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.2169, allocations: 11.89 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2169, allocations: 0 / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2169, allocations: 3.938 kB / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2169, allocations: 0 / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.2171, allocations: 189.5 kB / 0.7872 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2171, allocations: 0 / 0.7872 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-05/0.2171, allocations: 15.98 kB / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2171, allocations: 0 / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.2172, allocations: 0 / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2172, allocations: 0 / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2172, allocations: 0 / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.2174, allocations: 183.4 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.2174, allocations: 85.02 kB / 0.7874 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2175, allocations: 4 kB / 0.7874 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.2176, allocations: 7.984 kB / 0.7874 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.2176, allocations: 4 kB / 0.7875 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2176, allocations: 4 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.2177, allocations: 87.27 kB / 0.7875 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2177, allocations: 0 / 0.7875 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002257/0.2179, allocations: 12 kB / 0.7876 GB, free: 8.719 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 9.475e-05/0.218, allocations: 99.25 kB / 0.7876 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.2182, allocations: 55.83 kB / 0.7877 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2182, allocations: 0 / 0.7877 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/0.2183, allocations: 27.97 kB / 0.7877 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.2186, allocations: 10.66 kB / 0.7877 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.2189, allocations: 153.5 kB / 0.7879 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.2191, allocations: 0.6807 MB / 0.7885 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.162e-05/0.2192, allocations: 4 kB / 0.7886 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.2192, allocations: 7.438 kB / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2192, allocations: 4 kB / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of Templates: time 0.002409/0.2216, allocations: 0.755 MB / 0.7893 GB, free: 6.883 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)