Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001091/0.001091, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001318/0.001318, allocations: 190.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.382/0.382, allocations: 54.93 MB / 324.4 MB, free: 192 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 71.89 kB / 394.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1353, allocations: 59.58 MB / 454.4 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.2573/0.3926, allocations: 1.706 MB / 456.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1878/0.5805, allocations: 149.4 MB / 0.5913 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.5807, allocations: 0 / 0.5913 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.5809, allocations: 15.86 kB / 0.5913 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.581, allocations: 21.92 kB / 0.5913 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.5816, allocations: 151.5 kB / 0.5915 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.5819, allocations: 151.6 kB / 0.5916 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.582, allocations: 27.5 kB / 0.5916 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.5822, allocations: 91.75 kB / 0.5917 GB, free: 428 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.5823, allocations: 55.77 kB / 0.5918 GB, free: 372 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.5824, allocations: 8 kB / 0.5918 GB, free: 364 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.5828, allocations: 199.6 kB / 0.592 GB, free: 164 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.5829, allocations: 19.92 kB / 0.592 GB, free: 144 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.775e-05/0.583, allocations: 55.73 kB / 0.592 GB, free: 88 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.5835, allocations: 223.5 kB / 0.5923 GB, free: 15.87 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5835, allocations: 0 / 0.5923 GB, free: 15.87 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5835, allocations: 0 / 0.5923 GB, free: 15.87 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.5835, allocations: 0 / 0.5923 GB, free: 15.87 MB / 478.1 MB 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.0008551/0.5844, allocations: 0.5573 MB / 0.5928 GB, free: 15.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5844, allocations: 12.03 kB / 0.5928 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009509/0.5854, allocations: 79.81 kB / 0.5929 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.5856, allocations: 207.4 kB / 0.5931 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.5856, allocations: 8 kB / 0.5931 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.5857, allocations: 12 kB / 0.5931 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.5861, allocations: 153.5 kB / 0.5933 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.5862, allocations: 3.938 kB / 0.5933 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.5862, allocations: 0.75 kB / 0.5933 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.5862, allocations: 0 / 0.5933 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.5866, allocations: 139.8 kB / 0.5934 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008212/0.5874, allocations: 396.4 kB / 0.5938 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.5878, allocations: 106.4 kB / 0.5939 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.5881, allocations: 100.8 kB / 0.594 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.5881, allocations: 3.984 kB / 0.594 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.5882, allocations: 30.56 kB / 0.594 GB, free: 13.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.5882, allocations: 0.75 kB / 0.594 GB, free: 13.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.00113/0.5893, allocations: 372.8 kB / 0.5944 GB, free: 13.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.5894, allocations: 118.8 kB / 0.5945 GB, free: 13.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.5896, allocations: 157 kB / 0.5946 GB, free: 13.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.5896, allocations: 29.7 kB / 0.5946 GB, free: 13.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.5897, allocations: 104.4 kB / 0.5947 GB, free: 13.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.5898, allocations: 23.62 kB / 0.5948 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.5899, allocations: 37.69 kB / 0.5948 GB, free: 13.01 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.5901, allocations: 328.8 kB / 0.5951 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.5904, allocations: 103.9 kB / 0.5952 GB, free: 12.58 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.5908, allocations: 99.91 kB / 0.5953 GB, free: 12.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/0.5915, allocations: 375.5 kB / 0.5957 GB, free: 12.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5915, allocations: 0 / 0.5957 GB, free: 12.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00086/0.5923, allocations: 424.6 kB / 0.5961 GB, free: 11.63 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.5925, allocations: 130.8 kB / 0.5962 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.5925, allocations: 4 kB / 0.5962 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5925, allocations: 0 / 0.5962 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.5926, allocations: 11.98 kB / 0.5962 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5927, allocations: 0 / 0.5962 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.5929, allocations: 43.69 kB / 0.5963 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.5929, allocations: 12.53 kB / 0.5963 GB, free: 11.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (masFra2.found,masFra2.i_nw,masFra2.i_w,masFra1.found,masFra1.i_nw,masFra1.i_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001607/0.5931, allocations: 185.2 kB / 0.5964 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.5931, allocations: 7.906 kB / 0.5965 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.5932, allocations: 12.72 kB / 0.5965 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.5932, allocations: 0 / 0.5965 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5932, allocations: 0 / 0.5965 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5932, allocations: 7.938 kB / 0.5965 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.5934, allocations: 205.6 kB / 0.5967 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5934, allocations: 1.719 kB / 0.5967 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.665e-05/0.5935, allocations: 15.97 kB / 0.5967 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5935, allocations: 4 kB / 0.5967 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.5936, allocations: 0.6875 kB / 0.5967 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5936, allocations: 0 / 0.5967 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5936, allocations: 0 / 0.5967 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000757/0.5943, allocations: 435.1 kB / 0.5971 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.5944, allocations: 85.02 kB / 0.5972 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.5944, allocations: 3.984 kB / 0.5972 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.5947, allocations: 20.48 kB / 0.5972 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.5947, allocations: 11.98 kB / 0.5972 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.5947, allocations: 7.938 kB / 0.5972 GB, free: 10.31 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.048e-05/0.5948, allocations: 108.7 kB / 0.5973 GB, free: 10.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5948, allocations: 1.219 kB / 0.5973 GB, free: 10.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000305/0.5951, allocations: 55.94 kB / 0.5974 GB, free: 10.15 MB / 478.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): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.0003167/0.5955, allocations: 128.7 kB / 0.5975 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008639/0.5963, allocations: 0.4992 MB / 0.598 GB, free: 9.477 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5964, allocations: 0 / 0.598 GB, free: 9.477 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003876/0.5967, allocations: 242.6 kB / 0.5982 GB, free: 9.215 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.5971, allocations: 31.88 kB / 0.5983 GB, free: 9.188 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007066/0.5978, allocations: 360.3 kB / 0.5986 GB, free: 8.824 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.5982, allocations: 0.7003 MB / 0.5993 GB, free: 8.098 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.067e-05/0.5982, allocations: 3.984 kB / 0.5993 GB, free: 8.094 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.5983, allocations: 11.44 kB / 0.5993 GB, free: 8.086 MB / 478.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5983, allocations: 4 kB / 0.5993 GB, free: 8.082 MB / 478.1 MB Notification: Performance of Templates: time 0.006511/0.6048, allocations: 3.168 MB / 0.6024 GB, free: 4.988 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)