Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_IDEAS_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.00512/0.00512, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001179/0.001179, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7825/0.7825, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 70.89 kB / 0.5809 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1439, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00258/0.1465, allocations: 1.271 MB / 0.6604 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.582/0.7285, allocations: 147.6 MB / 0.8046 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.7286, allocations: 1.688 kB / 0.8046 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.7286, allocations: 3.938 kB / 0.8046 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/0.7287, allocations: 10.67 kB / 0.8046 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.7291, allocations: 116 kB / 0.8047 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.7292, allocations: 23.16 kB / 0.8048 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.7292, allocations: 1.281 kB / 0.8048 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.199e-05/0.7293, allocations: 3.25 kB / 0.8048 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.7293, allocations: 12.47 kB / 0.8048 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.7293, allocations: 1.094 kB / 0.8048 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.7297, allocations: 172 kB / 0.8049 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.7298, allocations: 5.156 kB / 0.805 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.7298, allocations: 13.88 kB / 0.805 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.73, allocations: 114 kB / 0.8051 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.73, allocations: 3.688 kB / 0.8051 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.73, allocations: 1.469 kB / 0.8051 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.73, allocations: 0 / 0.8051 GB, free: 11.58 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.0003587/0.7304, allocations: 350.7 kB / 0.8054 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.7304, allocations: 9.688 kB / 0.8054 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.7305, allocations: 33.88 kB / 0.8055 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00053/0.731, allocations: 39.12 kB / 0.8055 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.7311, allocations: 161.6 kB / 0.8056 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.7312, allocations: 8.141 kB / 0.8057 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.7312, allocations: 1.125 kB / 0.8057 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.7314, allocations: 50.58 kB / 0.8057 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.7314, allocations: 0 / 0.8057 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.7314, allocations: 4 kB / 0.8057 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.7314, allocations: 1.375 kB / 0.8057 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.7315, allocations: 19.97 kB / 0.8057 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.7319, allocations: 257 kB / 0.806 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.916e-05/0.7319, allocations: 22.95 kB / 0.806 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.732, allocations: 14.52 kB / 0.806 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.732, allocations: 4.953 kB / 0.806 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.732, allocations: 39.41 kB / 0.8061 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.732, allocations: 0 / 0.8061 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0001434/0.7322, allocations: 40.53 kB / 0.8061 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.7322, allocations: 52.69 kB / 0.8061 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.7323, allocations: 112.9 kB / 0.8062 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.7324, allocations: 25.7 kB / 0.8063 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.7324, allocations: 81.42 kB / 0.8064 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.7324, allocations: 17.53 kB / 0.8064 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.7325, allocations: 18.69 kB / 0.8064 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7326, allocations: 320.3 kB / 0.8067 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.7327, allocations: 11.58 kB / 0.8067 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.7327, allocations: 15 kB / 0.8067 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.263e-05/0.7328, allocations: 20.81 kB / 0.8067 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7328, allocations: 2.109 kB / 0.8067 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001925/0.733, allocations: 60.77 kB / 0.8068 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.733, allocations: 4.844 kB / 0.8068 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.7331, allocations: 0 / 0.8068 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.7331, allocations: 5.156 kB / 0.8068 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.7332, allocations: 8.656 kB / 0.8068 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7332, allocations: 0 / 0.8068 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.7333, allocations: 17.67 kB / 0.8068 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.7334, allocations: 2.578 kB / 0.8068 GB, free: 9.863 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.765e-05/0.7334, allocations: 112.6 kB / 0.8069 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.7335, allocations: 3.203 kB / 0.8069 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.7335, allocations: 10.81 kB / 0.807 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7335, allocations: 1.281 kB / 0.807 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.7335, allocations: 0 / 0.807 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.7335, allocations: 3.938 kB / 0.807 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.7337, allocations: 150.1 kB / 0.8071 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.7337, allocations: 3.938 kB / 0.8071 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.7337, allocations: 6.562 kB / 0.8071 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.7337, allocations: 0 / 0.8071 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.7337, allocations: 3.188 kB / 0.8071 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7337, allocations: 3.078 kB / 0.8071 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7337, allocations: 0 / 0.8071 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.7339, allocations: 139.6 kB / 0.8073 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.7339, allocations: 82.56 kB / 0.8073 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.7339, allocations: 0 / 0.8073 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.734, allocations: 5.406 kB / 0.8073 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.7341, allocations: 3.938 kB / 0.8073 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.7341, allocations: 5.219 kB / 0.8073 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.825e-05/0.7342, allocations: 94.41 kB / 0.8074 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.725e-06/0.7342, allocations: 1.469 kB / 0.8074 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002431/0.7344, allocations: 19.62 kB / 0.8075 GB, free: 9.211 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.0004224/0.7348, allocations: 0.6794 MB / 0.8081 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.735, allocations: 24.28 kB / 0.8081 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.735, allocations: 0 / 0.8081 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.198e-05/0.735, allocations: 3.531 kB / 0.8081 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.7353, allocations: 16.03 kB / 0.8082 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.7358, allocations: 146.4 kB / 0.8083 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.736, allocations: 0.6791 MB / 0.809 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.88e-05/0.7361, allocations: 10.91 kB / 0.809 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.7361, allocations: 11.16 kB / 0.809 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.7361, allocations: 0 / 0.809 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.7521, allocations: 1.585 MB / 0.8105 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/8.323, allocations: 11.58 kB / 0.8105 GB, free: 7.332 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)