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.004462/0.004462, allocations: 101 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.001226/0.001226, allocations: 192.4 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002394/0.002394, allocations: 283.7 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9577/0.9577, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002574/0.002574, allocations: 95.84 kB / 0.6809 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3658, allocations: 86.98 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002183/0.368, allocations: 1.264 MB / 0.7671 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.3693, allocations: 0.8243 MB / 0.7679 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.3693, allocations: 0 / 0.7679 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.3694, allocations: 3.984 kB / 0.7679 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.3694, allocations: 11.86 kB / 0.7679 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.3699, allocations: 151.5 kB / 0.7681 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.149e-05/0.37, allocations: 39.84 kB / 0.7681 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.37, allocations: 4 kB / 0.7681 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.225e-05/0.3701, allocations: 19.92 kB / 0.7681 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.3701, allocations: 23.91 kB / 0.7682 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.3702, allocations: 4 kB / 0.7682 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004158/0.3706, allocations: 207.8 kB / 0.7684 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.3706, allocations: 15.92 kB / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.3706, allocations: 11.94 kB / 0.7684 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.3709, allocations: 132.7 kB / 0.7685 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3709, allocations: 0 / 0.7685 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3709, allocations: 0 / 0.7685 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3709, allocations: 0 / 0.7685 GB, free: 1.156 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004768/0.3714, allocations: 390.9 kB / 0.7689 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3714, allocations: 16.02 kB / 0.7689 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.3715, allocations: 34.69 kB / 0.7689 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.3715, allocations: 8.891 kB / 0.7689 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.3716, allocations: 160.4 kB / 0.7691 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3717, allocations: 8.375 kB / 0.7691 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.3717, allocations: 384 / 0.7691 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.3718, allocations: 85.59 kB / 0.7692 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3718, allocations: 7.938 kB / 0.7692 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.3718, allocations: 0 / 0.7692 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3719, allocations: 0 / 0.7692 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.959e-05/0.3719, allocations: 27.92 kB / 0.7692 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.3746, allocations: 2.095 MB / 0.7713 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.276e-05/0.3747, allocations: 169.1 kB / 0.7714 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.3748, allocations: 80.14 kB / 0.7715 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.3748, allocations: 75.28 kB / 0.7716 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/0.3749, allocations: 117.8 kB / 0.7717 GB, free: 13.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3749, allocations: 0 / 0.7717 GB, free: 13.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.144e-05/0.375, allocations: 33.64 kB / 0.7717 GB, free: 13.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.375, allocations: 126.7 kB / 0.7718 GB, free: 13.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3752, allocations: 133.8 kB / 0.772 GB, free: 13.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.3752, allocations: 25.7 kB / 0.772 GB, free: 13.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.3753, allocations: 107.9 kB / 0.7721 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.3753, allocations: 0 / 0.7721 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.3753, allocations: 33.66 kB / 0.7721 GB, free: 12.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3754, allocations: 314.8 kB / 0.7724 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.3755, allocations: 4 kB / 0.7724 GB, free: 12.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.3755, allocations: 35.42 kB / 0.7725 GB, free: 12.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.485e-05/0.3756, allocations: 47.31 kB / 0.7725 GB, free: 12.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3756, allocations: 0 / 0.7725 GB, free: 12.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001625/0.3758, allocations: 69.61 kB / 0.7726 GB, free: 12.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3758, allocations: 8 kB / 0.7726 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3758, allocations: 0 / 0.7726 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3758, allocations: 0 / 0.7726 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.966e-05/0.3759, allocations: 15.94 kB / 0.7726 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3759, allocations: 0 / 0.7726 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.376, allocations: 19.98 kB / 0.7726 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.376, allocations: 0 / 0.7726 GB, free: 12.37 MB / 0.545 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.0001099/0.3761, allocations: 189.1 kB / 0.7728 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.3762, allocations: 109.1 kB / 0.7729 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.554e-05/0.3762, allocations: 108.5 kB / 0.773 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.148e-05/0.3763, allocations: 184.2 kB / 0.7732 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-05/0.3764, allocations: 192.2 kB / 0.7734 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.356e-05/0.3765, allocations: 180.2 kB / 0.7735 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.3768, allocations: 413.1 kB / 0.7739 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.54e-05/0.3768, allocations: 108.9 kB / 0.774 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.3769, allocations: 101 kB / 0.7741 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.089e-05/0.377, allocations: 184.4 kB / 0.7743 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/0.377, allocations: 180.3 kB / 0.7745 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.998e-05/0.3771, allocations: 188.3 kB / 0.7747 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.071e-05/0.3772, allocations: 184.2 kB / 0.7748 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.3774, allocations: 303.7 kB / 0.7751 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.3775, allocations: 194 kB / 0.7753 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/0.3776, allocations: 180.3 kB / 0.7755 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3777, allocations: 104.9 kB / 0.7756 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/0.3778, allocations: 184.2 kB / 0.7758 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.3778, allocations: 112.9 kB / 0.7759 GB, free: 8.816 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.994e-05/0.3779, allocations: 103.3 kB / 0.776 GB, free: 8.715 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3779, allocations: 4 kB / 0.776 GB, free: 8.711 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003019/0.3782, allocations: 51.81 kB / 0.776 GB, free: 8.66 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 (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.0006121/0.3789, allocations: 0.8749 MB / 0.7769 GB, free: 7.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.686e-05/0.379, allocations: 19.94 kB / 0.7769 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.379, allocations: 4 kB / 0.7769 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.379, allocations: 0 / 0.7769 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.3794, allocations: 471 kB / 0.7773 GB, free: 7.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.3799, allocations: 259.8 kB / 0.7776 GB, free: 6.977 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3802, allocations: 0.6807 MB / 0.7783 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.655e-05/0.3803, allocations: 7.984 kB / 0.7783 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.3803, allocations: 15.44 kB / 0.7783 GB, free: 6.246 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.3803, allocations: 0 / 0.7783 GB, free: 6.246 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.4032, allocations: 2.447 MB / 0.7807 GB, free: 3.957 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.923, allocations: 11.86 kB / 0.7807 GB, free: 3.945 MB / 0.545 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)