Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_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.007076/0.007076, allocations: 96.7 kB / 15.73 MB, free: 6.488 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.001483/0.001483, allocations: 191.6 kB / 16.67 MB, free: 6.391 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9736/0.9736, allocations: 135.5 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.88 kB / 0.5857 GB, free: 3.188 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4402/0.4421, allocations: 81.02 MB / 0.6649 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002952/0.4451, allocations: 1.277 MB / 0.6661 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2096/0.6548, allocations: 147.6 MB / 0.8103 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.6548, allocations: 0 / 0.8103 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.6549, allocations: 4 kB / 0.8103 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.486e-05/0.655, allocations: 11.92 kB / 0.8103 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.6554, allocations: 111.4 kB / 0.8104 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 6.883e-05/0.6555, allocations: 27.91 kB / 0.8104 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.6555, allocations: 3.938 kB / 0.8105 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.147e-05/0.6556, allocations: 7.938 kB / 0.8105 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 3.095e-05/0.6556, allocations: 4 kB / 0.8105 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.6556, allocations: 0 / 0.8105 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.6561, allocations: 179.7 kB / 0.8106 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 8.146e-06/0.6561, allocations: 4 kB / 0.8106 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.6561, allocations: 7.938 kB / 0.8106 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.6564, allocations: 116.5 kB / 0.8108 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.6564, allocations: 0 / 0.8108 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6564, allocations: 4 kB / 0.8108 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6564, allocations: 0 / 0.8108 GB, free: 10.93 MB / 0.6387 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.0003706/0.6568, allocations: 347.2 kB / 0.8111 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.6568, allocations: 12.03 kB / 0.8111 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.6568, allocations: 38.69 kB / 0.8111 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/0.6574, allocations: 36.89 kB / 0.8112 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.6575, allocations: 172.1 kB / 0.8113 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.6575, allocations: 4 kB / 0.8113 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.6576, allocations: 0 / 0.8113 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.6577, allocations: 45.67 kB / 0.8114 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.6577, allocations: 0 / 0.8114 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.6578, allocations: 4 kB / 0.8114 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.6578, allocations: 0 / 0.8114 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.6579, allocations: 23.91 kB / 0.8114 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.6583, allocations: 252.8 kB / 0.8117 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.665e-05/0.6584, allocations: 30.5 kB / 0.8117 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.6584, allocations: 16.92 kB / 0.8117 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.6584, allocations: 0 / 0.8117 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.6584, allocations: 30.56 kB / 0.8117 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.6584, allocations: 0 / 0.8117 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.000143/0.6586, allocations: 41.66 kB / 0.8118 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.6586, allocations: 59.34 kB / 0.8118 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.6588, allocations: 117.9 kB / 0.8119 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.6588, allocations: 25.7 kB / 0.812 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.6589, allocations: 80.14 kB / 0.812 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.6589, allocations: 7.953 kB / 0.812 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.6589, allocations: 21.7 kB / 0.8121 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6591, allocations: 310.8 kB / 0.8124 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.543e-05/0.6592, allocations: 7.984 kB / 0.8124 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.237e-05/0.6592, allocations: 19.98 kB / 0.8124 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.601e-05/0.6593, allocations: 25.11 kB / 0.8124 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6593, allocations: 4 kB / 0.8124 GB, free: 9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001982/0.6595, allocations: 61.56 kB / 0.8125 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.6596, allocations: 6.031 kB / 0.8125 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.6596, allocations: 0 / 0.8125 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.6596, allocations: 4 kB / 0.8125 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.6597, allocations: 11.98 kB / 0.8125 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.6597, allocations: 0 / 0.8125 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.6599, allocations: 15.92 kB / 0.8125 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.6599, allocations: 0 / 0.8125 GB, free: 8.898 MB / 0.6387 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.55e-05/0.66, allocations: 105.8 kB / 0.8126 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.66, allocations: 4 kB / 0.8126 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.66, allocations: 15.11 kB / 0.8126 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.66, allocations: 0 / 0.8126 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.6601, allocations: 0 / 0.8126 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.6601, allocations: 3.938 kB / 0.8126 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.6602, allocations: 157.6 kB / 0.8128 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6602, allocations: 0 / 0.8128 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.6603, allocations: 4 kB / 0.8128 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.6603, allocations: 3.938 kB / 0.8128 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.6603, allocations: 0 / 0.8128 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6603, allocations: 0 / 0.8128 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6603, allocations: 0 / 0.8128 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.6605, allocations: 151.4 kB / 0.8129 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.6606, allocations: 81.06 kB / 0.813 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.6606, allocations: 0 / 0.813 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.6608, allocations: 4 kB / 0.813 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.6608, allocations: 7.922 kB / 0.813 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.6608, allocations: 0 / 0.813 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001483/0.661, allocations: 95.3 kB / 0.8131 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/0.661, allocations: 0 / 0.8131 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004252/0.6614, allocations: 15.94 kB / 0.8131 GB, free: 8.164 MB / 0.6387 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.0006526/0.6621, allocations: 0.6811 MB / 0.8138 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.6623, allocations: 24.02 kB / 0.8138 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6623, allocations: 0 / 0.8138 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 2.226e-05/0.6623, allocations: 7.984 kB / 0.8138 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.6628, allocations: 11.94 kB / 0.8138 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.6633, allocations: 144.8 kB / 0.814 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.6636, allocations: 0.6768 MB / 0.8146 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.299e-05/0.6637, allocations: 11.98 kB / 0.8147 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.6638, allocations: 11.42 kB / 0.8147 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.6638, allocations: 4 kB / 0.8147 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.6855, allocations: 1.58 MB / 0.8162 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.602, allocations: 4.062 kB / 0.8162 GB, free: 5.031 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)