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.001141/0.001141, allocations: 109.2 kB / 16.41 MB, free: 6.461 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.001237/0.001237, allocations: 193.3 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7727/0.7727, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 66.61 kB / 0.568 GB, free: 29.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1297, allocations: 77.93 MB / 0.6441 GB, free: 9.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002207/0.1319, allocations: 1.268 MB / 0.6453 GB, free: 8.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4865/0.6184, allocations: 147.6 MB / 0.7895 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.6185, allocations: 1.219 kB / 0.7895 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.6186, allocations: 3.938 kB / 0.7895 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.6186, allocations: 5.156 kB / 0.7895 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.6191, allocations: 116.4 kB / 0.7896 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.39e-05/0.6192, allocations: 24.81 kB / 0.7896 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.6192, allocations: 1.188 kB / 0.7896 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.748e-05/0.6193, allocations: 12.5 kB / 0.7896 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.638e-05/0.6193, allocations: 7.672 kB / 0.7896 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.6193, allocations: 0 / 0.7896 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.6198, allocations: 173.1 kB / 0.7898 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.6198, allocations: 3.312 kB / 0.7898 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.6198, allocations: 6.297 kB / 0.7898 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.6201, allocations: 114.4 kB / 0.7899 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.6201, allocations: 2.469 kB / 0.7899 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6201, allocations: 4 kB / 0.7899 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.6202, allocations: 0 / 0.7899 GB, free: 13.07 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.0003527/0.6205, allocations: 355.7 kB / 0.7903 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.6206, allocations: 10.22 kB / 0.7903 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.6206, allocations: 30.75 kB / 0.7903 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005573/0.6212, allocations: 38.23 kB / 0.7903 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.6213, allocations: 169.7 kB / 0.7905 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.6213, allocations: 5.312 kB / 0.7905 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.6213, allocations: 1.375 kB / 0.7905 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.6215, allocations: 51.44 kB / 0.7906 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6215, allocations: 5.312 kB / 0.7906 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.6215, allocations: 0 / 0.7906 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6215, allocations: 1.094 kB / 0.7906 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.6217, allocations: 21.8 kB / 0.7906 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.622, allocations: 257.8 kB / 0.7908 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.445e-05/0.6221, allocations: 24.39 kB / 0.7909 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.6221, allocations: 8.984 kB / 0.7909 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.6221, allocations: 2.297 kB / 0.7909 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.6222, allocations: 39.88 kB / 0.7909 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.6222, allocations: 0 / 0.7909 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.6223, allocations: 38.95 kB / 0.7909 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.6223, allocations: 55.17 kB / 0.791 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.6225, allocations: 111.8 kB / 0.7911 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.6225, allocations: 25.7 kB / 0.7911 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.6225, allocations: 85.47 kB / 0.7912 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.215e-06/0.6226, allocations: 11.94 kB / 0.7912 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.6226, allocations: 21.53 kB / 0.7912 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.6227, allocations: 317.3 kB / 0.7915 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.504e-05/0.6228, allocations: 11.2 kB / 0.7916 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.6228, allocations: 10.19 kB / 0.7916 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.217e-05/0.6229, allocations: 23.58 kB / 0.7916 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6229, allocations: 6.188 kB / 0.7916 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001826/0.6231, allocations: 56.39 kB / 0.7916 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.6231, allocations: 8.312 kB / 0.7917 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6232, allocations: 2.203 kB / 0.7917 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.6232, allocations: 0 / 0.7917 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/0.6233, allocations: 9.172 kB / 0.7917 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.6233, allocations: 0 / 0.7917 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.6234, allocations: 18.95 kB / 0.7917 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.6235, allocations: 7.094 kB / 0.7917 GB, free: 11.36 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 6.657e-05/0.6235, allocations: 114.6 kB / 0.7918 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.6236, allocations: 1.375 kB / 0.7918 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.6236, allocations: 7.078 kB / 0.7918 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.6236, allocations: 1.094 kB / 0.7918 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6236, allocations: 0 / 0.7918 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.6236, allocations: 5.312 kB / 0.7918 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.6237, allocations: 156 kB / 0.792 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6237, allocations: 0 / 0.792 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.6238, allocations: 2.75 kB / 0.792 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.6238, allocations: 1.375 kB / 0.792 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.6238, allocations: 336 / 0.792 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6238, allocations: 1.375 kB / 0.792 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6238, allocations: 0 / 0.792 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.6239, allocations: 143.8 kB / 0.7921 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.624, allocations: 88.48 kB / 0.7922 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.624, allocations: 0 / 0.7922 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.6241, allocations: 4.922 kB / 0.7922 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.6241, allocations: 1.062 kB / 0.7922 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.6241, allocations: 7.875 kB / 0.7922 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.878e-05/0.6242, allocations: 90.89 kB / 0.7923 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6242, allocations: 1.094 kB / 0.7923 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002472/0.6245, allocations: 15.19 kB / 0.7923 GB, free: 10.71 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.0004317/0.6249, allocations: 0.6806 MB / 0.793 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.6251, allocations: 21.09 kB / 0.793 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.6251, allocations: 7.969 kB / 0.793 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-05/0.6251, allocations: 4.094 kB / 0.793 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.6255, allocations: 10.36 kB / 0.793 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.6259, allocations: 166.7 kB / 0.7932 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.6262, allocations: 0.6752 MB / 0.7938 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.913e-05/0.6262, allocations: 6.594 kB / 0.7938 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.6263, allocations: 10.47 kB / 0.7938 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/0.6263, allocations: 1.375 kB / 0.7938 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.6431, allocations: 1.604 MB / 0.7954 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/8.261, allocations: 4.125 kB / 0.7954 GB, free: 8.789 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)