Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001136/0.001137, allocations: 108 kB / 15.6 MB, free: 132 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.00117/0.00117, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.353/1.353, 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.00206/0.00206, allocations: 286.8 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9671/0.9671, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 98.64 kB / 0.5953 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.149, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003155/0.1522, allocations: 2.001 MB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1545, allocations: 1.65 MB / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.1545, allocations: 4 kB / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.325e-05/0.1546, allocations: 27.78 kB / 0.6839 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.1547, allocations: 55.48 kB / 0.6839 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008429/0.1556, allocations: 358.8 kB / 0.6843 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1558, allocations: 211.2 kB / 0.6845 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1559, allocations: 65.59 kB / 0.6845 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.156, allocations: 79.83 kB / 0.6846 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1562, allocations: 87.67 kB / 0.6847 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.1562, allocations: 20 kB / 0.6847 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000701/0.1569, allocations: 403.5 kB / 0.6851 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.157, allocations: 35.91 kB / 0.6851 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.417e-05/0.1571, allocations: 91.59 kB / 0.6852 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005114/0.1576, allocations: 415 kB / 0.6856 GB, free: 11.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1576, allocations: 0 / 0.6856 GB, free: 11.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1576, allocations: 0 / 0.6856 GB, free: 11.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.1576, allocations: 0 / 0.6856 GB, free: 11.1 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.0007313/0.1584, allocations: 0.5225 MB / 0.6861 GB, free: 10.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1584, allocations: 12.03 kB / 0.6861 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.1585, allocations: 50.73 kB / 0.6862 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005633/0.159, allocations: 84.73 kB / 0.6863 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1592, allocations: 184.2 kB / 0.6865 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.47e-05/0.1592, allocations: 50.25 kB / 0.6865 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1593, allocations: 16.31 kB / 0.6865 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.1597, allocations: 191.6 kB / 0.6867 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1597, allocations: 0 / 0.6867 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.1597, allocations: 8 kB / 0.6867 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1597, allocations: 8 kB / 0.6867 GB, free: 9.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.1602, allocations: 175.8 kB / 0.6869 GB, free: 9.703 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.1615, allocations: 0.919 MB / 0.6878 GB, free: 8.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.162, allocations: 166.6 kB / 0.6879 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.1622, allocations: 84.81 kB / 0.688 GB, free: 8.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/0.1629, allocations: 0.522 MB / 0.6885 GB, free: 7.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1629, allocations: 30.56 kB / 0.6886 GB, free: 7.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.1629, allocations: 0 / 0.6886 GB, free: 7.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007101/0.1636, allocations: 240.4 kB / 0.6888 GB, free: 7.492 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.1637, allocations: 55.39 kB / 0.6888 GB, free: 7.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1638, allocations: 156.1 kB / 0.689 GB, free: 7.266 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.1639, allocations: 29.7 kB / 0.689 GB, free: 7.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.1639, allocations: 119.8 kB / 0.6891 GB, free: 7.109 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.164, allocations: 47.3 kB / 0.6892 GB, free: 7.062 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.1641, allocations: 41.7 kB / 0.6892 GB, free: 7.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1642, allocations: 322.8 kB / 0.6895 GB, free: 6.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.1644, allocations: 75.95 kB / 0.6896 GB, free: 6.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.1647, allocations: 95.22 kB / 0.6897 GB, free: 6.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.1651, allocations: 159.7 kB / 0.6898 GB, free: 6.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1651, allocations: 0 / 0.6898 GB, free: 6.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005077/0.1656, allocations: 213.4 kB / 0.69 GB, free: 6.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1656, allocations: 8 kB / 0.69 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1656, allocations: 3.938 kB / 0.6901 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1656, allocations: 0 / 0.6901 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.1659, allocations: 43.94 kB / 0.6901 GB, free: 6.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.1659, allocations: 4 kB / 0.6901 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.1661, allocations: 23.83 kB / 0.6901 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1661, allocations: 7.938 kB / 0.6901 GB, free: 6.055 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 0.0001071/0.1663, allocations: 127 kB / 0.6902 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.1663, allocations: 15.81 kB / 0.6903 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/0.1668, allocations: 196.7 kB / 0.6905 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1669, allocations: 4 kB / 0.6905 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1669, allocations: 0 / 0.6905 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1669, allocations: 0 / 0.6905 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.1683, allocations: 0.9817 MB / 0.6914 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1683, allocations: 0 / 0.6914 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.1685, allocations: 39.86 kB / 0.6915 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1685, allocations: 4.062 kB / 0.6915 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1686, allocations: 3.984 kB / 0.6915 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1686, allocations: 4 kB / 0.6915 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1686, allocations: 0 / 0.6915 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/0.1691, allocations: 293 kB / 0.6917 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.1691, allocations: 85.02 kB / 0.6918 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.1692, allocations: 8 kB / 0.6918 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.1694, allocations: 15.97 kB / 0.6918 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.1694, allocations: 11.92 kB / 0.6919 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.1695, allocations: 8 kB / 0.6919 GB, free: 4.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.531e-05/0.1696, allocations: 121.3 kB / 0.692 GB, free: 3.949 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1696, allocations: 4 kB / 0.692 GB, free: 3.945 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004356/0.17, allocations: 127.8 kB / 0.6921 GB, free: 3.82 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.001066/0.1711, allocations: 0.9403 MB / 0.693 GB, free: 2.848 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004881/0.1716, allocations: 181.9 kB / 0.6932 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1716, allocations: 0 / 0.6932 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.1718, allocations: 83.89 kB / 0.6933 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.1722, allocations: 52.09 kB / 0.6933 GB, free: 2.539 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.175, allocations: 2.075 MB / 0.6954 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.1753, allocations: 0.7164 MB / 0.6961 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.1755, allocations: 33.33 kB / 0.6961 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.1756, allocations: 43.42 kB / 0.6961 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1756, allocations: 0 / 0.6961 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1997, allocations: 6.025 MB / 0.702 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.594, allocations: 8.125 kB / 0.702 GB, free: 9.727 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_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_ZeroInput.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)