Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 96.44 kB / 16.26 MB, free: 5.934 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.001201/0.001201, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7856/0.7856, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001368, allocations: 63.91 kB / 0.4911 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3945, allocations: 77.91 MB / 0.5672 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.004834/0.3994, allocations: 1.486 MB / 0.5686 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005776/0.4, allocations: 139.6 kB / 0.5688 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.437e-05/0.4001, allocations: 1.375 kB / 0.5688 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.794e-05/0.4002, allocations: 4.953 kB / 0.5688 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.181e-05/0.4003, allocations: 5.219 kB / 0.5688 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.4008, allocations: 63.23 kB / 0.5688 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.4009, allocations: 62.02 kB / 0.5689 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.4011, allocations: 23.73 kB / 0.5689 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.943e-05/0.4012, allocations: 23.86 kB / 0.5689 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.969e-05/0.4013, allocations: 27.83 kB / 0.569 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.4013, allocations: 5.938 kB / 0.569 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.4014, allocations: 5.375 kB / 0.569 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.4014, allocations: 13.83 kB / 0.569 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.4015, allocations: 25.47 kB / 0.569 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.4016, allocations: 54.48 kB / 0.5691 GB, free: 31.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4016, allocations: 1.094 kB / 0.5691 GB, free: 31.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4016, allocations: 0.5625 kB / 0.5691 GB, free: 31.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.4017, allocations: 0.5625 kB / 0.5691 GB, free: 31.7 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006368/0.4023, allocations: 374 kB / 0.5694 GB, free: 31.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.4024, allocations: 10.78 kB / 0.5694 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.4024, allocations: 3.781 kB / 0.5694 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.4026, allocations: 176.9 kB / 0.5696 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.354e-05/0.4027, allocations: 35.62 kB / 0.5696 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.4027, allocations: 3.156 kB / 0.5696 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.4029, allocations: 79.75 kB / 0.5697 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.403, allocations: 7.875 kB / 0.5697 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.403, allocations: 1.562 kB / 0.5697 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.403, allocations: 0.5312 kB / 0.5697 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.4032, allocations: 47.44 kB / 0.5698 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007118/0.4039, allocations: 320.3 kB / 0.5701 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.4041, allocations: 44.55 kB / 0.5701 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.4042, allocations: 34.06 kB / 0.5702 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.4042, allocations: 2.125 kB / 0.5702 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.4043, allocations: 33.33 kB / 0.5702 GB, free: 30.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.4043, allocations: 0.5938 kB / 0.5702 GB, free: 30.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004353/0.4047, allocations: 104.6 kB / 0.5703 GB, free: 30.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.4048, allocations: 52.06 kB / 0.5703 GB, free: 30.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.4049, allocations: 108.4 kB / 0.5704 GB, free: 30.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4049, allocations: 27.05 kB / 0.5705 GB, free: 30.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.405, allocations: 87.58 kB / 0.5706 GB, free: 30.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.405, allocations: 19.34 kB / 0.5706 GB, free: 30.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.4051, allocations: 19.83 kB / 0.5706 GB, free: 30.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.4052, allocations: 318.2 kB / 0.5709 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.479e-05/0.4053, allocations: 22.92 kB / 0.5709 GB, free: 29.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.967e-05/0.4054, allocations: 33.53 kB / 0.571 GB, free: 29.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.4056, allocations: 62.38 kB / 0.571 GB, free: 29.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4056, allocations: 0 / 0.571 GB, free: 29.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002428/0.4058, allocations: 89.78 kB / 0.5711 GB, free: 29.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.4059, allocations: 5.875 kB / 0.5711 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4059, allocations: 0 / 0.5711 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4059, allocations: 1.031 kB / 0.5711 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.406, allocations: 18.56 kB / 0.5711 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.406, allocations: 0.9688 kB / 0.5711 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.4061, allocations: 12.38 kB / 0.5711 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.4061, allocations: 1.094 kB / 0.5711 GB, free: 29.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 8.867e-05/0.4062, allocations: 114.2 kB / 0.5712 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.4063, allocations: 3.969 kB / 0.5712 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.4063, allocations: 9.797 kB / 0.5713 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4063, allocations: 1.969 kB / 0.5713 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4063, allocations: 4.125 kB / 0.5713 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4064, allocations: 1.828 kB / 0.5713 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.4065, allocations: 185 kB / 0.5714 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4066, allocations: 0 / 0.5714 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.4066, allocations: 15.03 kB / 0.5715 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4067, allocations: 1.938 kB / 0.5715 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.4067, allocations: 1.469 kB / 0.5715 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4067, allocations: 3.938 kB / 0.5715 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4067, allocations: 1.5 kB / 0.5715 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.407, allocations: 177 kB / 0.5716 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.407, allocations: 82.27 kB / 0.5717 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.407, allocations: 6.453 kB / 0.5717 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.4072, allocations: 10.92 kB / 0.5717 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.4073, allocations: 5.859 kB / 0.5717 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.4073, allocations: 1.719 kB / 0.5717 GB, free: 29.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.146e-05/0.4073, allocations: 92.69 kB / 0.5718 GB, free: 29.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4073, allocations: 0 / 0.5718 GB, free: 29.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.4076, allocations: 10.33 kB / 0.5718 GB, free: 29.18 MB / 446.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): 4 * 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.0001347/0.4077, allocations: 94.64 kB / 0.5719 GB, free: 29.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.408, allocations: 59.78 kB / 0.572 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.408, allocations: 4 kB / 0.572 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.4081, allocations: 26.16 kB / 0.572 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.4085, allocations: 6.625 kB / 0.572 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.4089, allocations: 139.1 kB / 0.5721 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.409, allocations: 0.6819 MB / 0.5728 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.869e-05/0.4091, allocations: 7.844 kB / 0.5728 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.4091, allocations: 12.75 kB / 0.5728 GB, free: 28.25 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4091, allocations: 1.656 kB / 0.5728 GB, free: 28.25 MB / 446.1 MB Notification: Performance of Templates: time 0.003666/0.4128, allocations: 0.792 MB / 0.5736 GB, free: 28.19 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)