Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.001591/0.001591, 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.00114/0.00114, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 286.5 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.948/0.948, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001714, allocations: 102.2 kB / 0.5954 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1386, allocations: 86.97 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002951/0.1416, allocations: 1.997 MB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1439, allocations: 1.662 MB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.1439, allocations: 7.938 kB / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.41e-05/0.144, allocations: 16.72 kB / 0.6839 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.889e-05/0.1441, allocations: 49.16 kB / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008725/0.145, allocations: 365.4 kB / 0.6843 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.1452, allocations: 215.1 kB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.1454, allocations: 57.67 kB / 0.6845 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1455, allocations: 79.83 kB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1456, allocations: 87.67 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.1457, allocations: 16 kB / 0.6847 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007179/0.1464, allocations: 407.5 kB / 0.6851 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.1465, allocations: 43.84 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.571e-05/0.1465, allocations: 83.64 kB / 0.6852 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005623/0.1471, allocations: 423 kB / 0.6856 GB, free: 11.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1471, allocations: 3.938 kB / 0.6856 GB, free: 11.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1471, allocations: 3.938 kB / 0.6856 GB, free: 11.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.1472, allocations: 0 / 0.6856 GB, free: 11.11 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000766/0.1479, allocations: 0.5186 MB / 0.6861 GB, free: 10.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.148, allocations: 8.031 kB / 0.6861 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.148, allocations: 54.73 kB / 0.6862 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005789/0.1486, allocations: 84.73 kB / 0.6863 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1487, allocations: 180.1 kB / 0.6865 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.1488, allocations: 50.25 kB / 0.6865 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.1489, allocations: 16.38 kB / 0.6865 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.1493, allocations: 179.1 kB / 0.6867 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1493, allocations: 4 kB / 0.6867 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.1493, allocations: 4 kB / 0.6867 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.1493, allocations: 7.984 kB / 0.6867 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.1498, allocations: 184.3 kB / 0.6869 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.1511, allocations: 0.9229 MB / 0.6878 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.1516, allocations: 170.6 kB / 0.6879 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.1518, allocations: 76.83 kB / 0.688 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/0.1525, allocations: 0.5181 MB / 0.6885 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.1525, allocations: 38.5 kB / 0.6886 GB, free: 7.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.1525, allocations: 4 kB / 0.6886 GB, free: 7.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006962/0.1532, allocations: 229.4 kB / 0.6888 GB, free: 7.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1533, allocations: 55.41 kB / 0.6888 GB, free: 7.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1534, allocations: 160.7 kB / 0.689 GB, free: 7.277 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1535, allocations: 25.7 kB / 0.689 GB, free: 7.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.1535, allocations: 119.8 kB / 0.6891 GB, free: 7.125 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.1536, allocations: 55.28 kB / 0.6892 GB, free: 7.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.1537, allocations: 37.69 kB / 0.6892 GB, free: 7.027 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1538, allocations: 326.8 kB / 0.6895 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.154, allocations: 67.97 kB / 0.6896 GB, free: 6.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.1542, allocations: 99.48 kB / 0.6897 GB, free: 6.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.1546, allocations: 155.8 kB / 0.6898 GB, free: 6.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1546, allocations: 4 kB / 0.6898 GB, free: 6.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004982/0.1551, allocations: 217.3 kB / 0.69 GB, free: 6.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1551, allocations: 4 kB / 0.69 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1552, allocations: 8.031 kB / 0.6901 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1552, allocations: 0 / 0.6901 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.1554, allocations: 39.91 kB / 0.6901 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1555, allocations: 0 / 0.6901 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.1556, allocations: 19.83 kB / 0.6901 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.1557, allocations: 15.98 kB / 0.6901 GB, free: 6.066 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.826e-05/0.1558, allocations: 127 kB / 0.6902 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.1558, allocations: 19.81 kB / 0.6903 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005198/0.1564, allocations: 197 kB / 0.6905 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1564, allocations: 0 / 0.6905 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1564, allocations: 0 / 0.6905 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1564, allocations: 4 kB / 0.6905 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.1578, allocations: 0.9817 MB / 0.6914 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1578, allocations: 64 / 0.6914 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.158, allocations: 31.97 kB / 0.6914 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.158, allocations: 4 kB / 0.6915 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.1581, allocations: 4 kB / 0.6915 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1581, allocations: 0 / 0.6915 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1581, allocations: 7.938 kB / 0.6915 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.1586, allocations: 285 kB / 0.6917 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.1586, allocations: 93 kB / 0.6918 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.1587, allocations: 0 / 0.6918 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.1589, allocations: 15.98 kB / 0.6918 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.1589, allocations: 15.92 kB / 0.6919 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.159, allocations: 11.98 kB / 0.6919 GB, free: 4.078 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.146e-05/0.1591, allocations: 116.9 kB / 0.692 GB, free: 3.965 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1591, allocations: 0 / 0.692 GB, free: 3.965 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.1595, allocations: 139.8 kB / 0.6921 GB, free: 3.828 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.001069/0.1606, allocations: 0.9433 MB / 0.693 GB, free: 2.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000503/0.1611, allocations: 185.8 kB / 0.6932 GB, free: 2.676 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1611, allocations: 0 / 0.6932 GB, free: 2.676 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.1614, allocations: 83.89 kB / 0.6933 GB, free: 2.594 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.1618, allocations: 48.03 kB / 0.6933 GB, free: 2.547 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.1645, allocations: 2.052 MB / 0.6953 GB, free: 404 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1648, allocations: 0.7203 MB / 0.696 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.165, allocations: 25.17 kB / 0.6961 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.1651, allocations: 43.36 kB / 0.6961 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of SimCode: time 6.62e-07/0.1651, allocations: 4 kB / 0.6961 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.1876, allocations: 6.001 MB / 0.702 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.511, allocations: 10.86 kB / 0.702 GB, free: 9.754 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_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_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)