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.0008168/0.0008168, allocations: 86.56 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.0009049/0.0009049, 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 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001685, allocations: 275.1 kB / 291.4 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9594/0.9594, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004183, allocations: 12.09 kB / 0.598 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1899, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001719/0.1917, allocations: 1.203 MB / 0.6857 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003067/0.192, allocations: 108.5 kB / 0.6858 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.192, allocations: 1.188 kB / 0.6858 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.1921, allocations: 3.938 kB / 0.6858 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.1921, allocations: 3.984 kB / 0.6858 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.1925, allocations: 63.42 kB / 0.6858 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.411e-05/0.1926, allocations: 47.84 kB / 0.6859 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1927, allocations: 17.53 kB / 0.6859 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.1928, allocations: 23.92 kB / 0.6859 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.1928, allocations: 15.92 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1929, allocations: 4 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.1929, allocations: 1.031 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.1929, allocations: 15.92 kB / 0.6859 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.1929, allocations: 29.7 kB / 0.686 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.444e-05/0.193, allocations: 39.55 kB / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.193, allocations: 0 / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1931, allocations: 0 / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1931, allocations: 0 / 0.686 GB, free: 13.88 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.0005523/0.1936, allocations: 367.7 kB / 0.6864 GB, free: 13.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1937, allocations: 8.031 kB / 0.6864 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.1937, allocations: 12.48 kB / 0.6864 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.1939, allocations: 171.5 kB / 0.6865 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/0.194, allocations: 35.89 kB / 0.6866 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.194, allocations: 4 kB / 0.6866 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.1943, allocations: 78.16 kB / 0.6867 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1943, allocations: 0.75 kB / 0.6867 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.1944, allocations: 4 kB / 0.6867 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1944, allocations: 1.719 kB / 0.6867 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.1946, allocations: 70.61 kB / 0.6867 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.1953, allocations: 331.1 kB / 0.687 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1954, allocations: 47.86 kB / 0.6871 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.805e-05/0.1955, allocations: 42.34 kB / 0.6871 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1956, allocations: 1.156 kB / 0.6871 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1956, allocations: 38.52 kB / 0.6872 GB, free: 12.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1956, allocations: 4.844 kB / 0.6872 GB, free: 12.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004461/0.1961, allocations: 121.5 kB / 0.6873 GB, free: 12.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.1961, allocations: 51.41 kB / 0.6873 GB, free: 12.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.1962, allocations: 109.8 kB / 0.6874 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.1962, allocations: 29.7 kB / 0.6875 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.1963, allocations: 88.05 kB / 0.6876 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.1963, allocations: 15.89 kB / 0.6876 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.1963, allocations: 0 / 0.6876 GB, free: 12.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1965, allocations: 310.8 kB / 0.6879 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/0.1966, allocations: 23.98 kB / 0.6879 GB, free: 11.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1967, allocations: 49.69 kB / 0.6879 GB, free: 11.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.744e-05/0.1968, allocations: 23.98 kB / 0.688 GB, free: 11.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1969, allocations: 0 / 0.688 GB, free: 11.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002069/0.1971, allocations: 101.5 kB / 0.6881 GB, free: 11.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.1971, allocations: 7.953 kB / 0.6881 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.1971, allocations: 3.984 kB / 0.6881 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.1971, allocations: 4 kB / 0.6881 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1972, allocations: 12 kB / 0.6881 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1973, allocations: 4.031 kB / 0.6881 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.1973, allocations: 15.98 kB / 0.6881 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1973, allocations: 0 / 0.6881 GB, free: 11.52 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.552e-05/0.1974, allocations: 118.4 kB / 0.6882 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.1975, allocations: 3.906 kB / 0.6882 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.1975, allocations: 19.84 kB / 0.6882 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1975, allocations: 0 / 0.6882 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1975, allocations: 0 / 0.6882 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1975, allocations: 4 kB / 0.6882 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.1977, allocations: 173.6 kB / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1977, allocations: 0 / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.1978, allocations: 12 kB / 0.6884 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1978, allocations: 3.938 kB / 0.6884 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1978, allocations: 4 kB / 0.6884 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1979, allocations: 7.938 kB / 0.6884 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1979, allocations: 0 / 0.6884 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.1981, allocations: 187.7 kB / 0.6886 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.1982, allocations: 81.02 kB / 0.6887 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1982, allocations: 4 kB / 0.6887 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.1983, allocations: 19.98 kB / 0.6887 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.1984, allocations: 7.938 kB / 0.6887 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1984, allocations: 4 kB / 0.6887 GB, free: 10.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.289e-05/0.1984, allocations: 83.28 kB / 0.6888 GB, free: 10.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1985, allocations: 4 kB / 0.6888 GB, free: 10.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.1987, allocations: 11.92 kB / 0.6888 GB, free: 10.69 MB / 494.1 MB 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.0001288/0.1988, allocations: 99.25 kB / 0.6889 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.199, allocations: 59.95 kB / 0.689 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.199, allocations: 0 / 0.689 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.162e-05/0.1991, allocations: 31.92 kB / 0.689 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.1994, allocations: 12.06 kB / 0.689 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.1997, allocations: 144.7 kB / 0.6892 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.2, allocations: 0.6809 MB / 0.6898 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.384e-05/0.2001, allocations: 8 kB / 0.6898 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.2001, allocations: 7.438 kB / 0.6898 GB, free: 9.594 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2001, allocations: 0 / 0.6898 GB, free: 9.594 MB / 494.1 MB Notification: Performance of Templates: time 0.002994/0.2031, allocations: 0.7013 MB / 0.6905 GB, free: 8.91 MB / 494.1 MB 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)