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.001297/0.001297, 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.001269/0.001269, allocations: 196.8 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002542/0.002542, allocations: 294.9 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 95.67 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1582, allocations: 89.14 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003622/0.1618, allocations: 2.019 MB / 0.6956 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.1644, allocations: 1.655 MB / 0.6972 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.1645, allocations: 4 kB / 0.6972 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.8e-05/0.1646, allocations: 19.78 kB / 0.6972 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.1647, allocations: 51.55 kB / 0.6973 GB, free: 492 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009479/0.1657, allocations: 362.8 kB / 0.6976 GB, free: 120 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.1659, allocations: 219.2 kB / 0.6978 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1661, allocations: 53.66 kB / 0.6979 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1662, allocations: 79.78 kB / 0.6979 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.1663, allocations: 83.73 kB / 0.698 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.1664, allocations: 20 kB / 0.698 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007739/0.1672, allocations: 399.5 kB / 0.6984 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.1672, allocations: 39.84 kB / 0.6985 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.418e-05/0.1673, allocations: 87.66 kB / 0.6985 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005928/0.1679, allocations: 423 kB / 0.6989 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1679, allocations: 0 / 0.6989 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1679, allocations: 4 kB / 0.699 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.168, allocations: 0 / 0.699 GB, free: 14.73 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008168/0.1688, allocations: 0.5147 MB / 0.6995 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1688, allocations: 12.03 kB / 0.6995 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.048e-05/0.1689, allocations: 54.67 kB / 0.6995 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000583/0.1695, allocations: 88.64 kB / 0.6996 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.1696, allocations: 184.2 kB / 0.6998 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-05/0.1697, allocations: 50.25 kB / 0.6998 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.1698, allocations: 12.38 kB / 0.6998 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.1702, allocations: 185.9 kB / 0.7 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1702, allocations: 0 / 0.7 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.1702, allocations: 8 kB / 0.7 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1702, allocations: 4 kB / 0.7 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/0.1707, allocations: 179.8 kB / 0.7002 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.1721, allocations: 0.9228 MB / 0.7011 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.1726, allocations: 170.5 kB / 0.7013 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.1728, allocations: 80.81 kB / 0.7013 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/0.1735, allocations: 0.5259 MB / 0.7019 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1736, allocations: 30.56 kB / 0.7019 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 3.206e-06/0.1736, allocations: 0 / 0.7019 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007275/0.1743, allocations: 240.9 kB / 0.7021 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1744, allocations: 51.41 kB / 0.7022 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1745, allocations: 160.1 kB / 0.7023 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.1746, allocations: 29.69 kB / 0.7023 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.594e-05/0.1747, allocations: 119.8 kB / 0.7025 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.1747, allocations: 43.3 kB / 0.7025 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.1748, allocations: 41.61 kB / 0.7025 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1749, allocations: 322.8 kB / 0.7028 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.1751, allocations: 79.89 kB / 0.7029 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.1754, allocations: 97.67 kB / 0.703 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.1758, allocations: 152.3 kB / 0.7032 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1758, allocations: 0 / 0.7032 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005232/0.1763, allocations: 217.4 kB / 0.7034 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1764, allocations: 8 kB / 0.7034 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1764, allocations: 0 / 0.7034 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1764, allocations: 0 / 0.7034 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.1766, allocations: 39.97 kB / 0.7034 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1767, allocations: 4 kB / 0.7034 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.1768, allocations: 19.83 kB / 0.7034 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.1769, allocations: 12.03 kB / 0.7034 GB, free: 9.691 MB / 0.4981 GB 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 0.000115/0.177, allocations: 125.7 kB / 0.7036 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.1771, allocations: 15.81 kB / 0.7036 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005411/0.1776, allocations: 190.4 kB / 0.7038 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.1776, allocations: 8 kB / 0.7038 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1776, allocations: 4 kB / 0.7038 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1776, allocations: 0 / 0.7038 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.1792, allocations: 0.9855 MB / 0.7047 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1792, allocations: 0 / 0.7047 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.1794, allocations: 27.98 kB / 0.7048 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1794, allocations: 0 / 0.7048 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1794, allocations: 3.984 kB / 0.7048 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1794, allocations: 4 kB / 0.7048 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1794, allocations: 0 / 0.7048 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.18, allocations: 293 kB / 0.705 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.18, allocations: 92.86 kB / 0.7051 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.1801, allocations: 8 kB / 0.7051 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.1803, allocations: 19.97 kB / 0.7052 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.1803, allocations: 19.86 kB / 0.7052 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.1804, allocations: 4 kB / 0.7052 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.737e-05/0.1805, allocations: 124.9 kB / 0.7053 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1805, allocations: 0 / 0.7053 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004486/0.1809, allocations: 123.9 kB / 0.7054 GB, free: 7.449 MB / 0.4981 GB 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.001166/0.1821, allocations: 0.9435 MB / 0.7063 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000515/0.1826, allocations: 183.7 kB / 0.7065 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1826, allocations: 0 / 0.7065 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.1829, allocations: 92.08 kB / 0.7066 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.1833, allocations: 48.62 kB / 0.7067 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.1862, allocations: 2.064 MB / 0.7087 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1865, allocations: 0.7086 MB / 0.7094 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.1867, allocations: 28.92 kB / 0.7094 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.701e-05/0.1868, allocations: 43.42 kB / 0.7094 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1868, allocations: 0 / 0.7094 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.2143, allocations: 5.999 MB / 0.7153 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.117, allocations: 14.69 kB / 0.7153 GB, free: 13.37 MB / 0.5137 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)