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/Complex 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) 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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8256/0.8256, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 403.3 MB, free: 7.039 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 105.1 kB / 484.3 MB, free: 8.715 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1384, allocations: 80.2 MB / 0.6402 GB, free: 6.773 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002981/0.1414, allocations: 1.701 MB / 0.6418 GB, free: 5.055 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4314/0.5728, allocations: 149.3 MB / 0.7876 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.573, allocations: 4 kB / 0.7876 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.5732, allocations: 11.86 kB / 0.7876 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.5734, allocations: 48.27 kB / 0.7876 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.5738, allocations: 123.5 kB / 0.7878 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.574, allocations: 111.6 kB / 0.7879 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.5741, allocations: 39.56 kB / 0.7879 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.5762, allocations: 159.6 kB / 0.7881 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.218e-05/0.5763, allocations: 47.7 kB / 0.7881 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.5763, allocations: 4 kB / 0.7881 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.5767, allocations: 175.7 kB / 0.7883 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.5767, allocations: 19.92 kB / 0.7883 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.5768, allocations: 47.72 kB / 0.7883 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.5771, allocations: 179.5 kB / 0.7885 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5771, allocations: 4 kB / 0.7885 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.72e-07/0.5771, allocations: 0 / 0.7885 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.5771, allocations: 0 / 0.7885 GB, free: 11.36 MB / 0.5261 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.0006292/0.5778, allocations: 451.5 kB / 0.7889 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.5778, allocations: 12.03 kB / 0.789 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008823/0.5787, allocations: 80.12 kB / 0.789 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.579, allocations: 202.8 kB / 0.7892 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.579, allocations: 11.94 kB / 0.7892 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.579, allocations: 4 kB / 0.7892 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.5794, allocations: 139.7 kB / 0.7894 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.5795, allocations: 3.938 kB / 0.7894 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.5795, allocations: 0 / 0.7894 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5795, allocations: 7.938 kB / 0.7894 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000546/0.5801, allocations: 139.9 kB / 0.7895 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/0.5808, allocations: 408.4 kB / 0.7899 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/0.5816, allocations: 251.7 kB / 0.7901 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.5818, allocations: 72.8 kB / 0.7902 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.5818, allocations: 0 / 0.7902 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.5819, allocations: 38.56 kB / 0.7902 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.235e-06/0.5819, allocations: 0 / 0.7902 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0007649/0.5826, allocations: 219.5 kB / 0.7905 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.5827, allocations: 63.34 kB / 0.7905 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.5828, allocations: 143.9 kB / 0.7907 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.5828, allocations: 33.7 kB / 0.7907 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.5829, allocations: 104 kB / 0.7908 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.583, allocations: 23.8 kB / 0.7908 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.583, allocations: 21.7 kB / 0.7908 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5831, allocations: 326.8 kB / 0.7911 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.5834, allocations: 55.94 kB / 0.7912 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.5836, allocations: 74.52 kB / 0.7913 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.584, allocations: 120.7 kB / 0.7914 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.584, allocations: 0 / 0.7914 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004774/0.5845, allocations: 165.9 kB / 0.7915 GB, free: 8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.5845, allocations: 8 kB / 0.7915 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5846, allocations: 0 / 0.7915 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.5846, allocations: 0 / 0.7915 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.5848, allocations: 27.97 kB / 0.7916 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5848, allocations: 0 / 0.7916 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.585, allocations: 19.89 kB / 0.7916 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.585, allocations: 8.062 kB / 0.7916 GB, free: 7.938 MB / 0.5261 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 8.986e-05/0.5851, allocations: 127 kB / 0.7917 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.5851, allocations: 7.906 kB / 0.7917 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.906e-05/0.5852, allocations: 20.7 kB / 0.7917 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5852, allocations: 3.984 kB / 0.7918 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5852, allocations: 0 / 0.7918 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5852, allocations: 3.984 kB / 0.7918 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007977/0.586, allocations: 466.2 kB / 0.7922 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.586, allocations: 0 / 0.7922 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.5862, allocations: 35.91 kB / 0.7922 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5862, allocations: 4 kB / 0.7922 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.5863, allocations: 4 kB / 0.7922 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5863, allocations: 4 kB / 0.7922 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5863, allocations: 3.938 kB / 0.7923 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009652/0.5872, allocations: 0.8721 MB / 0.7931 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.5873, allocations: 88.95 kB / 0.7932 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.5873, allocations: 3.938 kB / 0.7932 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.5875, allocations: 23.97 kB / 0.7932 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.5876, allocations: 7.984 kB / 0.7932 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.5876, allocations: 0 / 0.7932 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.053e-05/0.5877, allocations: 117.7 kB / 0.7933 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5877, allocations: 0 / 0.7933 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003511/0.588, allocations: 27.94 kB / 0.7934 GB, free: 5.996 MB / 0.5261 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.0001681/0.5882, allocations: 107.2 kB / 0.7935 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004898/0.5887, allocations: 139.7 kB / 0.7936 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5887, allocations: 0 / 0.7936 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.589, allocations: 63.94 kB / 0.7937 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.5893, allocations: 41.14 kB / 0.7937 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006566/0.59, allocations: 379.7 kB / 0.7941 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.5902, allocations: 0.7083 MB / 0.7948 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.5904, allocations: 24.89 kB / 0.7948 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.5904, allocations: 15.42 kB / 0.7948 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/0.5904, allocations: 0 / 0.7948 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of Templates: time 0.004196/0.5946, allocations: 1.811 MB / 0.7966 GB, free: 2.676 MB / 0.5261 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)