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.0008307/0.0008308, allocations: 91.17 kB / 16.67 MB, free: 6.586 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.0008349/0.000835, allocations: 178.8 kB / 17.58 MB, free: 6.184 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.275/1.275, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6997/0.6997, allocations: 115.5 MB / 408.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 12 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3362, allocations: 77.51 MB / 0.5606 GB, free: 36.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001388/0.3376, allocations: 1.356 MB / 0.5619 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1404/0.478, allocations: 147.6 MB / 0.7061 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.4781, allocations: 3.938 kB / 0.7061 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.4783, allocations: 11.94 kB / 0.7061 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.4785, allocations: 47.75 kB / 0.7061 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.4789, allocations: 123.5 kB / 0.7063 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.4791, allocations: 111.6 kB / 0.7064 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.4792, allocations: 35.28 kB / 0.7064 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.4809, allocations: 141.7 kB / 0.7065 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.481, allocations: 39.78 kB / 0.7066 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.481, allocations: 7.984 kB / 0.7066 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.4814, allocations: 175.7 kB / 0.7068 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.663e-05/0.4815, allocations: 19.92 kB / 0.7068 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.4815, allocations: 65.44 kB / 0.7068 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.4817, allocations: 139.6 kB / 0.707 GB, free: 13.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4818, allocations: 0 / 0.707 GB, free: 13.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4818, allocations: 0 / 0.707 GB, free: 13.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.4818, allocations: 0 / 0.707 GB, free: 13.04 MB / 0.545 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.0005789/0.4824, allocations: 443 kB / 0.7074 GB, free: 12.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4824, allocations: 11.97 kB / 0.7074 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000915/0.4833, allocations: 83.88 kB / 0.7075 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.4835, allocations: 202.8 kB / 0.7077 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4836, allocations: 4 kB / 0.7077 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.4836, allocations: 12 kB / 0.7077 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.484, allocations: 149.5 kB / 0.7078 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.4841, allocations: 3.938 kB / 0.7078 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.4841, allocations: 0 / 0.7078 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.4841, allocations: 11.94 kB / 0.7079 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.4847, allocations: 151.9 kB / 0.708 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007207/0.4854, allocations: 412.4 kB / 0.7084 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007206/0.4861, allocations: 263.7 kB / 0.7086 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.4864, allocations: 84.8 kB / 0.7087 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.4864, allocations: 3.984 kB / 0.7087 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.4864, allocations: 34.56 kB / 0.7088 GB, free: 11.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.4864, allocations: 0 / 0.7088 GB, free: 11.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0008225/0.4873, allocations: 249.4 kB / 0.709 GB, free: 10.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.4873, allocations: 55.41 kB / 0.709 GB, free: 10.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.4874, allocations: 144.9 kB / 0.7092 GB, free: 10.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4875, allocations: 29.7 kB / 0.7092 GB, free: 10.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.4875, allocations: 104.1 kB / 0.7093 GB, free: 10.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.4876, allocations: 27.69 kB / 0.7093 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.4876, allocations: 13.72 kB / 0.7094 GB, free: 10.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4877, allocations: 326.8 kB / 0.7097 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.488, allocations: 71.89 kB / 0.7097 GB, free: 9.969 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.4882, allocations: 82.52 kB / 0.7098 GB, free: 9.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.4887, allocations: 153.2 kB / 0.71 GB, free: 9.727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.4887, allocations: 0 / 0.71 GB, free: 9.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000526/0.4892, allocations: 177.5 kB / 0.7101 GB, free: 9.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.4893, allocations: 7.984 kB / 0.7101 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4893, allocations: 4 kB / 0.7101 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4893, allocations: 0 / 0.7101 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.4895, allocations: 35.97 kB / 0.7102 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4895, allocations: 0 / 0.7102 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.4897, allocations: 27.89 kB / 0.7102 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.4897, allocations: 7.984 kB / 0.7102 GB, free: 9.465 MB / 0.545 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.818e-05/0.4898, allocations: 125.7 kB / 0.7103 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.4898, allocations: 7.906 kB / 0.7103 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.4899, allocations: 20.7 kB / 0.7104 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4899, allocations: 0 / 0.7104 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4899, allocations: 0 / 0.7104 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4899, allocations: 7.984 kB / 0.7104 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008207/0.4908, allocations: 482.3 kB / 0.7108 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4908, allocations: 3.938 kB / 0.7108 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.491, allocations: 39.89 kB / 0.7109 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.491, allocations: 0 / 0.7109 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.491, allocations: 4 kB / 0.7109 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.491, allocations: 7.938 kB / 0.7109 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.491, allocations: 0 / 0.7109 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.4916, allocations: 279.2 kB / 0.7111 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.4916, allocations: 81.02 kB / 0.7112 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.4917, allocations: 4 kB / 0.7112 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.4918, allocations: 27.91 kB / 0.7112 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.4919, allocations: 8 kB / 0.7113 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.4919, allocations: 3.984 kB / 0.7113 GB, free: 8.285 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.595e-05/0.492, allocations: 110.3 kB / 0.7114 GB, free: 8.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.492, allocations: 0 / 0.7114 GB, free: 8.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002706/0.4923, allocations: 35.92 kB / 0.7114 GB, free: 8.145 MB / 0.545 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.0001658/0.4924, allocations: 119.1 kB / 0.7115 GB, free: 8.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005235/0.493, allocations: 143.9 kB / 0.7117 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.493, allocations: 0 / 0.7117 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.4933, allocations: 87.86 kB / 0.7117 GB, free: 7.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.4936, allocations: 26.25 kB / 0.7118 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.4942, allocations: 302.7 kB / 0.712 GB, free: 7.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.4945, allocations: 0.7043 MB / 0.7127 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.4945, allocations: 11.44 kB / 0.7127 GB, free: 6.699 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4945, allocations: 4 kB / 0.7128 GB, free: 6.695 MB / 0.545 GB Notification: Performance of Templates: time 0.003397/0.4979, allocations: 1.709 MB / 0.7144 GB, free: 5 MB / 0.545 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)