Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009354/0.0009355, allocations: 179.2 kB / 325.9 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205 MB / 0.576 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006894/0.0006894, allocations: 85.11 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.0002873, allocations: 8.75 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1783, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001852/0.1802, allocations: 1.765 MB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.1823, allocations: 2.077 MB / 0.9 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.1824, allocations: 4 kB / 0.9 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.494e-05/0.1825, allocations: 23.78 kB / 0.9 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.237e-05/0.1826, allocations: 43.67 kB / 0.9 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008356/0.1834, allocations: 374.6 kB / 0.9004 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.1836, allocations: 207.2 kB / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1837, allocations: 37.47 kB / 0.9006 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.1838, allocations: 79.7 kB / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1839, allocations: 75.73 kB / 0.9008 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.1839, allocations: 12 kB / 0.9008 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006811/0.1846, allocations: 475.2 kB / 0.9012 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.1846, allocations: 35.83 kB / 0.9013 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.1847, allocations: 79.66 kB / 0.9013 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.1853, allocations: 0.4987 MB / 0.9018 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1853, allocations: 4 kB / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1853, allocations: 0 / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1853, allocations: 4 kB / 0.9018 GB, free: 62.32 MB / 0.6042 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.0005841/0.1859, allocations: 0.5148 MB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.186, allocations: 8.031 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.186, allocations: 54.73 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004852/0.1865, allocations: 100.6 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.444e-05/0.1866, allocations: 188.1 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.1867, allocations: 50.25 kB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1867, allocations: 16.38 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.187, allocations: 193.7 kB / 0.9029 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.187, allocations: 0 / 0.9029 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.187, allocations: 4 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1871, allocations: 4 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.1874, allocations: 191.8 kB / 0.9031 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009901/0.1884, allocations: 0.9188 MB / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.1889, allocations: 182.6 kB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.189, allocations: 88.75 kB / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004549/0.1895, allocations: 0.522 MB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.236e-05/0.1895, allocations: 30.56 kB / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1895, allocations: 0 / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005659/0.1901, allocations: 243.4 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.1901, allocations: 59.39 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.1902, allocations: 157.7 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1902, allocations: 33.7 kB / 0.9053 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.1903, allocations: 123.7 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.1903, allocations: 51.3 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.1903, allocations: 17.72 kB / 0.9055 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.045e-05/0.1904, allocations: 330.8 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.1906, allocations: 79.89 kB / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.1907, allocations: 100 kB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.191, allocations: 161.6 kB / 0.9061 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1911, allocations: 0 / 0.9061 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003954/0.1915, allocations: 227.3 kB / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1915, allocations: 4 kB / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1915, allocations: 0 / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.1915, allocations: 0 / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.1917, allocations: 43.97 kB / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1917, allocations: 3.938 kB / 0.9064 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.1919, allocations: 27.86 kB / 0.9064 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.1919, allocations: 8 kB / 0.9064 GB, free: 57.21 MB / 0.6042 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 7.146e-05/0.192, allocations: 129.8 kB / 0.9065 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.192, allocations: 11.81 kB / 0.9065 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.1925, allocations: 210.8 kB / 0.9067 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1925, allocations: 4 kB / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1925, allocations: 3.984 kB / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.1925, allocations: 0 / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.1935, allocations: 0.9895 MB / 0.9077 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1935, allocations: 0 / 0.9077 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.1937, allocations: 31.97 kB / 0.9077 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1937, allocations: 0 / 0.9077 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1938, allocations: 11.94 kB / 0.9078 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1938, allocations: 3.938 kB / 0.9078 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1938, allocations: 0 / 0.9078 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.1941, allocations: 291.9 kB / 0.908 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.1942, allocations: 96.91 kB / 0.9081 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.1942, allocations: 4 kB / 0.9081 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.1944, allocations: 19.98 kB / 0.9081 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.1945, allocations: 15.92 kB / 0.9082 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1945, allocations: 4 kB / 0.9082 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.224e-05/0.1945, allocations: 122.1 kB / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.81e-07/0.1945, allocations: 0 / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003824/0.1949, allocations: 183.7 kB / 0.9085 GB, free: 54.89 MB / 0.6042 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.0008566/0.1958, allocations: 1.007 MB / 0.9094 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.1962, allocations: 179.9 kB / 0.9096 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1962, allocations: 0 / 0.9096 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.1964, allocations: 96.02 kB / 0.9097 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1968, allocations: 39.91 kB / 0.9097 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.1987, allocations: 2.14 MB / 0.9118 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.602e-05/0.1988, allocations: 0.7164 MB / 0.9125 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.199, allocations: 33.41 kB / 0.9126 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.1991, allocations: 43.42 kB / 0.9126 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.1991, allocations: 0 / 0.9126 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/0.3217, allocations: 5.885 MB / 0.9184 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.322, allocations: 246.5 kB / 0.9186 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.203, allocations: 0 / 0.9186 GB, free: 44.56 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)