Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001083/0.001083, allocations: 103.6 kB / 16.27 MB, free: 5.93 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.001103/0.001103, allocations: 192 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7352/0.7352, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3281, allocations: 77.92 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002352/0.3305, allocations: 1.249 MB / 0.5685 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004967/0.331, allocations: 289.1 kB / 0.5688 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.97e-05/0.3311, allocations: 1.188 kB / 0.5688 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.3311, allocations: 4.734 kB / 0.5688 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.448e-05/0.3311, allocations: 1.641 kB / 0.5688 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.3314, allocations: 53.42 kB / 0.5688 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.078e-05/0.3315, allocations: 22.02 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.3315, allocations: 2.609 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.3316, allocations: 12.53 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.354e-05/0.3316, allocations: 8.438 kB / 0.5689 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.3316, allocations: 1.156 kB / 0.5689 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.3318, allocations: 54.08 kB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.3318, allocations: 2.031 kB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.3318, allocations: 11.88 kB / 0.5689 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.3319, allocations: 50.62 kB / 0.569 GB, free: 31.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.332, allocations: 1.859 kB / 0.569 GB, free: 31.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.332, allocations: 0 / 0.569 GB, free: 31.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.332, allocations: 0.5625 kB / 0.569 GB, free: 31.48 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.0002924/0.3323, allocations: 336 kB / 0.5693 GB, free: 31.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3323, allocations: 14.47 kB / 0.5693 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.281e-05/0.3323, allocations: 31.5 kB / 0.5694 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.3326, allocations: 21.95 kB / 0.5694 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.506e-05/0.3326, allocations: 162.6 kB / 0.5695 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.3326, allocations: 384 / 0.5695 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.3327, allocations: 6.625 kB / 0.5695 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.776e-05/0.3328, allocations: 50.22 kB / 0.5696 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3328, allocations: 4.5 kB / 0.5696 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3328, allocations: 3.984 kB / 0.5696 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3328, allocations: 3.156 kB / 0.5696 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.676e-05/0.3328, allocations: 14.16 kB / 0.5696 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.333, allocations: 154.6 kB / 0.5698 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.3348, allocations: 270.4 kB / 0.57 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.3349, allocations: 17.67 kB / 0.57 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.3349, allocations: 6.375 kB / 0.57 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.3349, allocations: 33.84 kB / 0.5701 GB, free: 30.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3349, allocations: 0 / 0.5701 GB, free: 30.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001439/0.3351, allocations: 66.2 kB / 0.5701 GB, free: 30.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.826e-05/0.3351, allocations: 52.67 kB / 0.5702 GB, free: 30.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.182e-05/0.3352, allocations: 92.98 kB / 0.5703 GB, free: 30.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.3352, allocations: 29.7 kB / 0.5703 GB, free: 30.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.206e-05/0.3352, allocations: 83.62 kB / 0.5704 GB, free: 30.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3352, allocations: 13.19 kB / 0.5704 GB, free: 30.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.3352, allocations: 23.41 kB / 0.5704 GB, free: 30.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.255e-05/0.3353, allocations: 312.8 kB / 0.5707 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.3353, allocations: 13.66 kB / 0.5707 GB, free: 29.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.714e-05/0.3353, allocations: 10.41 kB / 0.5707 GB, free: 29.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.158e-05/0.3354, allocations: 25.91 kB / 0.5708 GB, free: 29.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3354, allocations: 0 / 0.5708 GB, free: 29.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.291e-05/0.3355, allocations: 54.25 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3355, allocations: 10.97 kB / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3355, allocations: 0 / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3355, allocations: 0 / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.3356, allocations: 10.38 kB / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3356, allocations: 2.359 kB / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.3356, allocations: 1.062 kB / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.3356, allocations: 10.16 kB / 0.5709 GB, free: 29.78 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.804e-05/0.3357, allocations: 106.8 kB / 0.571 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.3357, allocations: 7.469 kB / 0.571 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.3357, allocations: 12.38 kB / 0.571 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3357, allocations: 1.062 kB / 0.571 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3358, allocations: 0.7031 kB / 0.571 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.3358, allocations: 2.125 kB / 0.571 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.571e-05/0.3358, allocations: 161.7 kB / 0.5711 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3359, allocations: 1.516 kB / 0.5711 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.3359, allocations: 6.734 kB / 0.5711 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3359, allocations: 5 kB / 0.5711 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3359, allocations: 5.172 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3359, allocations: 1.188 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3359, allocations: 0.9375 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.768e-05/0.336, allocations: 83.59 kB / 0.5712 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.3361, allocations: 79.73 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.3361, allocations: 6.766 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-05/0.3362, allocations: 2.844 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.3362, allocations: 6.422 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.3362, allocations: 2.391 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.662e-05/0.3362, allocations: 77.12 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3362, allocations: 0 / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001805/0.3364, allocations: 6.281 kB / 0.5714 GB, free: 29.19 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.0002262/0.3366, allocations: 0.6151 MB / 0.572 GB, free: 28.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.079e-05/0.3367, allocations: 30.34 kB / 0.572 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3367, allocations: 0 / 0.572 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.485e-05/0.3368, allocations: 14.48 kB / 0.572 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.337, allocations: 17.84 kB / 0.5721 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.3374, allocations: 160.8 kB / 0.5722 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.954e-05/0.3375, allocations: 0.6776 MB / 0.5729 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.784e-05/0.3375, allocations: 7.266 kB / 0.5729 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.3376, allocations: 8.406 kB / 0.5729 GB, free: 27.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3376, allocations: 0 / 0.5729 GB, free: 27.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.3537, allocations: 1.29 MB / 0.5742 GB, free: 27.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.364, allocations: 6.188 kB / 0.5742 GB, free: 27.39 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X_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_X.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)