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.001717/0.001717, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7654/0.7654, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 64.52 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5122/0.5135, allocations: 80.19 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002524/0.516, allocations: 1.284 MB / 0.5814 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2087/0.7247, allocations: 147.6 MB / 0.7256 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.7248, allocations: 0 / 0.7256 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.7249, allocations: 0 / 0.7256 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.375e-05/0.7249, allocations: 7.922 kB / 0.7256 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.7254, allocations: 115.5 kB / 0.7257 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.238e-05/0.7255, allocations: 23.88 kB / 0.7258 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.612e-05/0.7256, allocations: 3.984 kB / 0.7258 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.486e-05/0.7256, allocations: 4 kB / 0.7258 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.646e-05/0.7256, allocations: 7.938 kB / 0.7258 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.7256, allocations: 0 / 0.7258 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.7261, allocations: 179.6 kB / 0.726 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.7261, allocations: 3.984 kB / 0.726 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.7262, allocations: 7.938 kB / 0.726 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.7264, allocations: 106.1 kB / 0.7261 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7264, allocations: 3.938 kB / 0.7261 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7264, allocations: 4 kB / 0.7261 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.7264, allocations: 0 / 0.7261 GB, free: 11.62 MB / 0.5606 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.0003935/0.7268, allocations: 347.4 kB / 0.7264 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.7269, allocations: 16.02 kB / 0.7264 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.727, allocations: 34.75 kB / 0.7265 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005591/0.7275, allocations: 36.89 kB / 0.7265 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.7277, allocations: 172.1 kB / 0.7267 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.7277, allocations: 7.922 kB / 0.7267 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.7277, allocations: 0 / 0.7267 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.7279, allocations: 49.59 kB / 0.7267 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.7279, allocations: 0 / 0.7267 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.7279, allocations: 4 kB / 0.7267 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.7279, allocations: 0 / 0.7267 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.728, allocations: 19.98 kB / 0.7267 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.7284, allocations: 252.8 kB / 0.727 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/0.7285, allocations: 30.52 kB / 0.727 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.7285, allocations: 8.922 kB / 0.727 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.7285, allocations: 0 / 0.727 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.7285, allocations: 38.56 kB / 0.727 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.7285, allocations: 0 / 0.727 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001506/0.7287, allocations: 41.69 kB / 0.7271 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.7287, allocations: 55.41 kB / 0.7271 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.7289, allocations: 109.8 kB / 0.7272 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.7289, allocations: 25.7 kB / 0.7273 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.729, allocations: 92.06 kB / 0.7274 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.729, allocations: 12.02 kB / 0.7274 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.729, allocations: 25.64 kB / 0.7274 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.7291, allocations: 314.8 kB / 0.7277 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.7292, allocations: 11.98 kB / 0.7277 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.7293, allocations: 4 kB / 0.7277 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.524e-05/0.7294, allocations: 24.84 kB / 0.7277 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7294, allocations: 4 kB / 0.7277 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001926/0.7296, allocations: 57.66 kB / 0.7278 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.7296, allocations: 8 kB / 0.7278 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7296, allocations: 0 / 0.7278 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.7296, allocations: 0 / 0.7278 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.7297, allocations: 11.92 kB / 0.7278 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7297, allocations: 0 / 0.7278 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.7299, allocations: 23.84 kB / 0.7278 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.7299, allocations: 3.984 kB / 0.7278 GB, free: 9.586 MB / 0.5606 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 7.016e-05/0.73, allocations: 105.8 kB / 0.7279 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.73, allocations: 4 kB / 0.7279 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.035e-05/0.73, allocations: 3.125 kB / 0.7279 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.7301, allocations: 336 / 0.7279 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7301, allocations: 0 / 0.7279 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.7301, allocations: 3.938 kB / 0.7279 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.7303, allocations: 157.7 kB / 0.7281 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7303, allocations: 4 kB / 0.7281 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.7303, allocations: 4 kB / 0.7281 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7303, allocations: 3.938 kB / 0.7281 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.7303, allocations: 3.984 kB / 0.7281 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.7303, allocations: 4 kB / 0.7281 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7303, allocations: 4 kB / 0.7281 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.7304, allocations: 135.4 kB / 0.7283 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.7305, allocations: 81.14 kB / 0.7283 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.7305, allocations: 7.984 kB / 0.7283 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.571e-05/0.7306, allocations: 4 kB / 0.7283 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.7306, allocations: 3.938 kB / 0.7283 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.7306, allocations: 0 / 0.7283 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.361e-05/0.7307, allocations: 91.27 kB / 0.7284 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7307, allocations: 0 / 0.7284 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002434/0.731, allocations: 16 kB / 0.7284 GB, free: 8.867 MB / 0.5606 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.0004416/0.7314, allocations: 0.6878 MB / 0.7291 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.7316, allocations: 23.92 kB / 0.7291 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7316, allocations: 0 / 0.7291 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.349e-05/0.7316, allocations: 8.031 kB / 0.7291 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.732, allocations: 11.92 kB / 0.7292 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.7324, allocations: 152.8 kB / 0.7293 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.7327, allocations: 0.6768 MB / 0.73 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.374e-05/0.7327, allocations: 8.062 kB / 0.73 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.7328, allocations: 7.438 kB / 0.73 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.7328, allocations: 3.938 kB / 0.73 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.7487, allocations: 1.548 MB / 0.7315 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/8.092, allocations: 18.38 kB / 0.7315 GB, free: 5.758 MB / 0.5606 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)