Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.007301/0.007301, allocations: 99.41 kB / 15.73 MB, free: 6.008 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.001703/0.001703, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8118/0.8118, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 62.81 kB / 0.595 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1512, allocations: 82.03 MB / 0.6752 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003081/0.1543, allocations: 2.016 MB / 0.6771 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0024/0.1568, allocations: 1.679 MB / 0.6788 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.024e-05/0.1569, allocations: 0 / 0.6788 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.912e-05/0.157, allocations: 19.8 kB / 0.6788 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.1571, allocations: 47.55 kB / 0.6788 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.1583, allocations: 358.8 kB / 0.6792 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.1586, allocations: 231.1 kB / 0.6794 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.1587, allocations: 37.48 kB / 0.6794 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1589, allocations: 87.77 kB / 0.6795 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.159, allocations: 87.67 kB / 0.6796 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.1591, allocations: 16 kB / 0.6796 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000805/0.1599, allocations: 419.5 kB / 0.68 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.1599, allocations: 39.91 kB / 0.68 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.054e-05/0.16, allocations: 83.64 kB / 0.6801 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006531/0.1607, allocations: 442.8 kB / 0.6805 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1607, allocations: 0 / 0.6805 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1607, allocations: 0 / 0.6805 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.1607, allocations: 0 / 0.6805 GB, free: 5.309 MB / 0.5137 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.0008299/0.1616, allocations: 0.5257 MB / 0.6811 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1616, allocations: 12.03 kB / 0.6811 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.1617, allocations: 50.73 kB / 0.6811 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/0.1622, allocations: 88.73 kB / 0.6812 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1624, allocations: 184.2 kB / 0.6814 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.362e-05/0.1624, allocations: 50.25 kB / 0.6814 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.1625, allocations: 12.38 kB / 0.6814 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.1629, allocations: 185.7 kB / 0.6816 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1629, allocations: 0 / 0.6816 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.1629, allocations: 12 kB / 0.6816 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.163, allocations: 4 kB / 0.6816 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.1634, allocations: 179.8 kB / 0.6818 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.1648, allocations: 0.9189 MB / 0.6827 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.1653, allocations: 170.5 kB / 0.6829 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.1655, allocations: 84.75 kB / 0.6829 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006183/0.1661, allocations: 0.5259 MB / 0.6835 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1662, allocations: 34.56 kB / 0.6835 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.1662, allocations: 0 / 0.6835 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.000708/0.1669, allocations: 236.9 kB / 0.6837 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.1669, allocations: 55.41 kB / 0.6838 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1671, allocations: 162.1 kB / 0.6839 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.1671, allocations: 33.7 kB / 0.684 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.1672, allocations: 119.8 kB / 0.6841 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.1672, allocations: 51.58 kB / 0.6841 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.1673, allocations: 41.66 kB / 0.6842 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1674, allocations: 326.8 kB / 0.6845 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.1676, allocations: 71.95 kB / 0.6845 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.1678, allocations: 93.67 kB / 0.6846 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.1682, allocations: 147.5 kB / 0.6848 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1683, allocations: 0 / 0.6848 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005009/0.1688, allocations: 223.1 kB / 0.685 GB, free: 336 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1688, allocations: 4 kB / 0.685 GB, free: 332 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1688, allocations: 4 kB / 0.685 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1688, allocations: 0 / 0.685 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.1691, allocations: 39.91 kB / 0.685 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1691, allocations: 4.031 kB / 0.685 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.1693, allocations: 23.88 kB / 0.6851 GB, free: 260 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1693, allocations: 8 kB / 0.6851 GB, free: 252 kB / 0.5137 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 9.884e-05/0.1694, allocations: 122.4 kB / 0.6852 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.1695, allocations: 19.91 kB / 0.6852 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.17, allocations: 198.4 kB / 0.6854 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.17, allocations: 0 / 0.6854 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.17, allocations: 0 / 0.6854 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.17, allocations: 7.984 kB / 0.6854 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.1714, allocations: 0.9855 MB / 0.6864 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1714, allocations: 0 / 0.6864 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.1716, allocations: 31.91 kB / 0.6864 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1717, allocations: 4 kB / 0.6864 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1717, allocations: 64 / 0.6864 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1717, allocations: 4 kB / 0.6864 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1717, allocations: 4 kB / 0.6864 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.1722, allocations: 284.2 kB / 0.6867 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.1722, allocations: 93.02 kB / 0.6868 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.1723, allocations: 7.984 kB / 0.6868 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.1725, allocations: 11.98 kB / 0.6868 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.1726, allocations: 23.86 kB / 0.6868 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.1726, allocations: 4 kB / 0.6868 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.082e-05/0.1727, allocations: 115.2 kB / 0.6869 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1727, allocations: 0 / 0.6869 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004344/0.1731, allocations: 131.5 kB / 0.687 GB, free: 14.01 MB / 0.5294 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.00104/0.1742, allocations: 0.9556 MB / 0.688 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.1747, allocations: 179.8 kB / 0.6881 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1747, allocations: 0 / 0.6881 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.1749, allocations: 79.91 kB / 0.6882 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.1753, allocations: 52.08 kB / 0.6883 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.1779, allocations: 2.06 MB / 0.6903 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.1782, allocations: 0.7166 MB / 0.691 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.1784, allocations: 31.44 kB / 0.691 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.1785, allocations: 43.42 kB / 0.6911 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.1785, allocations: 4 kB / 0.6911 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.2021, allocations: 6.122 MB / 0.697 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.593, allocations: 22.23 kB / 0.6971 GB, free: 3.793 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)