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.0009876/0.0009876, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 282.9 kB / 290.7 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9352/0.9352, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 99.7 kB / 0.5952 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1944, allocations: 86.99 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00291/0.1973, allocations: 1.494 MB / 0.6816 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003719/0.1977, allocations: 128.3 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.1978, allocations: 0 / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.1978, allocations: 5.344 kB / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.1979, allocations: 3.938 kB / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.1982, allocations: 71.3 kB / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.1984, allocations: 59.78 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1985, allocations: 24.25 kB / 0.6819 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.1986, allocations: 27.92 kB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.1986, allocations: 19.91 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.1987, allocations: 8 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.809e-05/0.1987, allocations: 4 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.1987, allocations: 19.92 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.1988, allocations: 19.92 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.1989, allocations: 59.72 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1989, allocations: 4 kB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1989, allocations: 4 kB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1989, allocations: 0 / 0.6821 GB, free: 14.74 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.0005972/0.1995, allocations: 363.4 kB / 0.6824 GB, free: 14.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1996, allocations: 12.03 kB / 0.6824 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.703e-05/0.1996, allocations: 8.844 kB / 0.6824 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1998, allocations: 168.3 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/0.1999, allocations: 30.27 kB / 0.6826 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1999, allocations: 8.375 kB / 0.6826 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.2001, allocations: 74.22 kB / 0.6827 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.2001, allocations: 7.938 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2002, allocations: 0 / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.2002, allocations: 0 / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.2004, allocations: 43.95 kB / 0.6828 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/0.201, allocations: 332.5 kB / 0.6831 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.2012, allocations: 50.55 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.2013, allocations: 24.94 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2013, allocations: 4 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.2013, allocations: 38.55 kB / 0.6832 GB, free: 13.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2013, allocations: 0 / 0.6832 GB, free: 13.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003637/0.2017, allocations: 101.7 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.2018, allocations: 51.41 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.2018, allocations: 109.8 kB / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.2019, allocations: 33.64 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.2019, allocations: 92.08 kB / 0.6836 GB, free: 13.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.202, allocations: 11.8 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.202, allocations: 21.72 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2021, allocations: 318.8 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.948e-05/0.2022, allocations: 23.97 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.288e-05/0.2023, allocations: 37.7 kB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.2025, allocations: 61.59 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2025, allocations: 0 / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000208/0.2027, allocations: 85.66 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2028, allocations: 4 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2028, allocations: 4.031 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.2028, allocations: 0 / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.2029, allocations: 19.92 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2029, allocations: 0 / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.073e-05/0.203, allocations: 15.83 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.203, allocations: 0 / 0.6841 GB, free: 12.38 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 0.0001527/0.2032, allocations: 119.1 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.2032, allocations: 4 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.2032, allocations: 7.906 kB / 0.6843 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2032, allocations: 0 / 0.6843 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2032, allocations: 0 / 0.6843 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2033, allocations: 0 / 0.6843 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.2035, allocations: 181.6 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2035, allocations: 0 / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-05/0.2036, allocations: 11.98 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2036, allocations: 0 / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2036, allocations: 0 / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2036, allocations: 0 / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2036, allocations: 4 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.2039, allocations: 183.4 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.204, allocations: 81.09 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.204, allocations: 8 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2041, allocations: 7.984 kB / 0.6847 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.2042, allocations: 4 kB / 0.6847 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.2042, allocations: 4 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.288e-05/0.2042, allocations: 91.27 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2042, allocations: 3.938 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.2045, allocations: 12 kB / 0.6848 GB, free: 11.58 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.0001148/0.2046, allocations: 95.25 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.2048, allocations: 55.83 kB / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2048, allocations: 4.062 kB / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.2049, allocations: 31.91 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.2053, allocations: 4 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.2056, allocations: 133.5 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.2059, allocations: 0.6885 MB / 0.6858 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.463e-05/0.2059, allocations: 7.938 kB / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.206, allocations: 11.44 kB / 0.6858 GB, free: 10.49 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.206, allocations: 0 / 0.6858 GB, free: 10.49 MB / 494.1 MB Notification: Performance of Templates: time 0.002973/0.2089, allocations: 0.8108 MB / 0.6866 GB, free: 9.695 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)