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: 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 101.5 kB / 16.35 MB, free: 5.875 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.001307/0.001307, allocations: 199.1 kB / 17.3 MB, free: 5.516 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 298.4 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9606/0.9606, allocations: 169.2 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 94.2 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1476, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003029/0.1507, allocations: 2.022 MB / 0.6836 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.1529, allocations: 1.652 MB / 0.6852 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.153, allocations: 4 kB / 0.6852 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.995e-05/0.153, allocations: 19.78 kB / 0.6852 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.213e-05/0.1532, allocations: 51.5 kB / 0.6852 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008467/0.154, allocations: 362.8 kB / 0.6856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1542, allocations: 219.2 kB / 0.6858 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1544, allocations: 53.44 kB / 0.6859 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.889e-05/0.1544, allocations: 79.78 kB / 0.6859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.1546, allocations: 91.66 kB / 0.686 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.1546, allocations: 24 kB / 0.686 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006908/0.1553, allocations: 411.5 kB / 0.6864 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.1554, allocations: 43.89 kB / 0.6865 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.25e-05/0.1555, allocations: 87.59 kB / 0.6866 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.156, allocations: 427 kB / 0.687 GB, free: 1.914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.156, allocations: 0 / 0.687 GB, free: 1.914 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.156, allocations: 0 / 0.687 GB, free: 1.914 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.156, allocations: 0 / 0.687 GB, free: 1.914 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.0007346/0.1568, allocations: 0.5109 MB / 0.6875 GB, free: 1.348 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.1568, allocations: 11.97 kB / 0.6875 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005463/0.1574, allocations: 96.64 kB / 0.6876 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1575, allocations: 176.2 kB / 0.6877 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.239e-05/0.1576, allocations: 46.25 kB / 0.6878 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.1576, allocations: 16.38 kB / 0.6878 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.158, allocations: 182.1 kB / 0.688 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.158, allocations: 7.938 kB / 0.688 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.158, allocations: 8 kB / 0.688 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.158, allocations: 4 kB / 0.688 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.1585, allocations: 183.8 kB / 0.6882 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2466/0.405, allocations: 0.8979 MB / 0.689 GB, free: 17.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.4056, allocations: 175.2 kB / 0.6892 GB, free: 17.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.4058, allocations: 78.16 kB / 0.6893 GB, free: 17.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005368/0.4063, allocations: 0.5204 MB / 0.6898 GB, free: 17.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.4063, allocations: 31.66 kB / 0.6898 GB, free: 17.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.4063, allocations: 5.906 kB / 0.6898 GB, free: 17.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006719/0.407, allocations: 235.6 kB / 0.69 GB, free: 17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.407, allocations: 53.81 kB / 0.6901 GB, free: 16.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.4072, allocations: 159.9 kB / 0.6903 GB, free: 16.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.4072, allocations: 29.73 kB / 0.6903 GB, free: 16.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.4073, allocations: 123.8 kB / 0.6904 GB, free: 16.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.4073, allocations: 44.36 kB / 0.6904 GB, free: 16.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.4074, allocations: 37.28 kB / 0.6905 GB, free: 16.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.4074, allocations: 325.4 kB / 0.6908 GB, free: 16.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.4076, allocations: 72.09 kB / 0.6909 GB, free: 16.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.4078, allocations: 100.4 kB / 0.691 GB, free: 16.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.4082, allocations: 155 kB / 0.6911 GB, free: 16.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4082, allocations: 0 / 0.6911 GB, free: 16.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004647/0.4087, allocations: 220.6 kB / 0.6913 GB, free: 16.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4087, allocations: 5.531 kB / 0.6913 GB, free: 16.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.4087, allocations: 1.156 kB / 0.6913 GB, free: 16.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4087, allocations: 2.625 kB / 0.6913 GB, free: 16.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.409, allocations: 41.44 kB / 0.6914 GB, free: 16.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.409, allocations: 1.125 kB / 0.6914 GB, free: 16.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.4092, allocations: 27.39 kB / 0.6914 GB, free: 16.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.4092, allocations: 6.953 kB / 0.6914 GB, free: 16.28 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 8.051e-05/0.4093, allocations: 129.3 kB / 0.6915 GB, free: 16.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.4094, allocations: 14.97 kB / 0.6915 GB, free: 16.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.4099, allocations: 197.6 kB / 0.6917 GB, free: 16.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4099, allocations: 2.094 kB / 0.6917 GB, free: 16.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4099, allocations: 1.781 kB / 0.6917 GB, free: 16.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4099, allocations: 2.344 kB / 0.6917 GB, free: 16.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.4111, allocations: 0.9783 MB / 0.6927 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4111, allocations: 1.672 kB / 0.6927 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.4113, allocations: 35.11 kB / 0.6927 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.4114, allocations: 3.297 kB / 0.6927 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.4114, allocations: 6.438 kB / 0.6927 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4114, allocations: 2.188 kB / 0.6927 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4114, allocations: 4.25 kB / 0.6927 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.4118, allocations: 292.5 kB / 0.693 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.4119, allocations: 93.55 kB / 0.6931 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.4119, allocations: 3.016 kB / 0.6931 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.4121, allocations: 20.06 kB / 0.6931 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.4122, allocations: 13.75 kB / 0.6931 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.4122, allocations: 13.06 kB / 0.6931 GB, free: 14.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.852e-05/0.4123, allocations: 120.6 kB / 0.6933 GB, free: 14.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4123, allocations: 0 / 0.6933 GB, free: 14.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004355/0.4127, allocations: 129.9 kB / 0.6934 GB, free: 14.77 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.000373/0.4131, allocations: 225.1 kB / 0.6936 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004556/0.4136, allocations: 179.2 kB / 0.6938 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4136, allocations: 0.75 kB / 0.6938 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.4138, allocations: 82.05 kB / 0.6938 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.4142, allocations: 40.78 kB / 0.6939 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/0.4148, allocations: 340.5 kB / 0.6942 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.415, allocations: 0.7093 MB / 0.6949 GB, free: 13.67 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.4151, allocations: 30.67 kB / 0.6949 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.4152, allocations: 19.72 kB / 0.695 GB, free: 13.65 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4152, allocations: 0 / 0.695 GB, free: 13.65 MB / 494.1 MB Notification: Performance of Templates: time 0.008218/0.4234, allocations: 4.287 MB / 0.6991 GB, free: 13.37 MB / 494.1 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)