Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 175.7 kB / 326.5 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205 MB / 0.5766 GB, free: 20.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008736/0.0008736, allocations: 94.33 kB / 0.6804 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003255, allocations: 8.688 kB / 0.7938 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2355, allocations: 105.4 MB / 0.8967 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001725/0.2373, allocations: 1.375 MB / 0.8981 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.4002, allocations: 149.3 MB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.4003, allocations: 4 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.4005, allocations: 11.88 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.4007, allocations: 43.77 kB / 1.044 GB, free: 12.4 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.4011, allocations: 123.5 kB / 1.044 GB, free: 12.28 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.4013, allocations: 111.6 kB / 1.044 GB, free: 12.17 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.4014, allocations: 29.39 kB / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.4035, allocations: 158.9 kB / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.608e-05/0.4036, allocations: 35.78 kB / 1.044 GB, free: 11.97 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.4036, allocations: 0 / 1.044 GB, free: 11.97 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003688/0.404, allocations: 187.6 kB / 1.045 GB, free: 11.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.404, allocations: 19.92 kB / 1.045 GB, free: 11.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.4041, allocations: 39.73 kB / 1.045 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.4043, allocations: 127.8 kB / 1.045 GB, free: 11.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4043, allocations: 0 / 1.045 GB, free: 11.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4043, allocations: 0 / 1.045 GB, free: 11.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.4043, allocations: 0 / 1.045 GB, free: 11.61 MB / 0.698 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.0006367/0.405, allocations: 444 kB / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.405, allocations: 12.03 kB / 1.045 GB, free: 11.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008672/0.4059, allocations: 79.94 kB / 1.045 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.4061, allocations: 214.7 kB / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.4062, allocations: 4 kB / 1.045 GB, free: 10.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.4062, allocations: 8 kB / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.4066, allocations: 149.5 kB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4067, allocations: 3.984 kB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.4067, allocations: 8 kB / 1.046 GB, free: 10.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4067, allocations: 3.938 kB / 1.046 GB, free: 10.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.4072, allocations: 155.9 kB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.408, allocations: 408.5 kB / 1.046 GB, free: 10 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.4087, allocations: 259.7 kB / 1.046 GB, free: 9.723 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.409, allocations: 88.67 kB / 1.046 GB, free: 9.633 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.409, allocations: 11.92 kB / 1.046 GB, free: 9.621 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.409, allocations: 38.56 kB / 1.047 GB, free: 9.574 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.4091, allocations: 0 / 1.047 GB, free: 9.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0007779/0.4098, allocations: 245.3 kB / 1.047 GB, free: 9.328 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.4099, allocations: 55.41 kB / 1.047 GB, free: 9.262 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.41, allocations: 142.5 kB / 1.047 GB, free: 9.113 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.41, allocations: 25.7 kB / 1.047 GB, free: 9.082 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.4101, allocations: 100.1 kB / 1.047 GB, free: 8.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.4102, allocations: 31.69 kB / 1.047 GB, free: 8.949 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.4102, allocations: 17.72 kB / 1.047 GB, free: 8.926 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4103, allocations: 322.8 kB / 1.047 GB, free: 8.602 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.4106, allocations: 71.88 kB / 1.047 GB, free: 8.531 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.4108, allocations: 90.52 kB / 1.048 GB, free: 8.434 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.4112, allocations: 136.8 kB / 1.048 GB, free: 8.297 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4113, allocations: 4 kB / 1.048 GB, free: 8.293 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004801/0.4117, allocations: 173.5 kB / 1.048 GB, free: 8.117 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4118, allocations: 11.98 kB / 1.048 GB, free: 8.105 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4118, allocations: 4 kB / 1.048 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4118, allocations: 0 / 1.048 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.412, allocations: 35.91 kB / 1.048 GB, free: 8.066 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.412, allocations: 0 / 1.048 GB, free: 8.066 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.4122, allocations: 27.98 kB / 1.048 GB, free: 8.039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.4122, allocations: 3.984 kB / 1.048 GB, free: 8.035 MB / 0.698 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.58e-05/0.4123, allocations: 117.8 kB / 1.048 GB, free: 7.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.4124, allocations: 15.81 kB / 1.048 GB, free: 7.895 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.4124, allocations: 12.72 kB / 1.048 GB, free: 7.879 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.4124, allocations: 4 kB / 1.048 GB, free: 7.875 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4124, allocations: 4 kB / 1.048 GB, free: 7.871 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4125, allocations: 3.984 kB / 1.048 GB, free: 7.867 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008017/0.4133, allocations: 482.8 kB / 1.049 GB, free: 7.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.4133, allocations: 0 / 1.049 GB, free: 7.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.4135, allocations: 39.95 kB / 1.049 GB, free: 7.301 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4135, allocations: 4 kB / 1.049 GB, free: 7.297 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.4135, allocations: 4 kB / 1.049 GB, free: 7.293 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.4135, allocations: 3.938 kB / 1.049 GB, free: 7.289 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4135, allocations: 3.938 kB / 1.049 GB, free: 7.285 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.414, allocations: 279.4 kB / 1.049 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.4141, allocations: 92.86 kB / 1.049 GB, free: 6.887 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.4141, allocations: 11.94 kB / 1.049 GB, free: 6.875 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.4143, allocations: 27.91 kB / 1.049 GB, free: 6.848 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.4144, allocations: 0 / 1.049 GB, free: 6.848 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.4144, allocations: 11.98 kB / 1.049 GB, free: 6.836 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.696e-05/0.4145, allocations: 110.5 kB / 1.049 GB, free: 6.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.4145, allocations: 0 / 1.049 GB, free: 6.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002573/0.4148, allocations: 31.98 kB / 1.049 GB, free: 6.699 MB / 0.698 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.0001814/0.415, allocations: 115.2 kB / 1.049 GB, free: 6.578 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005042/0.4155, allocations: 143.9 kB / 1.049 GB, free: 6.438 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4155, allocations: 0 / 1.049 GB, free: 6.438 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.4157, allocations: 79.88 kB / 1.049 GB, free: 6.359 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.4161, allocations: 27.98 kB / 1.05 GB, free: 6.332 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.4167, allocations: 286.6 kB / 1.05 GB, free: 6.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.417, allocations: 0.7004 MB / 1.05 GB, free: 5.293 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.4171, allocations: 15.44 kB / 1.05 GB, free: 5.281 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.4171, allocations: 0 / 1.05 GB, free: 5.281 MB / 0.698 GB Notification: Performance of Templates: time 0.003349/0.4204, allocations: 1.7 MB / 1.052 GB, free: 3.582 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)