Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.001702/0.001702, allocations: 103 kB / 16.4 MB, free: 6.465 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.001802/0.001803, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8199/0.8199, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001948, allocations: 68.56 kB / 0.5735 GB, free: 26.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1568, allocations: 78.86 MB / 0.6506 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002294/0.1592, allocations: 1.276 MB / 0.6518 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5282/0.6874, allocations: 147.6 MB / 0.796 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.6874, allocations: 0 / 0.796 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.6875, allocations: 0 / 0.796 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.6875, allocations: 5.406 kB / 0.796 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.688, allocations: 124.7 kB / 0.7961 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.058e-05/0.688, allocations: 19.16 kB / 0.7961 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.6881, allocations: 2.25 kB / 0.7961 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/0.6881, allocations: 14.16 kB / 0.7961 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.235e-05/0.6882, allocations: 5.062 kB / 0.7961 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.6882, allocations: 1.438 kB / 0.7961 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.6886, allocations: 172.5 kB / 0.7963 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.6886, allocations: 1.062 kB / 0.7963 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.6886, allocations: 10.78 kB / 0.7963 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.6889, allocations: 108.5 kB / 0.7964 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6889, allocations: 4 kB / 0.7964 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6889, allocations: 2.594 kB / 0.7964 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.6889, allocations: 0 / 0.7964 GB, free: 12.47 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004097/0.6893, allocations: 354 kB / 0.7968 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.6893, allocations: 10 kB / 0.7968 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.6894, allocations: 30.75 kB / 0.7968 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005382/0.6899, allocations: 43.08 kB / 0.7968 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.6901, allocations: 168.6 kB / 0.797 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.6901, allocations: 6.094 kB / 0.797 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.6901, allocations: 0.9375 kB / 0.797 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.6903, allocations: 46.38 kB / 0.7971 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.6903, allocations: 1 kB / 0.7971 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.6903, allocations: 0 / 0.7971 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.6903, allocations: 3.562 kB / 0.7971 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.6905, allocations: 18.56 kB / 0.7971 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.6908, allocations: 259.5 kB / 0.7973 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.313e-05/0.6909, allocations: 31.33 kB / 0.7974 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.6909, allocations: 11.12 kB / 0.7974 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.691, allocations: 1.094 kB / 0.7974 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.691, allocations: 34.56 kB / 0.7974 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.691, allocations: 1.188 kB / 0.7974 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0001444/0.6911, allocations: 44.66 kB / 0.7974 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.6912, allocations: 52.59 kB / 0.7975 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.6913, allocations: 111.7 kB / 0.7976 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.6914, allocations: 25.7 kB / 0.7976 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.6914, allocations: 87.64 kB / 0.7977 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.6914, allocations: 5.016 kB / 0.7977 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.6915, allocations: 21.52 kB / 0.7977 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6916, allocations: 315.9 kB / 0.798 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.6917, allocations: 14.58 kB / 0.798 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-05/0.6918, allocations: 8.297 kB / 0.7981 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.049e-05/0.6919, allocations: 26.95 kB / 0.7981 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6919, allocations: 0 / 0.7981 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001933/0.6921, allocations: 68.19 kB / 0.7981 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6921, allocations: 8.094 kB / 0.7982 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6921, allocations: 0 / 0.7982 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.6921, allocations: 0 / 0.7982 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.6922, allocations: 11.5 kB / 0.7982 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.6922, allocations: 0 / 0.7982 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.6924, allocations: 15.44 kB / 0.7982 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.6924, allocations: 1.281 kB / 0.7982 GB, free: 10.75 MB / 0.5919 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 (3): * Single equations (assignments): 3 * 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.103e-05/0.6925, allocations: 116.4 kB / 0.7983 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.6925, allocations: 1.969 kB / 0.7983 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.712e-05/0.6925, allocations: 3.125 kB / 0.7983 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6926, allocations: 1.875 kB / 0.7983 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6926, allocations: 0 / 0.7983 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6926, allocations: 8.969 kB / 0.7983 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.6927, allocations: 152.5 kB / 0.7985 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.6928, allocations: 0.9688 kB / 0.7985 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.6928, allocations: 4.25 kB / 0.7985 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.6928, allocations: 2.594 kB / 0.7985 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.6928, allocations: 0 / 0.7985 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6928, allocations: 5.062 kB / 0.7985 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6928, allocations: 0 / 0.7985 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.6929, allocations: 146.4 kB / 0.7986 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/0.693, allocations: 84.81 kB / 0.7987 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.6931, allocations: 1.25 kB / 0.7987 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.6932, allocations: 1.312 kB / 0.7987 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.6932, allocations: 1.406 kB / 0.7987 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.6932, allocations: 3.938 kB / 0.7987 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001/0.6933, allocations: 91.02 kB / 0.7988 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6933, allocations: 0 / 0.7988 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002501/0.6936, allocations: 22.91 kB / 0.7988 GB, free: 10.11 MB / 0.5919 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 (2): * Single equations (assignments): 2 * 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.0004686/0.694, allocations: 0.6777 MB / 0.7995 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.6942, allocations: 20.41 kB / 0.7995 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6942, allocations: 4.031 kB / 0.7995 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.6942, allocations: 5.594 kB / 0.7995 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.6945, allocations: 12.28 kB / 0.7995 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.695, allocations: 162.6 kB / 0.7997 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.6952, allocations: 0.6803 MB / 0.8003 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.732e-05/0.6953, allocations: 7.438 kB / 0.8003 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.6953, allocations: 8.562 kB / 0.8003 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.6954, allocations: 5.125 kB / 0.8003 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.7178, allocations: 1.589 MB / 0.8019 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.846, allocations: 8.297 kB / 0.8019 GB, free: 8.191 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_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_X_pSatpphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)