Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001184/0.001184, allocations: 99.83 kB / 16.26 MB, free: 6.418 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.001254/0.001254, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.524/1.524, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.814/1.814, allocations: 292.3 MB / 0.5495 GB, free: 17.44 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.89 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2729, allocations: 114.6 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003166/0.2761, allocations: 1.643 MB / 0.7856 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.7485/1.025, allocations: 151.6 MB / 0.9336 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/1.025, allocations: 0 / 0.9336 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002135/1.025, allocations: 19.8 kB / 0.9336 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004022/1.026, allocations: 35.72 kB / 0.9337 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008688/1.026, allocations: 151.4 kB / 0.9338 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003261/1.027, allocations: 123.6 kB / 0.9339 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/1.027, allocations: 32.97 kB / 0.934 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/1.029, allocations: 157.7 kB / 0.9341 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/1.029, allocations: 47.77 kB / 0.9342 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/1.029, allocations: 8 kB / 0.9342 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006206/1.03, allocations: 179.7 kB / 0.9343 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.465e-05/1.03, allocations: 19.92 kB / 0.9344 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.205e-05/1.03, allocations: 47.73 kB / 0.9344 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00059/1.03, allocations: 187.5 kB / 0.9346 GB, free: 392 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.03, allocations: 0 / 0.9346 GB, free: 392 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/1.03, allocations: 0 / 0.9346 GB, free: 392 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.824e-06/1.03, allocations: 4 kB / 0.9346 GB, free: 388 kB / 0.7169 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.0008919/1.031, allocations: 445.8 kB / 0.935 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/1.031, allocations: 11.97 kB / 0.935 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/1.032, allocations: 84.12 kB / 0.9351 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/1.033, allocations: 202.8 kB / 0.9353 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/1.033, allocations: 10.31 kB / 0.9353 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/1.033, allocations: 8 kB / 0.9353 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/1.033, allocations: 137.5 kB / 0.9355 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/1.033, allocations: 0 / 0.9355 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/1.033, allocations: 8 kB / 0.9355 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/1.033, allocations: 3.938 kB / 0.9355 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006586/1.034, allocations: 145.5 kB / 0.9356 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/1.035, allocations: 408.4 kB / 0.936 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007793/1.036, allocations: 251.7 kB / 0.9362 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/1.036, allocations: 76.8 kB / 0.9363 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/1.036, allocations: 0 / 0.9363 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/1.036, allocations: 38.55 kB / 0.9363 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/1.036, allocations: 0 / 0.9363 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0008227/1.037, allocations: 215.5 kB / 0.9365 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/1.037, allocations: 51.41 kB / 0.9366 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/1.037, allocations: 152.5 kB / 0.9367 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/1.037, allocations: 25.7 kB / 0.9368 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/1.037, allocations: 100.1 kB / 0.9369 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/1.037, allocations: 31.69 kB / 0.9369 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/1.037, allocations: 21.72 kB / 0.9369 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.037, allocations: 326.8 kB / 0.9372 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/1.038, allocations: 67.92 kB / 0.9373 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/1.038, allocations: 74.52 kB / 0.9374 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004645/1.038, allocations: 116.8 kB / 0.9375 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.038, allocations: 0.8438 kB / 0.9375 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005229/1.039, allocations: 157.4 kB / 0.9376 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.039, allocations: 4 kB / 0.9376 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.039, allocations: 4 kB / 0.9376 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.039, allocations: 0 / 0.9376 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/1.039, allocations: 31.97 kB / 0.9377 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.039, allocations: 1.719 kB / 0.9377 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/1.039, allocations: 28.38 kB / 0.9377 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/1.039, allocations: 0 / 0.9377 GB, free: 12.96 MB / 0.7325 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 0.0001456/1.04, allocations: 123.6 kB / 0.9378 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/1.04, allocations: 11.91 kB / 0.9378 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.296e-05/1.04, allocations: 16.7 kB / 0.9378 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.04, allocations: 0 / 0.9378 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/1.04, allocations: 9.188 kB / 0.9378 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.04, allocations: 3.938 kB / 0.9378 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/1.041, allocations: 462.4 kB / 0.9383 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.041, allocations: 0 / 0.9383 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/1.041, allocations: 23.97 kB / 0.9383 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/1.041, allocations: 4 kB / 0.9383 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/1.041, allocations: 0 / 0.9383 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.041, allocations: 4 kB / 0.9383 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/1.041, allocations: 11.86 kB / 0.9383 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/1.042, allocations: 261.1 kB / 0.9386 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/1.042, allocations: 89 kB / 0.9387 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/1.042, allocations: 0 / 0.9387 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/1.042, allocations: 13.39 kB / 0.9387 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/1.042, allocations: 15.92 kB / 0.9387 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/1.042, allocations: 4 kB / 0.9387 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001026/1.042, allocations: 112.7 kB / 0.9388 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.042, allocations: 0 / 0.9388 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003043/1.043, allocations: 27.94 kB / 0.9388 GB, free: 11.7 MB / 0.7325 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.0002603/1.043, allocations: 115.2 kB / 0.9389 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005853/1.043, allocations: 129.5 kB / 0.9391 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.043, allocations: 4 kB / 0.9391 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/1.044, allocations: 67.88 kB / 0.9391 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/1.044, allocations: 33.95 kB / 0.9392 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008239/1.045, allocations: 265.5 kB / 0.9394 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/1.045, allocations: 0.7086 MB / 0.9401 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.736e-05/1.045, allocations: 15.42 kB / 0.9401 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of SimCode: time 8.12e-07/1.045, allocations: 4 kB / 0.9401 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of Templates: time 0.004753/1.05, allocations: 1.719 MB / 0.9418 GB, free: 8.637 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)