Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.006078/0.006077, allocations: 98.97 kB / 15.73 MB, free: 6.039 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.001158/0.001158, allocations: 199 kB / 16.68 MB, free: 5.965 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7963/0.7963, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 59.91 kB / 0.5813 GB, free: 7.586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4903, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003486/0.4938, allocations: 1.626 MB / 0.6613 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1776/0.6714, allocations: 151.6 MB / 0.8093 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.6716, allocations: 4 kB / 0.8093 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.6719, allocations: 19.8 kB / 0.8093 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.6722, allocations: 39.7 kB / 0.8093 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.6726, allocations: 151.4 kB / 0.8095 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.6728, allocations: 119.6 kB / 0.8096 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.673, allocations: 25.39 kB / 0.8096 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.6742, allocations: 174.2 kB / 0.8098 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.6743, allocations: 47.77 kB / 0.8098 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.6743, allocations: 8 kB / 0.8098 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003906/0.6747, allocations: 183.6 kB / 0.81 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.6747, allocations: 27.91 kB / 0.81 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.6748, allocations: 43.73 kB / 0.8101 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.6752, allocations: 191.9 kB / 0.8102 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6752, allocations: 0 / 0.8102 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6752, allocations: 0 / 0.8102 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.6752, allocations: 0 / 0.8102 GB, free: 11.54 MB / 0.6387 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.000632/0.6758, allocations: 450.6 kB / 0.8107 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.6759, allocations: 8.031 kB / 0.8107 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008713/0.6767, allocations: 95.86 kB / 0.8108 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.677, allocations: 210.8 kB / 0.811 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.677, allocations: 8 kB / 0.811 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.677, allocations: 4 kB / 0.811 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.6775, allocations: 137.6 kB / 0.8111 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.6775, allocations: 0 / 0.8111 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.6775, allocations: 0 / 0.8111 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.6775, allocations: 7.938 kB / 0.8111 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.678, allocations: 143.8 kB / 0.8113 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007532/0.6788, allocations: 404.5 kB / 0.8116 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006765/0.6795, allocations: 251.7 kB / 0.8119 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.6797, allocations: 80.78 kB / 0.812 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.6797, allocations: 0 / 0.812 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.6798, allocations: 34.56 kB / 0.812 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.6798, allocations: 0 / 0.812 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0007572/0.6805, allocations: 221.4 kB / 0.8122 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.6806, allocations: 51.41 kB / 0.8123 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.6807, allocations: 145.9 kB / 0.8124 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.6807, allocations: 33.7 kB / 0.8124 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/0.6808, allocations: 108.1 kB / 0.8125 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.6808, allocations: 27.89 kB / 0.8126 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.6809, allocations: 25.64 kB / 0.8126 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.6811, allocations: 326.8 kB / 0.8129 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.6813, allocations: 47.95 kB / 0.8129 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.6815, allocations: 78.52 kB / 0.813 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.6819, allocations: 121.2 kB / 0.8131 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6819, allocations: 3.938 kB / 0.8131 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004686/0.6824, allocations: 169.4 kB / 0.8133 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.6824, allocations: 8 kB / 0.8133 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6824, allocations: 0 / 0.8133 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.6825, allocations: 0 / 0.8133 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.6827, allocations: 31.97 kB / 0.8133 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.6827, allocations: 0 / 0.8133 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.6828, allocations: 19.92 kB / 0.8134 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.6828, allocations: 7.984 kB / 0.8134 GB, free: 8.09 MB / 0.6387 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.464e-05/0.6829, allocations: 118.4 kB / 0.8135 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.683, allocations: 11.91 kB / 0.8135 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.556e-05/0.6831, allocations: 20.72 kB / 0.8135 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.6831, allocations: 0 / 0.8135 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6831, allocations: 4 kB / 0.8135 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.6831, allocations: 3.984 kB / 0.8135 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007964/0.6839, allocations: 458.3 kB / 0.814 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6839, allocations: 0 / 0.814 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.6841, allocations: 35.95 kB / 0.814 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6841, allocations: 0 / 0.814 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.6841, allocations: 0 / 0.814 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6841, allocations: 7.938 kB / 0.814 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6841, allocations: 0 / 0.814 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.6846, allocations: 263.3 kB / 0.8142 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.6847, allocations: 85.06 kB / 0.8143 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.6847, allocations: 0 / 0.8143 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.6849, allocations: 23.91 kB / 0.8143 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.685, allocations: 8 kB / 0.8144 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.685, allocations: 3.984 kB / 0.8144 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.061e-05/0.6851, allocations: 110.5 kB / 0.8145 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6851, allocations: 0 / 0.8145 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002657/0.6853, allocations: 35.92 kB / 0.8145 GB, free: 6.82 MB / 0.6387 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.0001864/0.6855, allocations: 110.3 kB / 0.8146 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004947/0.686, allocations: 135.8 kB / 0.8147 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6861, allocations: 0 / 0.8147 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.6863, allocations: 67.88 kB / 0.8148 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.6866, allocations: 28.47 kB / 0.8148 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.6872, allocations: 242.8 kB / 0.8151 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.6875, allocations: 0.6963 MB / 0.8157 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.6876, allocations: 40.36 kB / 0.8158 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.6877, allocations: 15.44 kB / 0.8158 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.6877, allocations: 0 / 0.8158 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of Templates: time 0.004885/0.6926, allocations: 1.94 MB / 0.8177 GB, free: 3.531 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)