Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="IBPSA_latest_IBPSA_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.001123/0.001123, allocations: 107 kB / 16.27 MB, free: 5.93 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.001185/0.001185, allocations: 188.6 kB / 17.2 MB, free: 5.574 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.289/1.289, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7289/0.7289, allocations: 122.8 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 55.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3166, allocations: 77.92 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002059/0.3187, allocations: 1.254 MB / 0.5685 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3197, allocations: 0.8174 MB / 0.5693 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.3197, allocations: 0 / 0.5693 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.3198, allocations: 4.969 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.3198, allocations: 5.844 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.3203, allocations: 158.5 kB / 0.5695 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.259e-05/0.3204, allocations: 41.56 kB / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.3205, allocations: 7.859 kB / 0.5695 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.3205, allocations: 16.33 kB / 0.5695 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.3206, allocations: 23.44 kB / 0.5695 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.3206, allocations: 2.25 kB / 0.5695 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.321, allocations: 202.1 kB / 0.5697 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.3211, allocations: 7.469 kB / 0.5697 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.3211, allocations: 21.05 kB / 0.5698 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.3213, allocations: 142.6 kB / 0.5699 GB, free: 30.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3214, allocations: 0.9375 kB / 0.5699 GB, free: 30.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3214, allocations: 0 / 0.5699 GB, free: 30.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.3214, allocations: 0 / 0.5699 GB, free: 30.98 MB / 446.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.0003686/0.3217, allocations: 374.9 kB / 0.5703 GB, free: 30.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3218, allocations: 13.78 kB / 0.5703 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.3218, allocations: 39.89 kB / 0.5703 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.3219, allocations: 7.25 kB / 0.5703 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.103e-05/0.3219, allocations: 172 kB / 0.5705 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.3219, allocations: 1.188 kB / 0.5705 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.322, allocations: 7.469 kB / 0.5705 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.3221, allocations: 76.58 kB / 0.5706 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3221, allocations: 3.938 kB / 0.5706 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3221, allocations: 6.656 kB / 0.5706 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3221, allocations: 1.219 kB / 0.5706 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.337e-05/0.3222, allocations: 28.05 kB / 0.5706 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.3243, allocations: 2.096 MB / 0.5726 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.619e-05/0.3244, allocations: 167.5 kB / 0.5728 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.3244, allocations: 86.3 kB / 0.5729 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.3244, allocations: 76.78 kB / 0.573 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.3244, allocations: 112.2 kB / 0.5731 GB, free: 27.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3245, allocations: 0 / 0.5731 GB, free: 27.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.917e-05/0.3245, allocations: 32.36 kB / 0.5731 GB, free: 27.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.3245, allocations: 132.7 kB / 0.5732 GB, free: 27.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.3247, allocations: 130.5 kB / 0.5733 GB, free: 27.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-06/0.3247, allocations: 28.66 kB / 0.5734 GB, free: 27.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.3247, allocations: 101 kB / 0.5735 GB, free: 27.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.3247, allocations: 4.562 kB / 0.5735 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.3248, allocations: 21.64 kB / 0.5735 GB, free: 27.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.846e-05/0.3248, allocations: 321.2 kB / 0.5738 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.3248, allocations: 6.438 kB / 0.5738 GB, free: 26.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.3249, allocations: 44.02 kB / 0.5739 GB, free: 26.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.3249, allocations: 37.52 kB / 0.5739 GB, free: 26.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3249, allocations: 3.938 kB / 0.5739 GB, free: 26.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001467/0.3251, allocations: 70.41 kB / 0.574 GB, free: 26.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.3251, allocations: 6.375 kB / 0.574 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3251, allocations: 1.094 kB / 0.574 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3251, allocations: 3.125 kB / 0.574 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.3252, allocations: 14.36 kB / 0.574 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3252, allocations: 2.766 kB / 0.574 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.3253, allocations: 10.22 kB / 0.574 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.3253, allocations: 3.688 kB / 0.574 GB, free: 26.71 MB / 446.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 5.08e-05/0.3253, allocations: 191.6 kB / 0.5742 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.3254, allocations: 112.2 kB / 0.5743 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.3254, allocations: 107.7 kB / 0.5744 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/0.3255, allocations: 183.2 kB / 0.5746 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.608e-05/0.3255, allocations: 177.8 kB / 0.5747 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/0.3255, allocations: 189 kB / 0.5749 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.3257, allocations: 414.3 kB / 0.5753 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.3257, allocations: 102 kB / 0.5754 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.539e-05/0.3257, allocations: 106.8 kB / 0.5755 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.25e-05/0.3257, allocations: 178.6 kB / 0.5757 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.3258, allocations: 183.5 kB / 0.5759 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.282e-05/0.3258, allocations: 178.3 kB / 0.576 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-05/0.3258, allocations: 190.2 kB / 0.5762 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.685e-05/0.3259, allocations: 313.6 kB / 0.5765 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.3259, allocations: 192.4 kB / 0.5767 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.326, allocations: 179.5 kB / 0.5769 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.326, allocations: 102 kB / 0.577 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.3261, allocations: 185 kB / 0.5771 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3261, allocations: 107.5 kB / 0.5772 GB, free: 23.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.066e-05/0.3262, allocations: 106.3 kB / 0.5773 GB, free: 23.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3262, allocations: 0 / 0.5773 GB, free: 23.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.3265, allocations: 52.27 kB / 0.5774 GB, free: 23.15 MB / 446.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.0004689/0.3269, allocations: 0.8757 MB / 0.5782 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.787e-05/0.327, allocations: 24.08 kB / 0.5783 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3271, allocations: 0 / 0.5783 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.484e-06/0.3271, allocations: 1.594 kB / 0.5783 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3274, allocations: 468.3 kB / 0.5787 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.3278, allocations: 259.2 kB / 0.579 GB, free: 21.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.57e-05/0.3279, allocations: 0.6819 MB / 0.5796 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.593e-05/0.328, allocations: 10.62 kB / 0.5796 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.328, allocations: 15.44 kB / 0.5797 GB, free: 20.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.328, allocations: 0 / 0.5797 GB, free: 20.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.3451, allocations: 2.397 MB / 0.582 GB, free: 20.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.394, allocations: 7.141 kB / 0.582 GB, free: 20.52 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.fmu > IBPSA_latest_IBPSA.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1)