Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 111.1 kB / 16.41 MB, free: 6.496 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.001151/0.001151, allocations: 189.3 kB / 17.34 MB, free: 5.762 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7066/0.7066, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 66.23 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1445, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002408/0.147, allocations: 1.63 MB / 0.6337 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5249/0.6719, allocations: 151.5 MB / 0.7816 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.6721, allocations: 1.469 kB / 0.7816 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.6723, allocations: 18.64 kB / 0.7817 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.6726, allocations: 48.3 kB / 0.7817 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.6731, allocations: 143.3 kB / 0.7818 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.6733, allocations: 122.9 kB / 0.782 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.6734, allocations: 33.38 kB / 0.782 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.6746, allocations: 164.4 kB / 0.7822 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.6747, allocations: 45.73 kB / 0.7822 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.6747, allocations: 6.469 kB / 0.7822 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.6751, allocations: 186.7 kB / 0.7824 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.6751, allocations: 20.52 kB / 0.7824 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.6752, allocations: 44.92 kB / 0.7824 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.6756, allocations: 186 kB / 0.7826 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6756, allocations: 4 kB / 0.7826 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6756, allocations: 1.094 kB / 0.7826 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.6756, allocations: 3.938 kB / 0.7826 GB, free: 13.98 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006588/0.6763, allocations: 444.5 kB / 0.7831 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.6763, allocations: 9.562 kB / 0.7831 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/0.6772, allocations: 83 kB / 0.7831 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.6775, allocations: 214.5 kB / 0.7833 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.6775, allocations: 6.406 kB / 0.7834 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.6775, allocations: 9.062 kB / 0.7834 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.678, allocations: 135 kB / 0.7835 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.678, allocations: 0.9688 kB / 0.7835 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.678, allocations: 4.188 kB / 0.7835 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.678, allocations: 9.984 kB / 0.7835 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.6786, allocations: 135.8 kB / 0.7836 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/0.6793, allocations: 417.5 kB / 0.784 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/0.68, allocations: 251.8 kB / 0.7843 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.6803, allocations: 75.03 kB / 0.7843 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.6803, allocations: 1.125 kB / 0.7843 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.6803, allocations: 35.44 kB / 0.7844 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.6803, allocations: 4 kB / 0.7844 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007824/0.6811, allocations: 208.8 kB / 0.7846 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.6812, allocations: 64.06 kB / 0.7846 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.6813, allocations: 147 kB / 0.7848 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.6813, allocations: 25.7 kB / 0.7848 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.6814, allocations: 101.5 kB / 0.7849 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.6814, allocations: 28.92 kB / 0.7849 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/0.6815, allocations: 25.36 kB / 0.785 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6817, allocations: 326.5 kB / 0.7853 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.6819, allocations: 53.16 kB / 0.7853 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.6821, allocations: 79.69 kB / 0.7854 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.6825, allocations: 122.4 kB / 0.7855 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6825, allocations: 0 / 0.7855 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004531/0.683, allocations: 161.3 kB / 0.7857 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.683, allocations: 4.594 kB / 0.7857 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.683, allocations: 2.281 kB / 0.7857 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.683, allocations: 1.781 kB / 0.7857 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.6832, allocations: 29.61 kB / 0.7857 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6833, allocations: 2.328 kB / 0.7857 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.6834, allocations: 14.12 kB / 0.7857 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.6834, allocations: 5.5 kB / 0.7857 GB, free: 12.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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.781e-05/0.6835, allocations: 123.6 kB / 0.7858 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.6836, allocations: 13.34 kB / 0.7859 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.572e-05/0.6836, allocations: 16.27 kB / 0.7859 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.6836, allocations: 0 / 0.7859 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6836, allocations: 3.938 kB / 0.7859 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6837, allocations: 2.594 kB / 0.7859 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007519/0.6844, allocations: 475.8 kB / 0.7863 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6844, allocations: 1.828 kB / 0.7863 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.6846, allocations: 24.83 kB / 0.7864 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.6846, allocations: 9.75 kB / 0.7864 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.6846, allocations: 0 / 0.7864 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6846, allocations: 0.625 kB / 0.7864 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6846, allocations: 3.938 kB / 0.7864 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.6852, allocations: 265.1 kB / 0.7866 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.6853, allocations: 85.75 kB / 0.7867 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.6853, allocations: 0.875 kB / 0.7867 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.6855, allocations: 19.48 kB / 0.7867 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.6855, allocations: 10.48 kB / 0.7867 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.6855, allocations: 5.375 kB / 0.7867 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.551e-05/0.6856, allocations: 112.2 kB / 0.7868 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6856, allocations: 0 / 0.7868 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000267/0.6859, allocations: 36.31 kB / 0.7869 GB, free: 11.3 MB / 0.5919 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 (8): * Single equations (assignments): 8 * 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.0001638/0.6861, allocations: 110.9 kB / 0.787 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.6866, allocations: 130 kB / 0.7871 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6866, allocations: 1.469 kB / 0.7871 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.6868, allocations: 62.86 kB / 0.7872 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.6871, allocations: 30.62 kB / 0.7872 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/0.6877, allocations: 241.1 kB / 0.7874 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.688, allocations: 0.6976 MB / 0.7881 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.6882, allocations: 33.3 kB / 0.7881 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.6882, allocations: 15.66 kB / 0.7882 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.6882, allocations: 5.531 kB / 0.7882 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of Templates: time 0.004758/0.693, allocations: 1.943 MB / 0.7901 GB, free: 10.21 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)