Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="IDEAS_dev_IDEAS_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.005344/0.005344, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001168/0.001168, allocations: 193.5 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7886/0.7886, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 61.53 kB / 0.5851 GB, free: 21.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1382, allocations: 80.92 MB / 0.6641 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002357/0.1406, allocations: 1.272 MB / 0.6654 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1418, allocations: 0.8098 MB / 0.6662 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.1419, allocations: 0 / 0.6662 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.1419, allocations: 11.92 kB / 0.6662 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.142, allocations: 7.875 kB / 0.6662 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.1425, allocations: 159.4 kB / 0.6663 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.1426, allocations: 47.77 kB / 0.6664 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.1426, allocations: 4 kB / 0.6664 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.1426, allocations: 15.98 kB / 0.6664 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.1427, allocations: 19.92 kB / 0.6664 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1427, allocations: 0 / 0.6664 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.1431, allocations: 215.8 kB / 0.6666 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.1432, allocations: 19.91 kB / 0.6666 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.1432, allocations: 11.94 kB / 0.6666 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1434, allocations: 135.8 kB / 0.6668 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1434, allocations: 0 / 0.6668 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1434, allocations: 0 / 0.6668 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.1434, allocations: 0 / 0.6668 GB, free: 3.617 MB / 0.4981 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.0004333/0.1439, allocations: 387 kB / 0.6671 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1439, allocations: 9.109 kB / 0.6672 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.144, allocations: 38.75 kB / 0.6672 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.144, allocations: 8.891 kB / 0.6672 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.1441, allocations: 160.4 kB / 0.6673 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1441, allocations: 12.31 kB / 0.6674 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.1441, allocations: 384 / 0.6674 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1443, allocations: 73.67 kB / 0.6674 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1443, allocations: 3.938 kB / 0.6674 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1443, allocations: 8 kB / 0.6674 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1443, allocations: 0 / 0.6674 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.354e-05/0.1444, allocations: 31.91 kB / 0.6675 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.1469, allocations: 2.095 MB / 0.6695 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.393e-05/0.147, allocations: 165.1 kB / 0.6697 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.147, allocations: 80.14 kB / 0.6698 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1471, allocations: 75.28 kB / 0.6698 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.1471, allocations: 109.8 kB / 0.6699 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1471, allocations: 7.938 kB / 0.6699 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.308e-05/0.1472, allocations: 37.64 kB / 0.67 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.1473, allocations: 126.7 kB / 0.6701 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1474, allocations: 141.7 kB / 0.6702 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.1474, allocations: 29.69 kB / 0.6703 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.1475, allocations: 100 kB / 0.6704 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.1475, allocations: 0 / 0.6704 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.1475, allocations: 25.7 kB / 0.6704 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1477, allocations: 318.8 kB / 0.6707 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.1477, allocations: 7.984 kB / 0.6707 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.1477, allocations: 31.44 kB / 0.6707 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.872e-05/0.1478, allocations: 47.31 kB / 0.6708 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1478, allocations: 0 / 0.6708 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001547/0.148, allocations: 77.5 kB / 0.6708 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.148, allocations: 8 kB / 0.6708 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.148, allocations: 3.984 kB / 0.6708 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.148, allocations: 0 / 0.6708 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.1481, allocations: 12 kB / 0.6709 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1481, allocations: 3.984 kB / 0.6709 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.1482, allocations: 12 kB / 0.6709 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1482, allocations: 4 kB / 0.6709 GB, free: 14.83 MB / 0.5137 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 8.162e-05/0.1483, allocations: 189.1 kB / 0.6711 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.1483, allocations: 112.9 kB / 0.6712 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.1484, allocations: 104.5 kB / 0.6713 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-05/0.1485, allocations: 184.2 kB / 0.6714 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.119e-05/0.1485, allocations: 184.3 kB / 0.6716 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.915e-05/0.1486, allocations: 184.2 kB / 0.6718 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.1488, allocations: 413.3 kB / 0.6722 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/0.1489, allocations: 109.1 kB / 0.6723 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.1489, allocations: 116.9 kB / 0.6724 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.784e-05/0.149, allocations: 176.3 kB / 0.6726 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.149, allocations: 180.3 kB / 0.6727 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.88e-05/0.1491, allocations: 188.2 kB / 0.6729 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.896e-05/0.1492, allocations: 180.3 kB / 0.6731 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.1493, allocations: 303.7 kB / 0.6734 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.423e-05/0.1494, allocations: 198 kB / 0.6736 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/0.1495, allocations: 180.3 kB / 0.6737 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.1495, allocations: 104.9 kB / 0.6738 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.1496, allocations: 184.2 kB / 0.674 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.1497, allocations: 104.9 kB / 0.6741 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.258e-05/0.1497, allocations: 107.3 kB / 0.6742 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1497, allocations: 0 / 0.6742 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002992/0.15, allocations: 55.81 kB / 0.6743 GB, free: 11.12 MB / 0.5137 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.0005171/0.1506, allocations: 0.8761 MB / 0.6751 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.325e-05/0.1507, allocations: 19.94 kB / 0.6752 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1507, allocations: 0 / 0.6752 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.1507, allocations: 3.984 kB / 0.6752 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.1511, allocations: 463.6 kB / 0.6756 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.1515, allocations: 264.1 kB / 0.6758 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1518, allocations: 0.6807 MB / 0.6765 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.1518, allocations: 7.938 kB / 0.6765 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.1518, allocations: 11.38 kB / 0.6765 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1518, allocations: 4 kB / 0.6765 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.1696, allocations: 2.42 MB / 0.6789 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.127/7.296, allocations: 9.953 kB / 0.6789 GB, free: 6.387 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.fmu > IDEAS_dev_IDEAS.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1)