Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_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.009076/0.009076, allocations: 101 kB / 15.73 MB, free: 6.062 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.002298/0.002298, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002528/0.002528, allocations: 288.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9884/0.9884, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002661/0.002661, allocations: 99.83 kB / 0.6809 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4761, allocations: 86.98 MB / 0.7659 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003203/0.4793, allocations: 1.41 MB / 0.7673 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.4806, allocations: 0.5945 MB / 0.7678 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.4807, allocations: 4 kB / 0.7678 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/0.4808, allocations: 7.938 kB / 0.7679 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.357e-05/0.4809, allocations: 3.984 kB / 0.7679 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.4815, allocations: 95.52 kB / 0.768 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.4816, allocations: 31.91 kB / 0.768 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.4817, allocations: 0 / 0.768 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.921e-05/0.4818, allocations: 15.92 kB / 0.768 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.364e-05/0.4818, allocations: 11.98 kB / 0.768 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.4819, allocations: 8 kB / 0.768 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.4822, allocations: 143.8 kB / 0.7682 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.4822, allocations: 7.938 kB / 0.7682 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.4823, allocations: 8 kB / 0.7682 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.4825, allocations: 100.8 kB / 0.7683 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4825, allocations: 0 / 0.7683 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4825, allocations: 0 / 0.7683 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.4826, allocations: 0 / 0.7683 GB, free: 1.379 MB / 0.5294 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.0005725/0.4831, allocations: 367.1 kB / 0.7686 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4832, allocations: 12.03 kB / 0.7686 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.4832, allocations: 34.75 kB / 0.7687 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004253/0.4837, allocations: 24.91 kB / 0.7687 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.4839, allocations: 168.3 kB / 0.7688 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.4839, allocations: 4.375 kB / 0.7688 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.4839, allocations: 384 / 0.7688 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.4842, allocations: 66.2 kB / 0.7689 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4842, allocations: 3.938 kB / 0.7689 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.4842, allocations: 4 kB / 0.7689 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.4842, allocations: 3.984 kB / 0.7689 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.4845, allocations: 55.88 kB / 0.769 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.485, allocations: 268.9 kB / 0.7692 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.4853, allocations: 58.53 kB / 0.7693 GB, free: 172 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.4854, allocations: 36.83 kB / 0.7693 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.4855, allocations: 0 / 0.7693 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.4855, allocations: 38.56 kB / 0.7694 GB, free: 84 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.4855, allocations: 3.938 kB / 0.7694 GB, free: 80 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0005565/0.4861, allocations: 109.7 kB / 0.7695 GB, free: 15.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.4862, allocations: 51.41 kB / 0.7695 GB, free: 15.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.4863, allocations: 101.8 kB / 0.7696 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.4863, allocations: 25.7 kB / 0.7696 GB, free: 15.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.4864, allocations: 92.06 kB / 0.7697 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.4864, allocations: 3.953 kB / 0.7697 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.4865, allocations: 29.64 kB / 0.7698 GB, free: 15.63 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4867, allocations: 314.9 kB / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.4868, allocations: 23.97 kB / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.4869, allocations: 27.97 kB / 0.7701 GB, free: 15.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.4872, allocations: 60.81 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.4872, allocations: 3.938 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003158/0.4875, allocations: 93.58 kB / 0.7703 GB, free: 15.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4875, allocations: 4 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4876, allocations: 0 / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4876, allocations: 7.969 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.4877, allocations: 11.98 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4877, allocations: 4 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.4878, allocations: 7.984 kB / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.4879, allocations: 0 / 0.7703 GB, free: 15.06 MB / 0.545 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.0001056/0.488, allocations: 121 kB / 0.7704 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.488, allocations: 0 / 0.7704 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.4881, allocations: 11.12 kB / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4881, allocations: 0 / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4881, allocations: 0 / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.4881, allocations: 7.938 kB / 0.7704 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.4883, allocations: 161.6 kB / 0.7706 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4883, allocations: 0 / 0.7706 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.4884, allocations: 19.97 kB / 0.7706 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4884, allocations: 0 / 0.7706 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.4885, allocations: 8 kB / 0.7706 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4885, allocations: 0 / 0.7706 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4885, allocations: 0 / 0.7706 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.4888, allocations: 183.4 kB / 0.7708 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.4889, allocations: 85.09 kB / 0.7709 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.4889, allocations: 4 kB / 0.7709 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.489, allocations: 11.98 kB / 0.7709 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.4891, allocations: 0 / 0.7709 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.4891, allocations: 0 / 0.7709 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.4892, allocations: 83.27 kB / 0.771 GB, free: 14.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4892, allocations: 0 / 0.771 GB, free: 14.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002472/0.4894, allocations: 15.94 kB / 0.771 GB, free: 14.28 MB / 0.545 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.0007682/0.4902, allocations: 0.7241 MB / 0.7717 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.4905, allocations: 71.89 kB / 0.7718 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4905, allocations: 0 / 0.7718 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.4907, allocations: 31.91 kB / 0.7718 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.491, allocations: 7.938 kB / 0.7718 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/0.4916, allocations: 164.4 kB / 0.7719 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.4919, allocations: 0.6806 MB / 0.7726 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.862e-05/0.492, allocations: 11.91 kB / 0.7726 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.4921, allocations: 7.438 kB / 0.7726 GB, free: 12.48 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.4921, allocations: 4 kB / 0.7726 GB, free: 12.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.5138, allocations: 1.686 MB / 0.7743 GB, free: 10.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/8.281, allocations: 9.859 kB / 0.7743 GB, free: 10.94 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)