Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001223/0.001223, 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.001295/0.001295, allocations: 195.8 kB / 16.26 MB, free: 6.629 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.418/1.418, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002464/0.002464, allocations: 282.6 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.068/1.068, allocations: 178.6 MB / 0.5069 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 104.6 kB / 0.6059 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1915, allocations: 89.15 MB / 0.693 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002795/0.1944, allocations: 1.559 MB / 0.6945 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002864/0.1947, allocations: 136.2 kB / 0.6946 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.1947, allocations: 0 / 0.6946 GB, free: 3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.1948, allocations: 1.625 kB / 0.6946 GB, free: 3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.761e-05/0.1948, allocations: 7.922 kB / 0.6946 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1951, allocations: 58.89 kB / 0.6947 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.1952, allocations: 59.83 kB / 0.6947 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.1953, allocations: 26.42 kB / 0.6948 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.1954, allocations: 27.91 kB / 0.6948 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.1954, allocations: 19.92 kB / 0.6948 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1955, allocations: 8 kB / 0.6948 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/0.1955, allocations: 4 kB / 0.6948 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.1955, allocations: 25.56 kB / 0.6949 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.1956, allocations: 19.92 kB / 0.6949 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.1957, allocations: 60.02 kB / 0.6949 GB, free: 2.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1957, allocations: 0 / 0.6949 GB, free: 2.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1957, allocations: 4 kB / 0.6949 GB, free: 2.691 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1957, allocations: 0.6562 kB / 0.6949 GB, free: 2.691 MB / 494.1 MB 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.0005313/0.1962, allocations: 369.1 kB / 0.6953 GB, free: 2.281 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.1963, allocations: 8.031 kB / 0.6953 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.1963, allocations: 12.84 kB / 0.6953 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1964, allocations: 164.3 kB / 0.6955 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.1965, allocations: 38.25 kB / 0.6955 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1965, allocations: 4.375 kB / 0.6955 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.1968, allocations: 70.22 kB / 0.6956 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1968, allocations: 3.938 kB / 0.6956 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1968, allocations: 4 kB / 0.6956 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1968, allocations: 0 / 0.6956 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.197, allocations: 55.89 kB / 0.6956 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.1976, allocations: 312.8 kB / 0.6959 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1978, allocations: 50.55 kB / 0.696 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/0.1979, allocations: 28.88 kB / 0.696 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.1979, allocations: 4 kB / 0.696 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1979, allocations: 34.56 kB / 0.696 GB, free: 1.387 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1979, allocations: 0 / 0.696 GB, free: 1.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003486/0.1983, allocations: 105.7 kB / 0.6961 GB, free: 1.277 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.1983, allocations: 51.41 kB / 0.6962 GB, free: 1.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.1984, allocations: 105.8 kB / 0.6963 GB, free: 1.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1984, allocations: 33.64 kB / 0.6963 GB, free: 1.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.1985, allocations: 88.08 kB / 0.6964 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.1985, allocations: 15.81 kB / 0.6964 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.1986, allocations: 17.7 kB / 0.6964 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1987, allocations: 322.7 kB / 0.6968 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.1988, allocations: 23.98 kB / 0.6968 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.064e-05/0.1989, allocations: 33.69 kB / 0.6968 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.1991, allocations: 57.72 kB / 0.6969 GB, free: 496 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1991, allocations: 4 kB / 0.6969 GB, free: 492 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002225/0.1993, allocations: 93.48 kB / 0.697 GB, free: 392 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1993, allocations: 5.875 kB / 0.697 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1993, allocations: 3.938 kB / 0.697 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1994, allocations: 0 / 0.697 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.1995, allocations: 15.98 kB / 0.697 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.1995, allocations: 0 / 0.697 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.1995, allocations: 4 kB / 0.697 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1995, allocations: 4 kB / 0.697 GB, free: 360 kB / 494.1 MB 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 8.368e-05/0.1996, allocations: 121.8 kB / 0.6971 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.1997, allocations: 4.125 kB / 0.6971 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.1997, allocations: 11.84 kB / 0.6971 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1997, allocations: 4 kB / 0.6971 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1997, allocations: 0 / 0.6971 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-06/0.1997, allocations: 0 / 0.6971 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.1999, allocations: 185.4 kB / 0.6973 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1999, allocations: 0 / 0.6973 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.111e-05/0.2, allocations: 11.98 kB / 0.6973 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2, allocations: 4 kB / 0.6973 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-06/0.2, allocations: 0 / 0.6973 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2, allocations: 4 kB / 0.6973 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2, allocations: 0 / 0.6973 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.2003, allocations: 171.5 kB / 0.6975 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.2004, allocations: 81.11 kB / 0.6976 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.2004, allocations: 4 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.2005, allocations: 11.98 kB / 0.6976 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.2006, allocations: 7.984 kB / 0.6976 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.2006, allocations: 3.938 kB / 0.6976 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.852e-05/0.2006, allocations: 95.2 kB / 0.6977 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2007, allocations: 0 / 0.6977 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002246/0.2009, allocations: 11.91 kB / 0.6977 GB, free: 15.54 MB / 0.4981 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.0001207/0.201, allocations: 95.25 kB / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.2013, allocations: 59.89 kB / 0.6978 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2013, allocations: 0 / 0.6978 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-05/0.2014, allocations: 23.92 kB / 0.6979 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.2017, allocations: 11.98 kB / 0.6979 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.202, allocations: 145.7 kB / 0.698 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.2023, allocations: 0.6807 MB / 0.6987 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.2024, allocations: 7.984 kB / 0.6987 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.2024, allocations: 11.44 kB / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2024, allocations: 0 / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.003404/0.2058, allocations: 0.7639 MB / 0.6994 GB, free: 13.7 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)