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.001034/0.001034, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001087/0.001088, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 286.8 kB / 290.2 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9559/0.9559, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 95.66 kB / 0.5945 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1905, allocations: 86.99 MB / 0.6794 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003065/0.1936, allocations: 1.552 MB / 0.6809 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003117/0.1939, allocations: 131.6 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.194, allocations: 0 / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.194, allocations: 1.125 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.994e-05/0.1941, allocations: 11.92 kB / 0.6811 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.1944, allocations: 56.59 kB / 0.6811 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.199e-05/0.1945, allocations: 55.83 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1946, allocations: 24.25 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.028e-05/0.1947, allocations: 24.67 kB / 0.6812 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/0.1948, allocations: 19.86 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1948, allocations: 9.125 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.796e-05/0.1948, allocations: 4 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.974e-05/0.1949, allocations: 15.97 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.1949, allocations: 20.42 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.195, allocations: 61.5 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.195, allocations: 4 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.195, allocations: 0 / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.195, allocations: 0 / 0.6814 GB, free: 15.19 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.0005659/0.1956, allocations: 364.9 kB / 0.6817 GB, free: 14.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1957, allocations: 8.031 kB / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.1957, allocations: 9.5 kB / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.1959, allocations: 164.4 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/0.196, allocations: 36.73 kB / 0.6819 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.196, allocations: 4.375 kB / 0.6819 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.1962, allocations: 74.67 kB / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1963, allocations: 3.938 kB / 0.682 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.1963, allocations: 10 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1963, allocations: 0 / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.1965, allocations: 47.95 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.1971, allocations: 322.8 kB / 0.6824 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.1973, allocations: 52.42 kB / 0.6824 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/0.1974, allocations: 28.94 kB / 0.6824 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1974, allocations: 0.75 kB / 0.6824 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1975, allocations: 42.55 kB / 0.6825 GB, free: 13.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1975, allocations: 0 / 0.6825 GB, free: 13.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003796/0.1979, allocations: 101.5 kB / 0.6826 GB, free: 13.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1979, allocations: 51.41 kB / 0.6826 GB, free: 13.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.198, allocations: 105.8 kB / 0.6827 GB, free: 13.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.198, allocations: 29.7 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.1981, allocations: 88.14 kB / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.1981, allocations: 19.8 kB / 0.6829 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1982, allocations: 9.719 kB / 0.6829 GB, free: 13.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1983, allocations: 322.8 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.733e-05/0.1984, allocations: 23.97 kB / 0.6832 GB, free: 13.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.1985, allocations: 29.7 kB / 0.6832 GB, free: 13.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.1987, allocations: 61.67 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.1987, allocations: 4 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002035/0.1989, allocations: 81.83 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.199, allocations: 4 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.199, allocations: 0 / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.199, allocations: 0 / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1991, allocations: 28.06 kB / 0.6834 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1991, allocations: 7.938 kB / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.1992, allocations: 15.83 kB / 0.6834 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.1992, allocations: 4 kB / 0.6834 GB, free: 12.84 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.046e-05/0.1993, allocations: 115.1 kB / 0.6835 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1993, allocations: 4 kB / 0.6835 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.1994, allocations: 7.906 kB / 0.6835 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1994, allocations: 0 / 0.6835 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1994, allocations: 4 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1994, allocations: 0 / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.1996, allocations: 177.6 kB / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1996, allocations: 3.938 kB / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.859e-05/0.1997, allocations: 11.98 kB / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1997, allocations: 0 / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1997, allocations: 4 kB / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1997, allocations: 4 kB / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1997, allocations: 0 / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.2, allocations: 179.3 kB / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.2, allocations: 85.09 kB / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.2, allocations: 0 / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.2002, allocations: 11.98 kB / 0.684 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.2002, allocations: 4 kB / 0.684 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2002, allocations: 3.984 kB / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.431e-05/0.2003, allocations: 91.28 kB / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2003, allocations: 0 / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.2005, allocations: 8 kB / 0.6841 GB, free: 12.05 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 (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.0001108/0.2006, allocations: 95.25 kB / 0.6842 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.2009, allocations: 55.83 kB / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.2009, allocations: 4 kB / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.201, allocations: 28.03 kB / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.2013, allocations: 9.969 kB / 0.6843 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.2016, allocations: 155.1 kB / 0.6844 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.202, allocations: 0.6809 MB / 0.6851 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.256e-05/0.202, allocations: 8 kB / 0.6851 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.2021, allocations: 11.44 kB / 0.6851 GB, free: 10.95 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2021, allocations: 0 / 0.6851 GB, free: 10.95 MB / 494.1 MB Notification: Performance of Templates: time 0.002983/0.2051, allocations: 0.7335 MB / 0.6858 GB, free: 10.22 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)