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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7935/0.7935, allocations: 143.4 MB / 158.3 MB, free: 5.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009837/0.0009837, allocations: 177.1 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 447.7 MB, free: 4.812 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009187/0.0009185, allocations: 90.22 kB / 0.5188 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 267.6 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.000466, allocations: 16.31 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2145, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/0.397, allocations: 109.4 MB / 0.8806 GB, free: 296 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.3974, allocations: 74 kB / 0.8806 GB, free: 224 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.417/0.8144, allocations: 2.398 MB / 0.883 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8144, allocations: 0 / 0.883 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.8145, allocations: 2.781 kB / 0.883 GB, free: 109.4 MB / 0.5417 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.0004836/0.815, allocations: 368.9 kB / 0.8833 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.815, allocations: 11.67 kB / 0.8833 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.8151, allocations: 6.281 kB / 0.8833 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.8152, allocations: 174.7 kB / 0.8835 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-05/0.8153, allocations: 36.14 kB / 0.8835 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.8154, allocations: 3.906 kB / 0.8836 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.8156, allocations: 88.42 kB / 0.8836 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8156, allocations: 0 / 0.8836 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.8157, allocations: 7.219 kB / 0.8836 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.8157, allocations: 3.328 kB / 0.8836 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.8159, allocations: 56.03 kB / 0.8837 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.8165, allocations: 310.7 kB / 0.884 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.8166, allocations: 56.66 kB / 0.8841 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.8167, allocations: 2.969 kB / 0.8841 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.8167, allocations: 35 kB / 0.8841 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.8167, allocations: 0 / 0.8841 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0004/0.8171, allocations: 109.4 kB / 0.8842 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.8172, allocations: 54.64 kB / 0.8842 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.8172, allocations: 105.1 kB / 0.8843 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.8173, allocations: 33.39 kB / 0.8844 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.8173, allocations: 90.42 kB / 0.8845 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.8173, allocations: 15.44 kB / 0.8845 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.8174, allocations: 0 / 0.8845 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.8174, allocations: 321.3 kB / 0.8848 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.8175, allocations: 25.77 kB / 0.8848 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.8176, allocations: 42.73 kB / 0.8848 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.846e-05/0.8177, allocations: 26.53 kB / 0.8849 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8177, allocations: 0 / 0.8849 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002022/0.818, allocations: 104.9 kB / 0.885 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.818, allocations: 6.031 kB / 0.885 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.818, allocations: 0 / 0.885 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.818, allocations: 4.969 kB / 0.885 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.8182, allocations: 15.09 kB / 0.885 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.8182, allocations: 4.031 kB / 0.885 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.8182, allocations: 9.047 kB / 0.885 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.8182, allocations: 2.906 kB / 0.885 GB, free: 107.7 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.8184, allocations: 114 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.8184, allocations: 6.188 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.8184, allocations: 9.875 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8184, allocations: 0 / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8185, allocations: 3.562 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.8185, allocations: 4 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.8186, allocations: 177.5 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8186, allocations: 3.984 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.8187, allocations: 19.5 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8187, allocations: 3.938 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.8187, allocations: 0 / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.8187, allocations: 3.406 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8187, allocations: 4 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.819, allocations: 184.8 kB / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.819, allocations: 83.58 kB / 0.8856 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.819, allocations: 3.281 kB / 0.8856 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.8192, allocations: 17.67 kB / 0.8856 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.8192, allocations: 3.25 kB / 0.8856 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.8193, allocations: 8.281 kB / 0.8856 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.053e-05/0.8193, allocations: 80.75 kB / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.092e-06/0.8193, allocations: 1.875 kB / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000216/0.8195, allocations: 17.84 kB / 0.8857 GB, free: 107.1 MB / 0.5417 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 (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.000119/0.8196, allocations: 104.1 kB / 0.8858 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.8199, allocations: 60.11 kB / 0.8859 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8199, allocations: 0 / 0.8859 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.381e-05/0.82, allocations: 35.5 kB / 0.8859 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.8203, allocations: 6.812 kB / 0.8859 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.8207, allocations: 144.3 kB / 0.8861 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.8209, allocations: 0.6889 MB / 0.8867 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.075e-05/0.821, allocations: 9.594 kB / 0.8867 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.821, allocations: 7.438 kB / 0.8868 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of SimCode: time 3.2e-07/0.821, allocations: 0 / 0.8868 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.003453/0.8245, allocations: 0.6808 MB / 0.8874 GB, free: 106.1 MB / 0.5417 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)