Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.000829/0.000829, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0009069/0.0009069, allocations: 172.7 kB / 15.95 MB, free: 208 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.167/1.167, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6671/0.6671, allocations: 132.3 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002635, allocations: 8 kB / 0.5034 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3277, allocations: 81.57 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001177/0.3289, allocations: 1.196 MB / 0.5842 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002274/0.3292, allocations: 131.3 kB / 0.5844 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.3292, allocations: 1.469 kB / 0.5844 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.316e-05/0.3292, allocations: 1.453 kB / 0.5844 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.3293, allocations: 6.438 kB / 0.5844 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.3295, allocations: 62.56 kB / 0.5844 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.471e-05/0.3296, allocations: 52.89 kB / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.786e-05/0.3297, allocations: 12.34 kB / 0.5845 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.566e-05/0.3298, allocations: 30.53 kB / 0.5845 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.3298, allocations: 22.14 kB / 0.5845 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.3298, allocations: 2.531 kB / 0.5845 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.3299, allocations: 2.25 kB / 0.5845 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.3299, allocations: 13.31 kB / 0.5846 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.3299, allocations: 29.48 kB / 0.5846 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.39e-05/0.33, allocations: 34.48 kB / 0.5846 GB, free: 2.883 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.33, allocations: 0 / 0.5846 GB, free: 2.883 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.33, allocations: 0.6875 kB / 0.5846 GB, free: 2.883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.33, allocations: 0 / 0.5846 GB, free: 2.883 MB / 430.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.0003504/0.3303, allocations: 371.8 kB / 0.585 GB, free: 2.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.3304, allocations: 11.91 kB / 0.585 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.3304, allocations: 15.44 kB / 0.585 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.012e-05/0.3305, allocations: 167.8 kB / 0.5852 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.3306, allocations: 34.41 kB / 0.5852 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.3306, allocations: 11.12 kB / 0.5852 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.3308, allocations: 76.08 kB / 0.5853 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3308, allocations: 0 / 0.5853 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.3308, allocations: 5.219 kB / 0.5853 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3308, allocations: 1.375 kB / 0.5853 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.331, allocations: 57.98 kB / 0.5853 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.3314, allocations: 331.8 kB / 0.5857 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.3316, allocations: 48.44 kB / 0.5857 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.3317, allocations: 42 kB / 0.5857 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.3317, allocations: 1.031 kB / 0.5857 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.3317, allocations: 32.42 kB / 0.5858 GB, free: 1.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3317, allocations: 0 / 0.5858 GB, free: 1.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003077/0.332, allocations: 121.1 kB / 0.5859 GB, free: 1.766 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.332, allocations: 52.72 kB / 0.5859 GB, free: 1.703 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.235e-05/0.3321, allocations: 119.5 kB / 0.5861 GB, free: 1.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.3321, allocations: 26.83 kB / 0.5861 GB, free: 1.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.3321, allocations: 87.41 kB / 0.5862 GB, free: 1.473 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.3322, allocations: 18.73 kB / 0.5862 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.3322, allocations: 4 kB / 0.5862 GB, free: 1.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.242e-05/0.3322, allocations: 313.6 kB / 0.5865 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.3323, allocations: 26.44 kB / 0.5865 GB, free: 1.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.951e-05/0.3324, allocations: 41.36 kB / 0.5865 GB, free: 1.113 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.928e-05/0.3325, allocations: 30.7 kB / 0.5866 GB, free: 1.105 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3325, allocations: 0.7031 kB / 0.5866 GB, free: 1.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001832/0.3327, allocations: 95.88 kB / 0.5867 GB, free: 1.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3327, allocations: 5.766 kB / 0.5867 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3327, allocations: 0.6562 kB / 0.5867 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3327, allocations: 5.656 kB / 0.5867 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.3328, allocations: 19.17 kB / 0.5867 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3328, allocations: 1.812 kB / 0.5867 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.3329, allocations: 16.2 kB / 0.5867 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.3329, allocations: 1.891 kB / 0.5867 GB, free: 1.043 MB / 430.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 4.524e-05/0.3329, allocations: 123.4 kB / 0.5868 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.333, allocations: 2.578 kB / 0.5868 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.333, allocations: 14.03 kB / 0.5869 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.333, allocations: 3.953 kB / 0.5869 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.333, allocations: 1.641 kB / 0.5869 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.333, allocations: 0 / 0.5869 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.3331, allocations: 171.8 kB / 0.587 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3331, allocations: 0 / 0.587 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.3332, allocations: 22.31 kB / 0.587 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3332, allocations: 0 / 0.587 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3332, allocations: 0.9375 kB / 0.587 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3332, allocations: 0.6094 kB / 0.587 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3332, allocations: 5.016 kB / 0.587 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.3334, allocations: 184.5 kB / 0.5872 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.3334, allocations: 79.25 kB / 0.5873 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.3335, allocations: 5.375 kB / 0.5873 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3336, allocations: 19.16 kB / 0.5873 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.3336, allocations: 6.219 kB / 0.5873 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.3336, allocations: 7.266 kB / 0.5873 GB, free: 448 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.479e-05/0.3337, allocations: 92.08 kB / 0.5874 GB, free: 364 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3337, allocations: 0.8438 kB / 0.5874 GB, free: 364 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.3339, allocations: 7.438 kB / 0.5874 GB, free: 364 kB / 430.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 7.334e-05/0.3339, allocations: 94.67 kB / 0.5875 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.3341, allocations: 62.81 kB / 0.5876 GB, free: 260 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3342, allocations: 0 / 0.5876 GB, free: 260 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.3342, allocations: 33.64 kB / 0.5876 GB, free: 252 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.3345, allocations: 7.75 kB / 0.5876 GB, free: 248 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.3347, allocations: 160.4 kB / 0.5878 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.3349, allocations: 0.6827 MB / 0.5884 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.779e-05/0.335, allocations: 4.016 kB / 0.5884 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.335, allocations: 9.781 kB / 0.5885 GB, free: 15.39 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.335, allocations: 4 kB / 0.5885 GB, free: 15.39 MB / 446.1 MB Notification: Performance of Templates: time 0.002286/0.3373, allocations: 0.6853 MB / 0.5891 GB, free: 15.32 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)