Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7649/0.7649, allocations: 143.8 MB / 159.1 MB, free: 6.48 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 183.2 kB / 192 MB, free: 6.734 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.7 MB / 450.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008835/0.0008835, allocations: 103.5 kB / 0.5211 GB, free: 1.59 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.001801, allocations: 282.3 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004141, allocations: 12.84 kB / 0.6948 GB, free: 59.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1373, allocations: 82.47 MB / 0.7753 GB, free: 14.33 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002238/0.1395, allocations: 1.672 MB / 0.777 GB, free: 12.65 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.1426, allocations: 2.944 MB / 0.7798 GB, free: 9.387 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1427, allocations: 4 kB / 0.7798 GB, free: 9.383 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 5.396e-05/0.1428, allocations: 11.91 kB / 0.7798 GB, free: 9.371 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.143, allocations: 47.61 kB / 0.7799 GB, free: 9.324 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009656/0.1439, allocations: 291.2 kB / 0.7802 GB, free: 9.039 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.1442, allocations: 215 kB / 0.7804 GB, free: 8.828 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.1444, allocations: 53.72 kB / 0.7804 GB, free: 8.77 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1445, allocations: 71.78 kB / 0.7805 GB, free: 8.699 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1446, allocations: 79.67 kB / 0.7806 GB, free: 8.621 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.1447, allocations: 8 kB / 0.7806 GB, free: 8.613 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008234/0.1455, allocations: 379.5 kB / 0.7809 GB, free: 8.242 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.1456, allocations: 31.84 kB / 0.781 GB, free: 8.211 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1457, allocations: 109.3 kB / 0.7811 GB, free: 8.098 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006587/0.1463, allocations: 418.9 kB / 0.7815 GB, free: 7.688 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1464, allocations: 4 kB / 0.7815 GB, free: 7.684 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1464, allocations: 0 / 0.7815 GB, free: 7.684 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1464, allocations: 0 / 0.7815 GB, free: 7.684 MB / 458.7 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.0007659/0.1472, allocations: 495.1 kB / 0.7819 GB, free: 7.145 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1472, allocations: 8.031 kB / 0.782 GB, free: 7.137 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005427/0.1478, allocations: 104.6 kB / 0.7821 GB, free: 7.035 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1479, allocations: 180.2 kB / 0.7822 GB, free: 6.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.314e-05/0.148, allocations: 50.25 kB / 0.7823 GB, free: 6.766 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.148, allocations: 12.38 kB / 0.7823 GB, free: 6.754 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.1484, allocations: 182.1 kB / 0.7825 GB, free: 6.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1485, allocations: 7.875 kB / 0.7825 GB, free: 6.562 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.1485, allocations: 8 kB / 0.7825 GB, free: 6.555 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1485, allocations: 4 kB / 0.7825 GB, free: 6.551 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.1489, allocations: 191.8 kB / 0.7827 GB, free: 6.363 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.1503, allocations: 0.9112 MB / 0.7836 GB, free: 5.328 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.1508, allocations: 182.5 kB / 0.7837 GB, free: 5.141 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.151, allocations: 80.83 kB / 0.7838 GB, free: 5.059 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006229/0.1516, allocations: 0.522 MB / 0.7843 GB, free: 4.426 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1516, allocations: 30.56 kB / 0.7843 GB, free: 4.387 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 3.356e-06/0.1516, allocations: 3.984 kB / 0.7843 GB, free: 4.383 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006751/0.1523, allocations: 253.7 kB / 0.7846 GB, free: 4.129 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.1524, allocations: 59.34 kB / 0.7846 GB, free: 4.059 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1525, allocations: 160.2 kB / 0.7848 GB, free: 3.895 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1526, allocations: 29.7 kB / 0.7848 GB, free: 3.859 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.1526, allocations: 115.8 kB / 0.7849 GB, free: 3.742 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.1527, allocations: 55.28 kB / 0.785 GB, free: 3.688 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.1527, allocations: 4 kB / 0.785 GB, free: 3.684 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1528, allocations: 322.8 kB / 0.7853 GB, free: 3.359 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.153, allocations: 75.91 kB / 0.7854 GB, free: 3.285 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.1533, allocations: 111.5 kB / 0.7855 GB, free: 3.172 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.1536, allocations: 142.7 kB / 0.7856 GB, free: 3.027 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.1536, allocations: 3.938 kB / 0.7856 GB, free: 3.023 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004913/0.1541, allocations: 231.3 kB / 0.7858 GB, free: 2.793 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1542, allocations: 4 kB / 0.7858 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1542, allocations: 0 / 0.7858 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1542, allocations: 0 / 0.7858 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.1544, allocations: 47.91 kB / 0.7859 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1544, allocations: 4.031 kB / 0.7859 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.1546, allocations: 31.72 kB / 0.7859 GB, free: 2.707 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1547, allocations: 4 kB / 0.7859 GB, free: 2.703 MB / 458.7 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 ($PRE.com.isOn,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.0001028/0.1548, allocations: 125.8 kB / 0.786 GB, free: 2.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.1548, allocations: 11.91 kB / 0.7861 GB, free: 2.559 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/0.1553, allocations: 206.9 kB / 0.7863 GB, free: 2.352 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1553, allocations: 0 / 0.7863 GB, free: 2.352 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1553, allocations: 4 kB / 0.7863 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1554, allocations: 0 / 0.7863 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.1567, allocations: 0.9895 MB / 0.7872 GB, free: 1.203 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1568, allocations: 0 / 0.7872 GB, free: 1.203 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.157, allocations: 35.91 kB / 0.7873 GB, free: 1.168 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.157, allocations: 4 kB / 0.7873 GB, free: 1.164 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.157, allocations: 0 / 0.7873 GB, free: 1.164 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.157, allocations: 4 kB / 0.7873 GB, free: 1.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.157, allocations: 0 / 0.7873 GB, free: 1.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.1575, allocations: 305.1 kB / 0.7876 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.1576, allocations: 92.95 kB / 0.7876 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.1576, allocations: 7.984 kB / 0.7877 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.1579, allocations: 19.98 kB / 0.7877 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.1579, allocations: 15.86 kB / 0.7877 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.158, allocations: 8 kB / 0.7877 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.783e-05/0.1581, allocations: 120.9 kB / 0.7878 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1581, allocations: 0 / 0.7878 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004612/0.1585, allocations: 123.9 kB / 0.7879 GB, free: 452 kB / 458.7 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.0004353/0.159, allocations: 239 kB / 0.7882 GB, free: 204 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004619/0.1594, allocations: 179.9 kB / 0.7883 GB, free: 24 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1595, allocations: 0 / 0.7883 GB, free: 24 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.1597, allocations: 87.89 kB / 0.7884 GB, free: 15.94 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1601, allocations: 45.06 kB / 0.7885 GB, free: 15.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007011/0.1608, allocations: 413.4 kB / 0.7889 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.161, allocations: 0.7089 MB / 0.7895 GB, free: 14.72 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.1612, allocations: 33.47 kB / 0.7896 GB, free: 14.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.1612, allocations: 15.44 kB / 0.7896 GB, free: 14.67 MB / 474.7 MB Notification: Performance of SimCode: time 2e-07/0.1612, allocations: 0 / 0.7896 GB, free: 14.67 MB / 474.7 MB Notification: Performance of Templates: time 0.007331/0.1686, allocations: 4.145 MB / 0.7936 GB, free: 10.54 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)