Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 106.6 kB / 15.98 MB, free: 6.355 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.001024/0.001024, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7762/0.7762, allocations: 126.1 MB / 416.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 68.09 kB / 0.4945 GB, free: 3.863 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3882, allocations: 78.7 MB / 0.5713 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003078/0.3913, allocations: 1.706 MB / 0.573 GB, free: 30.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007337/0.3921, allocations: 402 kB / 0.5734 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/0.3922, allocations: 5.219 kB / 0.5734 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.3923, allocations: 8.156 kB / 0.5734 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.666e-05/0.3924, allocations: 17.28 kB / 0.5734 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.3928, allocations: 112.5 kB / 0.5735 GB, free: 30.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.393, allocations: 114 kB / 0.5736 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.3932, allocations: 28.56 kB / 0.5736 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.3933, allocations: 44.92 kB / 0.5737 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/0.3934, allocations: 37.5 kB / 0.5737 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.3934, allocations: 11.27 kB / 0.5737 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.3936, allocations: 64.92 kB / 0.5738 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.3936, allocations: 21.31 kB / 0.5738 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.3937, allocations: 50.92 kB / 0.5739 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.3939, allocations: 124.7 kB / 0.574 GB, free: 29.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3939, allocations: 0.75 kB / 0.574 GB, free: 29.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3939, allocations: 0 / 0.574 GB, free: 29.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.3939, allocations: 2.781 kB / 0.574 GB, free: 29.8 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000551/0.3945, allocations: 425.1 kB / 0.5744 GB, free: 29.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3945, allocations: 9.625 kB / 0.5744 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.3948, allocations: 29.23 kB / 0.5744 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.395, allocations: 189.7 kB / 0.5746 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/0.3951, allocations: 35.95 kB / 0.5746 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.3951, allocations: 5.125 kB / 0.5746 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.3954, allocations: 109.5 kB / 0.5747 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3954, allocations: 3.938 kB / 0.5748 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.3954, allocations: 9.531 kB / 0.5748 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.3954, allocations: 6.906 kB / 0.5748 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.3957, allocations: 79.23 kB / 0.5748 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.3964, allocations: 389.2 kB / 0.5752 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/0.3969, allocations: 130.6 kB / 0.5753 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.397, allocations: 42.48 kB / 0.5754 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.397, allocations: 1.219 kB / 0.5754 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.3971, allocations: 36.12 kB / 0.5754 GB, free: 28.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3971, allocations: 0 / 0.5754 GB, free: 28.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000425/0.3975, allocations: 139.5 kB / 0.5755 GB, free: 28.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.3975, allocations: 53.59 kB / 0.5756 GB, free: 28.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3976, allocations: 140.1 kB / 0.5757 GB, free: 28.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3977, allocations: 25.7 kB / 0.5758 GB, free: 28.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.3977, allocations: 102.8 kB / 0.5759 GB, free: 28.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.3977, allocations: 28.42 kB / 0.5759 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.3978, allocations: 21 kB / 0.5759 GB, free: 28.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.36e-05/0.3978, allocations: 321 kB / 0.5762 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3979, allocations: 31.92 kB / 0.5762 GB, free: 27.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3981, allocations: 44.41 kB / 0.5763 GB, free: 27.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.3983, allocations: 78.44 kB / 0.5764 GB, free: 27.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3983, allocations: 2.469 kB / 0.5764 GB, free: 27.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002501/0.3985, allocations: 110 kB / 0.5765 GB, free: 27.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3986, allocations: 8.328 kB / 0.5765 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3986, allocations: 1.188 kB / 0.5765 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3986, allocations: 5.125 kB / 0.5765 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3987, allocations: 21.64 kB / 0.5765 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3987, allocations: 2.219 kB / 0.5765 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.67e-05/0.3988, allocations: 8.062 kB / 0.5765 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.3988, allocations: 2.469 kB / 0.5765 GB, free: 27.77 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 (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 7.461e-05/0.3989, allocations: 115.8 kB / 0.5766 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.399, allocations: 13.36 kB / 0.5766 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.399, allocations: 15.06 kB / 0.5766 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.399, allocations: 7.156 kB / 0.5767 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.399, allocations: 0 / 0.5767 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.399, allocations: 0.8438 kB / 0.5767 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.3992, allocations: 201.9 kB / 0.5768 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3992, allocations: 3.609 kB / 0.5769 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3993, allocations: 21.7 kB / 0.5769 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.3993, allocations: 3.25 kB / 0.5769 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3993, allocations: 2 kB / 0.5769 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3993, allocations: 4.016 kB / 0.5769 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3993, allocations: 3.984 kB / 0.5769 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.3996, allocations: 199.6 kB / 0.5771 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.3996, allocations: 89.72 kB / 0.5772 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.3997, allocations: 4.656 kB / 0.5772 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.3998, allocations: 16.75 kB / 0.5772 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.3999, allocations: 9.344 kB / 0.5772 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.3999, allocations: 4.031 kB / 0.5772 GB, free: 27.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.813e-05/0.4, allocations: 103.8 kB / 0.5773 GB, free: 27.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4, allocations: 0 / 0.5773 GB, free: 27.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.4002, allocations: 17.19 kB / 0.5773 GB, free: 27.05 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 (7): * Single equations (assignments): 7 * 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 8.806e-05/0.4003, allocations: 109.1 kB / 0.5774 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.4006, allocations: 77.22 kB / 0.5775 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4006, allocations: 1 kB / 0.5775 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.4007, allocations: 42.2 kB / 0.5775 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.4011, allocations: 24.42 kB / 0.5775 GB, free: 26.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.4015, allocations: 223 kB / 0.5778 GB, free: 26.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.4017, allocations: 0.6944 MB / 0.5784 GB, free: 26.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.874e-05/0.4017, allocations: 12.08 kB / 0.5785 GB, free: 26.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.4018, allocations: 11.56 kB / 0.5785 GB, free: 26.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4018, allocations: 0 / 0.5785 GB, free: 26.05 MB / 446.1 MB Notification: Performance of Templates: time 0.003601/0.4054, allocations: 1.391 MB / 0.5798 GB, free: 25.59 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)