Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.00106, allocations: 102.8 kB / 16.27 MB, free: 6.41 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.0009738/0.0009738, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7532/0.7532, allocations: 122.9 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3344, allocations: 77.91 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002113/0.3365, allocations: 1.269 MB / 0.5685 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3378, allocations: 0.864 MB / 0.5694 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.3378, allocations: 0.5312 kB / 0.5694 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.3379, allocations: 0.8438 kB / 0.5694 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.3379, allocations: 6.062 kB / 0.5694 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.3385, allocations: 194.1 kB / 0.5696 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.96e-05/0.3386, allocations: 18.98 kB / 0.5696 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.3386, allocations: 1.656 kB / 0.5696 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.153e-05/0.3387, allocations: 9.453 kB / 0.5696 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.3387, allocations: 10.09 kB / 0.5696 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.3387, allocations: 0 / 0.5696 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.3391, allocations: 197.2 kB / 0.5698 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.3391, allocations: 1.969 kB / 0.5698 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.3391, allocations: 8.5 kB / 0.5698 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.3394, allocations: 154 kB / 0.5699 GB, free: 30.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3394, allocations: 4.5 kB / 0.5699 GB, free: 30.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3394, allocations: 1.719 kB / 0.5699 GB, free: 30.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.3394, allocations: 0 / 0.5699 GB, free: 30.97 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003183/0.3397, allocations: 358.1 kB / 0.5703 GB, free: 30.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3398, allocations: 9.875 kB / 0.5703 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.433e-05/0.3398, allocations: 32.89 kB / 0.5703 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.34, allocations: 9.719 kB / 0.5703 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.275e-05/0.34, allocations: 166.7 kB / 0.5705 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3401, allocations: 5.891 kB / 0.5705 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.3401, allocations: 13.59 kB / 0.5705 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.3402, allocations: 43.52 kB / 0.5706 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.3402, allocations: 0.5625 kB / 0.5706 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3402, allocations: 0 / 0.5706 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3402, allocations: 1.719 kB / 0.5706 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.075e-05/0.3403, allocations: 15.64 kB / 0.5706 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.3404, allocations: 156.2 kB / 0.5707 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009124/0.3413, allocations: 139.1 kB / 0.5709 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.3414, allocations: 25.36 kB / 0.5709 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.273e-05/0.3414, allocations: 83.28 kB / 0.571 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.3415, allocations: 33.2 kB / 0.571 GB, free: 29.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.3415, allocations: 0 / 0.571 GB, free: 29.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001678/0.3416, allocations: 61.59 kB / 0.571 GB, free: 29.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.3417, allocations: 56.47 kB / 0.5711 GB, free: 29.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.579e-05/0.3417, allocations: 95.81 kB / 0.5712 GB, free: 29.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.3417, allocations: 28.61 kB / 0.5712 GB, free: 29.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.748e-06/0.3418, allocations: 80.14 kB / 0.5713 GB, free: 29.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.3418, allocations: 14.78 kB / 0.5713 GB, free: 29.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.3418, allocations: 18.5 kB / 0.5713 GB, free: 29.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.824e-05/0.3419, allocations: 313 kB / 0.5716 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.3419, allocations: 11.86 kB / 0.5716 GB, free: 29.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.3419, allocations: 6.141 kB / 0.5716 GB, free: 29.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.947e-05/0.342, allocations: 29.92 kB / 0.5717 GB, free: 29.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.342, allocations: 1.188 kB / 0.5717 GB, free: 29.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.023e-05/0.3421, allocations: 61.38 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.3421, allocations: 5.906 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3421, allocations: 1.031 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.3421, allocations: 0 / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.564e-05/0.3422, allocations: 7.469 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3422, allocations: 2.75 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.3422, allocations: 1.125 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.3422, allocations: 6.5 kB / 0.5718 GB, free: 29.18 MB / 446.1 MB 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 (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 prepare postOptimizeDAE: time 4.542e-05/0.3423, allocations: 116.2 kB / 0.5719 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.3423, allocations: 10.06 kB / 0.5719 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.3425, allocations: 83.59 kB / 0.572 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3425, allocations: 5.109 kB / 0.572 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3425, allocations: 0 / 0.572 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3425, allocations: 0.75 kB / 0.572 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.897e-05/0.3426, allocations: 160.4 kB / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3426, allocations: 0 / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.3427, allocations: 9.688 kB / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3427, allocations: 1.672 kB / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.3427, allocations: 0 / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3427, allocations: 1.547 kB / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3427, allocations: 0.75 kB / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.76e-05/0.3428, allocations: 89.19 kB / 0.5722 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.3429, allocations: 87.84 kB / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.3429, allocations: 3.375 kB / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.8e-05/0.3429, allocations: 1.672 kB / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.343, allocations: 7.484 kB / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.343, allocations: 6.156 kB / 0.5723 GB, free: 28.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.684e-05/0.343, allocations: 78.09 kB / 0.5724 GB, free: 28.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.343, allocations: 0 / 0.5724 GB, free: 28.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.3433, allocations: 48.3 kB / 0.5724 GB, free: 28.53 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 (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 Backend phase and start with SimCode phase: time 0.0004697/0.3437, allocations: 0.6965 MB / 0.5731 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.967e-05/0.3438, allocations: 32.42 kB / 0.5731 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3438, allocations: 0.5 kB / 0.5731 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.751e-05/0.3439, allocations: 20.69 kB / 0.5732 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.344, allocations: 6.141 kB / 0.5732 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.3445, allocations: 168.7 kB / 0.5733 GB, free: 27.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.3446, allocations: 0.6801 MB / 0.574 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.472e-05/0.3446, allocations: 11.59 kB / 0.574 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.3447, allocations: 11.19 kB / 0.574 GB, free: 27.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3447, allocations: 0 / 0.574 GB, free: 27.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.3626, allocations: 1.931 MB / 0.5759 GB, free: 26.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.476, allocations: 10.17 kB / 0.5759 GB, free: 26.67 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)