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.001736/0.001736, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.936/1.936, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003761/0.003761, allocations: 275.1 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.605/1.605, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003229/0.003229, allocations: 103.1 kB / 0.5953 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2449, allocations: 86.97 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.004451/0.2494, allocations: 1.272 MB / 0.6815 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.2516, allocations: 0.8119 MB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.649e-05/0.2517, allocations: 0 / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.2517, allocations: 4.562 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.259e-05/0.2518, allocations: 9.328 kB / 0.6823 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008627/0.2527, allocations: 155.4 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2528, allocations: 43.78 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.337e-05/0.2529, allocations: 4.656 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.905e-05/0.253, allocations: 23.98 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.2531, allocations: 23.84 kB / 0.6826 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.2531, allocations: 4 kB / 0.6826 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000686/0.2538, allocations: 199.8 kB / 0.6828 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.2539, allocations: 7.984 kB / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.2539, allocations: 11.94 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.2544, allocations: 139.9 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.2544, allocations: 3.984 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2544, allocations: 0 / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2544, allocations: 0 / 0.6829 GB, free: 13.91 MB / 494.1 MB 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.000651/0.2551, allocations: 379.3 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.2551, allocations: 8.031 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.85e-05/0.2552, allocations: 34.75 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.2553, allocations: 4.938 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.2554, allocations: 168.3 kB / 0.6835 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.2555, allocations: 4.375 kB / 0.6835 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.2555, allocations: 384 / 0.6835 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.2557, allocations: 89.59 kB / 0.6836 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2558, allocations: 3.938 kB / 0.6836 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.2558, allocations: 3.938 kB / 0.6836 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.2558, allocations: 3.984 kB / 0.6836 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.256, allocations: 27.92 kB / 0.6836 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004306/0.2603, allocations: 2.099 MB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.2604, allocations: 169.1 kB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.2605, allocations: 80.14 kB / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.2605, allocations: 79.28 kB / 0.686 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.233e-05/0.2606, allocations: 117.8 kB / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/0.2606, allocations: 0 / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001153/0.2607, allocations: 29.64 kB / 0.6861 GB, free: 10.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.2609, allocations: 126.7 kB / 0.6862 GB, free: 9.988 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.2611, allocations: 133.8 kB / 0.6864 GB, free: 9.848 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.2611, allocations: 25.7 kB / 0.6864 GB, free: 9.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.2612, allocations: 107.8 kB / 0.6865 GB, free: 9.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.2612, allocations: 0 / 0.6865 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.2613, allocations: 29.61 kB / 0.6865 GB, free: 9.672 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.2615, allocations: 318.8 kB / 0.6868 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.853e-05/0.2616, allocations: 7.984 kB / 0.6868 GB, free: 9.344 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.2616, allocations: 31.44 kB / 0.6869 GB, free: 9.301 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.2618, allocations: 47.36 kB / 0.6869 GB, free: 9.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2618, allocations: 0 / 0.6869 GB, free: 9.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002842/0.2621, allocations: 61.62 kB / 0.687 GB, free: 9.176 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.2621, allocations: 11.94 kB / 0.687 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2621, allocations: 128 / 0.687 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2622, allocations: 4 kB / 0.687 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.2623, allocations: 19.98 kB / 0.687 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.2623, allocations: 0 / 0.687 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.2624, allocations: 7.938 kB / 0.687 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.2625, allocations: 0 / 0.687 GB, free: 9.133 MB / 494.1 MB 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.0001409/0.2626, allocations: 186.4 kB / 0.6872 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.2628, allocations: 113.3 kB / 0.6873 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.143e-05/0.2629, allocations: 116.5 kB / 0.6874 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/0.263, allocations: 180.2 kB / 0.6876 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001086/0.2631, allocations: 188.2 kB / 0.6878 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.035e-05/0.2632, allocations: 180.3 kB / 0.6879 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.2636, allocations: 421.2 kB / 0.6883 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-05/0.2637, allocations: 105 kB / 0.6884 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.2637, allocations: 105 kB / 0.6885 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.055e-05/0.2638, allocations: 180.2 kB / 0.6887 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.264, allocations: 176.4 kB / 0.6889 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001166/0.2641, allocations: 196.1 kB / 0.6891 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.094e-05/0.2642, allocations: 176.3 kB / 0.6892 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2644, allocations: 315.6 kB / 0.6895 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.2646, allocations: 186 kB / 0.6897 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.2647, allocations: 188.2 kB / 0.6899 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.2649, allocations: 105 kB / 0.69 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.265, allocations: 184.2 kB / 0.6902 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.2651, allocations: 108.9 kB / 0.6903 GB, free: 5.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.2653, allocations: 99.27 kB / 0.6904 GB, free: 5.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.2653, allocations: 0 / 0.6904 GB, free: 5.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000593/0.2659, allocations: 59.92 kB / 0.6904 GB, free: 5.418 MB / 494.1 MB 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.0009053/0.2668, allocations: 0.8711 MB / 0.6913 GB, free: 4.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.267, allocations: 19.98 kB / 0.6913 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.267, allocations: 0 / 0.6913 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.911e-06/0.267, allocations: 7.938 kB / 0.6913 GB, free: 4.492 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.2678, allocations: 460.6 kB / 0.6917 GB, free: 4.039 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008355/0.2686, allocations: 268 kB / 0.692 GB, free: 3.738 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.2691, allocations: 0.6807 MB / 0.6926 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.737e-05/0.2691, allocations: 7.938 kB / 0.6927 GB, free: 3.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.2692, allocations: 15.44 kB / 0.6927 GB, free: 3.008 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2692, allocations: 0 / 0.6927 GB, free: 3.008 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0518/0.321, allocations: 2.429 MB / 0.695 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.03, allocations: 10.42 kB / 0.6951 GB, free: 0.7031 MB / 494.1 MB (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)