Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.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.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",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.005262/0.005262, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001248/0.001248, allocations: 195.2 kB / 16.67 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00261/0.00261, allocations: 283.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.22/1.22, allocations: 178.6 MB / 0.5074 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002713, allocations: 95.84 kB / 0.6943 GB, free: 15.23 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.374, allocations: 89.13 MB / 0.7813 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.001809/0.3758, allocations: 1.27 MB / 0.7825 GB, free: 112 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3771, allocations: 0.8154 MB / 0.7833 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.3771, allocations: 0 / 0.7833 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.3772, allocations: 7.922 kB / 0.7833 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.519e-05/0.3772, allocations: 9.359 kB / 0.7834 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.3777, allocations: 155.1 kB / 0.7835 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.824e-05/0.3778, allocations: 39.72 kB / 0.7835 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.3779, allocations: 7.125 kB / 0.7835 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.137e-05/0.3779, allocations: 16.52 kB / 0.7836 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.378, allocations: 27.97 kB / 0.7836 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.378, allocations: 2.312 kB / 0.7836 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.3784, allocations: 206.1 kB / 0.7838 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.3785, allocations: 15.23 kB / 0.7838 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.3785, allocations: 13.16 kB / 0.7838 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.3788, allocations: 137.1 kB / 0.7839 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3788, allocations: 3.938 kB / 0.784 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3788, allocations: 0 / 0.784 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.3788, allocations: 0 / 0.784 GB, free: 15.08 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004894/0.3793, allocations: 385.2 kB / 0.7843 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3793, allocations: 9.438 kB / 0.7843 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.3794, allocations: 32.03 kB / 0.7844 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.3794, allocations: 11.58 kB / 0.7844 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3795, allocations: 169.5 kB / 0.7845 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3796, allocations: 1.719 kB / 0.7845 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3796, allocations: 3.469 kB / 0.7845 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3797, allocations: 83.06 kB / 0.7846 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3798, allocations: 3.938 kB / 0.7846 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3798, allocations: 1.094 kB / 0.7846 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.3798, allocations: 5.469 kB / 0.7846 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.3799, allocations: 31.88 kB / 0.7847 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002888/0.3828, allocations: 2.093 MB / 0.7867 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.247e-05/0.3829, allocations: 166.5 kB / 0.7869 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.3829, allocations: 84.14 kB / 0.7869 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.383, allocations: 76.97 kB / 0.787 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/0.383, allocations: 113.8 kB / 0.7871 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.383, allocations: 0 / 0.7871 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.181e-05/0.3831, allocations: 36.45 kB / 0.7872 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.3832, allocations: 126.7 kB / 0.7873 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3833, allocations: 129.2 kB / 0.7874 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3833, allocations: 29.69 kB / 0.7874 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.3834, allocations: 102.4 kB / 0.7875 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.3834, allocations: 7.938 kB / 0.7875 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.3835, allocations: 28.66 kB / 0.7876 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3836, allocations: 316.5 kB / 0.7879 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/0.3837, allocations: 13.17 kB / 0.7879 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.3837, allocations: 27.91 kB / 0.7879 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.806e-05/0.3838, allocations: 45.84 kB / 0.7879 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3838, allocations: 0 / 0.7879 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001666/0.384, allocations: 71.45 kB / 0.788 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.384, allocations: 5.375 kB / 0.788 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.384, allocations: 1.531 kB / 0.788 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.384, allocations: 1.312 kB / 0.788 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.3841, allocations: 13.78 kB / 0.788 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3841, allocations: 9.344 kB / 0.788 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.3842, allocations: 13.33 kB / 0.7881 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.3842, allocations: 6.594 kB / 0.7881 GB, free: 10.63 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0001115/0.3843, allocations: 192.2 kB / 0.7882 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.701e-05/0.3844, allocations: 103.2 kB / 0.7883 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.3845, allocations: 107.3 kB / 0.7884 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-05/0.3846, allocations: 196.2 kB / 0.7886 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-05/0.3846, allocations: 177.9 kB / 0.7888 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.787e-05/0.3847, allocations: 184.1 kB / 0.789 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.385, allocations: 411.4 kB / 0.7894 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.058e-05/0.3851, allocations: 102 kB / 0.7895 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.3851, allocations: 110 kB / 0.7896 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.17e-05/0.3852, allocations: 181.5 kB / 0.7897 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-05/0.3853, allocations: 185.4 kB / 0.7899 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.143e-05/0.3854, allocations: 185.4 kB / 0.7901 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.255e-05/0.3855, allocations: 176.3 kB / 0.7903 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.3856, allocations: 317.1 kB / 0.7906 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.3858, allocations: 187.2 kB / 0.7907 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-05/0.3859, allocations: 183 kB / 0.7909 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.386, allocations: 101 kB / 0.791 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/0.3861, allocations: 189.5 kB / 0.7912 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.3861, allocations: 110.1 kB / 0.7913 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.883e-05/0.3862, allocations: 106.7 kB / 0.7914 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3862, allocations: 0 / 0.7914 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003033/0.3865, allocations: 49.5 kB / 0.7915 GB, free: 7.012 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 (0): * Single equations (assignments): 0 * 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.0006315/0.3872, allocations: 0.8808 MB / 0.7923 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.695e-05/0.3873, allocations: 16.94 kB / 0.7923 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3873, allocations: 0 / 0.7923 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-06/0.3873, allocations: 3.984 kB / 0.7923 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.3878, allocations: 470.3 kB / 0.7928 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.3882, allocations: 260.6 kB / 0.793 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3886, allocations: 0.6819 MB / 0.7937 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.3886, allocations: 8.406 kB / 0.7937 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.3887, allocations: 13.72 kB / 0.7937 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.3887, allocations: 1.219 kB / 0.7937 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.4113, allocations: 2.441 MB / 0.7961 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.163, allocations: 18.67 kB / 0.7961 GB, free: 3.434 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.fmu > BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1)