Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.009377/0.009377, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00134/0.00134, allocations: 195.5 kB / 16.67 MB, free: 5.52 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.555/1.555, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4631/0.4631, allocations: 95.47 MB / 365.4 MB, free: 12.16 MB / 318.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: Buildings requested package Modelica of version 3.2.1. 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.001345/0.001345, allocations: 63.91 kB / 0.5036 GB, free: 11.88 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4143, allocations: 69.1 MB / 0.5711 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002997/0.4174, allocations: 1.639 MB / 0.5727 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1987/0.6161, allocations: 162.3 MB / 0.7311 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.6165, allocations: 4 kB / 0.7311 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.6167, allocations: 19.8 kB / 0.7312 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.6168, allocations: 27.78 kB / 0.7312 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009204/0.6178, allocations: 171.3 kB / 0.7313 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.6181, allocations: 147.6 kB / 0.7315 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.6183, allocations: 32.47 kB / 0.7315 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.6185, allocations: 83.75 kB / 0.7316 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.6186, allocations: 55.77 kB / 0.7316 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.6187, allocations: 12 kB / 0.7317 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003655/0.619, allocations: 183.8 kB / 0.7318 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.6191, allocations: 19.92 kB / 0.7319 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.749e-05/0.6192, allocations: 55.73 kB / 0.7319 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.6196, allocations: 221.8 kB / 0.7321 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.6196, allocations: 0 / 0.7321 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.066e-06/0.6196, allocations: 0 / 0.7321 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.6196, allocations: 4 kB / 0.7321 GB, free: 14.59 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.0009341/0.6206, allocations: 0.5602 MB / 0.7327 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.6206, allocations: 11.98 kB / 0.7327 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002891/0.6209, allocations: 31.8 kB / 0.7327 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.6214, allocations: 210.4 kB / 0.7329 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.6214, allocations: 8 kB / 0.7329 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.6215, allocations: 8 kB / 0.7329 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.6218, allocations: 129.5 kB / 0.7331 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.6219, allocations: 0 / 0.7331 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.6219, allocations: 4 kB / 0.7331 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.6219, allocations: 7.938 kB / 0.7331 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.6222, allocations: 95.91 kB / 0.7332 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.6228, allocations: 376.4 kB / 0.7335 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.6231, allocations: 94.45 kB / 0.7336 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.6233, allocations: 76.84 kB / 0.7337 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.6233, allocations: 0 / 0.7337 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.6233, allocations: 38.56 kB / 0.7337 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.6233, allocations: 0 / 0.7337 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0008167/0.6242, allocations: 308.8 kB / 0.734 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.712e-05/0.6243, allocations: 114.8 kB / 0.7341 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.6244, allocations: 158.2 kB / 0.7343 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.6245, allocations: 25.7 kB / 0.7343 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.6246, allocations: 104 kB / 0.7344 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.6246, allocations: 27.7 kB / 0.7344 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.562e-05/0.6247, allocations: 33.7 kB / 0.7344 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6249, allocations: 322.8 kB / 0.7348 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.6251, allocations: 79.94 kB / 0.7348 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.6253, allocations: 83.92 kB / 0.7349 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.6259, allocations: 339 kB / 0.7352 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.6259, allocations: 3.938 kB / 0.7352 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006654/0.6266, allocations: 380.2 kB / 0.7356 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.6267, allocations: 130.5 kB / 0.7357 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6267, allocations: 0 / 0.7357 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/0.6268, allocations: 0 / 0.7357 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.6269, allocations: 15.97 kB / 0.7357 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.627, allocations: 4 kB / 0.7357 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.6271, allocations: 31.77 kB / 0.7358 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.6272, allocations: 8 kB / 0.7358 GB, free: 10.47 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: 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.0001758/0.6273, allocations: 190.9 kB / 0.736 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.6274, allocations: 11.91 kB / 0.736 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.6274, allocations: 8.703 kB / 0.736 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.6274, allocations: 4.047 kB / 0.736 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.6274, allocations: 3.984 kB / 0.736 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.6274, allocations: 0 / 0.736 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.6277, allocations: 205.5 kB / 0.7362 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.6277, allocations: 4 kB / 0.7362 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.021e-05/0.6278, allocations: 15.98 kB / 0.7362 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6278, allocations: 0 / 0.7362 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.6278, allocations: 0 / 0.7362 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.6278, allocations: 7.938 kB / 0.7362 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6278, allocations: 3.938 kB / 0.7362 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.6284, allocations: 374.6 kB / 0.7366 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.893e-05/0.6285, allocations: 101 kB / 0.7367 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.6286, allocations: 4 kB / 0.7367 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.6287, allocations: 15.97 kB / 0.7367 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.6288, allocations: 4 kB / 0.7367 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.6288, allocations: 4 kB / 0.7367 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001057/0.6289, allocations: 120 kB / 0.7368 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6289, allocations: 0 / 0.7368 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003242/0.6292, allocations: 63.94 kB / 0.7369 GB, free: 9.242 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 (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.0003757/0.6296, allocations: 146 kB / 0.737 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008141/0.6304, allocations: 465.4 kB / 0.7375 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6304, allocations: 4 kB / 0.7375 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.6308, allocations: 214.7 kB / 0.7377 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.6312, allocations: 32.14 kB / 0.7377 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.6318, allocations: 307.2 kB / 0.738 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.6321, allocations: 0.704 MB / 0.7387 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.618e-05/0.6322, allocations: 11.69 kB / 0.7387 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.6322, allocations: 11.44 kB / 0.7387 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.6322, allocations: 4 kB / 0.7387 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of Templates: time 0.006696/0.6389, allocations: 2.728 MB / 0.7414 GB, free: 4.539 MB / 0.5919 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)