Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.005405/0.005405, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001373/0.001373, allocations: 195.9 kB / 16.68 MB, free: 5.934 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.408/1.408, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002475/0.002476, allocations: 289.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.282/1.282, allocations: 178.6 MB / 0.5074 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 99.84 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4917, allocations: 89.12 MB / 0.7813 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002759/0.4945, allocations: 1.282 MB / 0.7826 GB, free: 112 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.4959, allocations: 0.5777 MB / 0.7832 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.4959, allocations: 0 / 0.7832 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.496, allocations: 0 / 0.7832 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.436e-05/0.4961, allocations: 9.172 kB / 0.7832 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.4966, allocations: 96.56 kB / 0.7833 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.685e-05/0.4967, allocations: 20.12 kB / 0.7833 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.4968, allocations: 3.031 kB / 0.7833 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.79e-05/0.4968, allocations: 10.64 kB / 0.7833 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.4969, allocations: 7.797 kB / 0.7833 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.4969, allocations: 1.031 kB / 0.7833 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.4973, allocations: 146.5 kB / 0.7834 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.4974, allocations: 0 / 0.7834 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.4974, allocations: 8.094 kB / 0.7834 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.4977, allocations: 97.8 kB / 0.7835 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4977, allocations: 0 / 0.7835 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.165e-06/0.4977, allocations: 0 / 0.7835 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.4977, allocations: 0 / 0.7835 GB, free: 15.43 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005852/0.4983, allocations: 356.9 kB / 0.7839 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.4984, allocations: 9.75 kB / 0.7839 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.4984, allocations: 30.75 kB / 0.7839 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005802/0.499, allocations: 28.62 kB / 0.7839 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.4992, allocations: 161.5 kB / 0.7841 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.4992, allocations: 1.438 kB / 0.7841 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.4993, allocations: 9.422 kB / 0.7841 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.4995, allocations: 50.19 kB / 0.7842 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4995, allocations: 3.938 kB / 0.7842 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4995, allocations: 0 / 0.7842 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4995, allocations: 1.281 kB / 0.7842 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.4997, allocations: 28.09 kB / 0.7842 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.5, allocations: 157.6 kB / 0.7843 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.5002, allocations: 39.58 kB / 0.7844 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.5003, allocations: 23.83 kB / 0.7844 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.5004, allocations: 5.156 kB / 0.7844 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.5004, allocations: 35.77 kB / 0.7844 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.5004, allocations: 0 / 0.7844 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004166/0.5008, allocations: 68.42 kB / 0.7845 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.5009, allocations: 61.11 kB / 0.7846 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.501, allocations: 97.36 kB / 0.7847 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.5011, allocations: 25.7 kB / 0.7847 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.5011, allocations: 80.14 kB / 0.7848 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.5012, allocations: 5.109 kB / 0.7848 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.5012, allocations: 21.08 kB / 0.7848 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.5015, allocations: 312.4 kB / 0.7851 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.5016, allocations: 17.02 kB / 0.7851 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-05/0.5017, allocations: 14.98 kB / 0.7851 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.5019, allocations: 25.97 kB / 0.7851 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.5019, allocations: 0 / 0.7851 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002847/0.5022, allocations: 68.17 kB / 0.7852 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.5022, allocations: 9.344 kB / 0.7852 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5022, allocations: 0 / 0.7852 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.5023, allocations: 0 / 0.7852 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.5024, allocations: 9.422 kB / 0.7852 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.5024, allocations: 0 / 0.7852 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.555e-05/0.5025, allocations: 6.406 kB / 0.7852 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.5026, allocations: 5.141 kB / 0.7852 GB, free: 13.64 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 (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 prepare postOptimizeDAE: time 0.0001422/0.5027, allocations: 111.4 kB / 0.7853 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.5027, allocations: 5.031 kB / 0.7853 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/0.5028, allocations: 8.312 kB / 0.7853 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5028, allocations: 0 / 0.7853 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5028, allocations: 1.438 kB / 0.7853 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5028, allocations: 0 / 0.7853 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.503, allocations: 158.1 kB / 0.7855 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5031, allocations: 4 kB / 0.7855 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.5032, allocations: 8.938 kB / 0.7855 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.5032, allocations: 3.938 kB / 0.7855 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.5032, allocations: 5.203 kB / 0.7855 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5032, allocations: 1.281 kB / 0.7855 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5032, allocations: 0 / 0.7855 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.5035, allocations: 83.94 kB / 0.7856 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5037, allocations: 86.44 kB / 0.7857 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.5037, allocations: 9.344 kB / 0.7857 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.5038, allocations: 5.562 kB / 0.7857 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.5038, allocations: 0 / 0.7857 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.5039, allocations: 5.234 kB / 0.7857 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.764e-05/0.5039, allocations: 82.14 kB / 0.7858 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5039, allocations: 0 / 0.7858 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003884/0.5043, allocations: 15.69 kB / 0.7858 GB, free: 13.02 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.0008323/0.5052, allocations: 0.6362 MB / 0.7864 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002782/0.5055, allocations: 34.81 kB / 0.7865 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5055, allocations: 0 / 0.7865 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.5056, allocations: 16.58 kB / 0.7865 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.506, allocations: 15.69 kB / 0.7865 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007285/0.5067, allocations: 155.5 kB / 0.7866 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.5071, allocations: 0.6717 MB / 0.7873 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.978e-05/0.5071, allocations: 7.656 kB / 0.7873 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.5072, allocations: 12.73 kB / 0.7873 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5072, allocations: 1.688 kB / 0.7873 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.5304, allocations: 1.592 MB / 0.7889 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/8.309, allocations: 12.05 kB / 0.7889 GB, free: 10.63 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)